if (document.images) {
   tNav_features_0			= new Image();
   tNav_features_0.src		= "images/tNav_features_0.jpg";
   tNav_features_1			= new Image();
   tNav_features_1.src		= "images/tNav_features_1.jpg";

   tNav_demo_0			= new Image();
   tNav_demo_0.src		= "images/tNav_demo_0.jpg";
   tNav_demo_1			= new Image();
   tNav_demo_1.src		= "images/tNav_demo_1.jpg";

   tNav_buy_0			= new Image();
   tNav_buy_0.src		= "images/tNav_buy_0.jpg";
   tNav_buy_1			= new Image();
   tNav_buy_1.src		= "images/tNav_buy_1.jpg";

   tNav_tstmnl_0			= new Image();
   tNav_tstmnl_0.src		= "images/tNav_tstmnl_0.jpg";
   tNav_tstmnl_1			= new Image();
   tNav_tstmnl_1.src		= "images/tNav_tstmnl_1.jpg";

   tNav_supp_0			= new Image();
   tNav_supp_0.src		= "images/tNav_supp_0.jpg";
   tNav_supp_1			= new Image();
   tNav_supp_1.src		= "images/tNav_supp_1.jpg";

   tNav_usrgd_0			= new Image();
   tNav_usrgd_0.src		= "images/tNav_usrgd_0.jpg";
   tNav_usrgd_1			= new Image();
   tNav_usrgd_1.src		= "images/tNav_usrgd_1.jpg";

   tNav_forum_0			= new Image();
   tNav_forum_0.src		= "images/tNav_forum_0.jpg";
   tNav_forum_1			= new Image();
   tNav_forum_1.src		= "images/tNav_forum_1.jpg";

   }
   
function flipbutton() {
	if (document.images) {
		var num_arg = arguments.length;
		if (num_arg == 0 || (num_arg % 2) != 0) return;
        for (var i=0; i<num_arg; i) {
			var j = i+1;
			var imgname = arguments[i];
			var imgsrc = arguments[j];
			document.images[imgname].src = eval(imgsrc+'.src');
			i+=2;
		}
	}
}	

function popup(url, w, h, t, l, scr){
if (scr == ""){
var scr = 'no';
}
 var x= "width=" + w + ",height=" + h + ",top=" + t + ",left=" + l + ",resizable=no,scrollbars=" + scr +" ";
  window.open(url,'',x);
}

function link_new(li){
window.opener.location.href=li
window.close();
}

function topNav(section) {

document.write("<table cellpadding='0' cellspacing='0' border='0' width='1001'><tr><td height='1' colspan='18'><img src='images/line_grey_top.jpg' width='1001' height='1' alt=''></td></tr>", "\n");

document.write("<tr><td width='1' height='28'><img src='images/bg_1px_2.jpg' width='1' height='28' alt=''></td><td width='108' height='28' nowrap background='images/bg_1px_2.jpg'></td><td width='2' height='28'><img src='images/bg_divider.jpg' width='2' height='28' alt=''></td>", "\n");

if (section == 'features'){
document.write("<td width='109' height='28'><img name='img_features' src='images/tNav_features_1.jpg' border='0' alt='Features'></td>", "\n");
} else {
document.write("<td width='109' height='28'><a href='flash-cms-features.html' onmouseover=\"flipbutton('img_features', 'tNav_features_1')\" onmouseout=\"flipbutton('img_features', 'tNav_features_0')\"><img name='img_features' src='images/tNav_features_0.jpg' border='0' alt='Features'></a></td>", "\n");
}
document.write("<td width='2' height='28'><img src='images/bg_divider.jpg' width='2' height='28' alt=''></td>", "\n");

if (section == 'demo'){
document.write("<td width='109' height='28'><img name='img_demo' src='images/tNav_demo_1.jpg' border='0' alt='Demo'></td>", "\n");
} else {
document.write("<td width='109' height='28'><a href='demo.html' onmouseover=\"flipbutton('img_demo', 'tNav_demo_1')\" onmouseout=\"flipbutton('img_demo', 'tNav_demo_0')\"><img name='img_demo' src='images/tNav_demo_0.jpg' border='0' alt='Demo'></a></td>", "\n");
}
document.write("<td width='2' height='28'><img src='images/bg_divider.jpg' width='2' height='28' alt=''></td>", "\n");

if (section == 'buy'){
document.write("<td width='109' height='28'><img name='img_buy' src='images/tNav_buy_1.jpg' border='0' alt='Buy now'></td>", "\n");
} else {
document.write("<td width='109' height='28'><a href='http://store.kagi.com/cgi-bin/store.cgi?storeID=6FDNQ_LIVE&lang=en' onmouseover=\"flipbutton('img_buy', 'tNav_buy_1')\" onmouseout=\"flipbutton('img_buy', 'tNav_buy_0')\"><img name='img_buy' src='images/tNav_buy_0.jpg' border='0' alt='Buy now'></a></td>", "\n");
}
document.write("<td width='2' height='28'><img src='images/bg_divider.jpg' width='2' height='28' alt=''></td>", "\n");

if (section == 'testimonial'){
document.write("<td width='109' height='28'><img name='img_tstmnl' src='images/tNav_tstmnl_1.jpg' border='0' alt='Testimonials'></td>", "\n");
} else {
document.write("<td width='109' height='28'><a href='testimonials.php' onmouseover=\"flipbutton('img_tstmnl', 'tNav_tstmnl_1')\" onmouseout=\"flipbutton('img_tstmnl', 'tNav_tstmnl_0')\"><img name='img_tstmnl' src='images/tNav_tstmnl_0.jpg' border='0' alt='Testimonials'></a></td>", "\n");
}
document.write("<td width='2' height='28'><img src='images/bg_divider.jpg' width='2' height='28' alt=''></td>", "\n");

if (section == 'support'){
document.write("<td width='109' height='28'><img name='img_support' src='images/tNav_supp_1.jpg' border='0' alt='Support'></td>", "\n");
} else {
document.write("<td width='109' height='28'><a href='support.html' onmouseover=\"flipbutton('img_support', 'tNav_supp_1')\" onmouseout=\"flipbutton('img_support', 'tNav_supp_0')\"><img name='img_support' src='images/tNav_supp_0.jpg' border='0' alt='Support'></a></td>", "\n");
}
document.write("<td width='2' height='28'><img src='images/bg_divider.jpg' width='2' height='28' alt=''></td>", "\n");

if (section == 'userguide'){
document.write("<td width='109' height='28'><img name='img_usrgd' src='images/tNav_usrgd_1.jpg' border='0' alt='User Guide'></td>", "\n");
} else {
document.write("<td width='109' height='28'><a href='userguide.html' onmouseover=\"flipbutton('img_usrgd', 'tNav_usrgd_1')\" onmouseout=\"flipbutton('img_usrgd', 'tNav_usrgd_0')\"><img name='img_usrgd' src='images/tNav_usrgd_0.jpg' border='0' alt='User Guide'></a></td>", "\n");
}
document.write("<td width='2' height='28'><img src='images/bg_divider.jpg' width='2' height='28' alt=''></td>", "\n");

if (section == 'forum'){
document.write("<td width='109' height='28'><img name='img_forum' src='images/tNav_forum_1.jpg' border='0' alt='Forum'></td>", "\n");
} else {
document.write("<td width='109' height='28'><a href='http://www.flashcmscomponents.com' target='_blank' onmouseover=\"flipbutton('img_forum', 'tNav_forum_1')\" onmouseout=\"flipbutton('img_forum', 'tNav_forum_0')\"><img name='img_forum' src='images/tNav_forum_0.jpg' border='0' alt='Forum'></a></td>", "\n");
}
document.write("<td width='2' height='28'><img src='images/bg_divider.jpg' width='2' height='28' alt=''></td><td width='113' height='28' nowrap background='images/bg_1px_2.jpg'></td></tr>", "\n");
document.write("<tr><td width='109' colspan='2' background='images/bg_1px_3.jpg'></td><td width='0' height='8'><img src='images/small_stroke1.jpg' width='0' height='8' alt=''></td>", "\n");

if (section == 'home'){
document.write("<td width='776' height='8' colspan='13' nowrap background='images/bg_1px_4.jpg'></td>", "\n");
} else {
document.write("<td colspan='13' width='777' height='8' nowrap><img src='images/bg_1px_4.jpg' width='776' height='8' border='0'></td>", "\n");
}

document.write("<td width='2' height='8' bgcolor='#D2D2D2'><img src='images/small_stroke2.jpg' width='1' height='8' alt=''></td><td width='113' background='images/bg_1px_3.jpg'></td></tr></table>", "\n");

}

























PositionX = 100;
PositionY = 100;
defaultWidth  = 150;
defaultHeight = 100;
var AutoClose = false;
if (parseInt(navigator.appVersion.charAt(0))>=4){
	var isNN=(navigator.appName=="Netscape")?1:0;
	var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;
}
	var optNN='scrollbars=no,resizable=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
	var optIE='scrollbars=no,resizable=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
	if (isNN){imgWin=window.open('about:blank','',optNN);}
	if (isIE){imgWin=window.open('about:blank','',optIE);}
	with (imgWin.document){
		writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');
		writeln('<sc'+'ript>');
		writeln('var isNN,isIE;');
		writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
		writeln('isNN=(navigator.appName=="Netscape")?1:0;');
		writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
		writeln('function reSizeToImage(){');
		writeln('if (isIE){');
		writeln('window.resizeTo(100,100);');
		writeln('width=100-(document.body.clientWidth-document.images[0].width)+20;');
		writeln('height=100-(document.body.clientHeight-document.images[0].height);');
		writeln('window.resizeTo(width,height);}');
		writeln('if (isNN){');       
		writeln('window.innerWidth=document.images["Amity"].width;');
		writeln('window.innerHeight=document.images["Amity"].height;}}');
		writeln('function doTitle(){document.title="'+imageTitle+'";}');
		writeln('</sc'+'ript>');
		if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
		else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
		writeln('<img name="Amity" src='+imageURL+' style="display:block"></body></html>');
		close();		
	}
}