<!--
var disableCheckCookie = 0;
var Technical = true;
function printTools()
{
	printNew();
	document.writeln( '<div class="toolbar" />' );
	document.write( '<table width="100%" border="0"><tr valign="top"><td>' );
	showPrintButton();
	showeMailButton();
//	alert( disableCheckCookie );
	if ( disableCheckCookie != 1 )
	{
		disableCheckCookie = 0;
		checkCookie();
	}

	document.write( '</td><td align="right">' );
	printSearchForm();

	document.write( '</td></tr></table>' );
	document.writeln( '</div>' );
}

function printNew()
{
	document.writeln( '<fieldset class="news">' );
	document.writeln( '<legend>Quick News</legend>' );
	document.writeln( '<div align="center">.' );
	document.writeln( '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="120">' );
	document.writeln( '<param name="movie" value="/Banner.swf">' );
	document.writeln( '<param name="quality" value="high">' );
	document.writeln( '<embed src="/Banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="120"></embed></object>' );
	document.writeln( '</div></fieldset>' );
}

function showPrintButton()
{
	document.writeln( '<input name="bPrint" type="button" class="tools" value="Print" onClick="window.print();" />' );
}

function showeMailButton()
{
	document.writeln( '<input name="eEmail" type="button" class="tools" value="email" onClick="bEmail();" />' );
}

function checkCookie()
{
//	alert( getCookie("gethelp") );
	var turl, url, yn;
	turl = top.document.location;
	url = document.location;
	if ( ( url.toString().indexOf("gethelp.html") > 18 ) ||
		 ( url.toString().indexOf("getlife.html") > 18 )
	   )
	{
		document.writeln( '<input name="goBack" type="button" class="tools" value="Back to Support" onClick="history.go(-1)" />' );
		document.writeln( '<class class="tiny">' );
		if ( getCookie("gethelp") != 1 ) {}
		setCookie( "gethelp", 1 );
		if ( getCookie("gethelp") == 1 ) { document.writeln( '<input type="checkbox" name="gethelp" value="1" checked onClick="if (this.checked == true) setCookie( \'gethelp\', 1 ); else setCookie( \'gethelp\', 0 );" />Do not prompt' ); }
		else { document.writeln( '<input type="checkbox" name="gethelp" value="1" onClick="if (this.checked == true) setCookie( \'gethelp\', 1 ); else setCookie( \'gethelp\', 0 );" />Do not prompt' ); }
		document.writeln( '</class>' );
//		setCookie( "gethelp", 1 );
	}
	else if ( url.toString().indexOf("business") > 0 )
	{
	}
	else
	{
		if ( ( getCookie( "gethelp" ) != 1 ) && Technical )
		{
			if  ( url.toString().length != turl.toString().length )
			{
				yn = confirm( "Have you read 'Item 1'?" +
							  "\n\n" +
							  "Yes, I have read 'Item 1'. - Click OK\n" +
							  "No, I want to read 'Item 1' - Click Cancel" );
				if ( yn != true )
				{
					document.location = "http://vnisoft.com/english/gethelp.html";
				}
			}
		}
	}
}

function printSearchForm()
{
	document.write( '<form name="googlesearch" method="get" action="http://google.com/custom" enctype="application/x-www-form-urlencoded">' );
	document.write( '<input type="hidden" name="domains" value="vnisoft.com"></input>' );
	document.write( '<input type="text" name="q" class="textbox" size="20" maxlength="255" value=""></input>' );
	document.write( '<input type="submit" name="sa" class="tools" value="Search vnisoft.com"></input>' );
	document.write( '<input type="hidden" name="sitesearch" value="vnisoft.com" checked="checked"></input>' );
	document.write( '<input type="hidden" name="client" value="pub-1277842991476537"></input>' );
	document.write( '<input type="hidden" name="forid" value="1"></input>' );
	document.write( '<input type="hidden" name="ie" value="UTF-8"></input>' );
	document.write( '<input type="hidden" name="oe" value="UTF-8"></input>' );
	document.write( '<input type="hidden" name="safe" value="active"></input>' );
	document.write( '<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#0066CC;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFCC;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:41;LW:154;L:http://vnisoft.com/images/logo.gif;S:http://vnisoft.com;FORID:1;"></input>' );
	document.write( '<input type="hidden" name="hl" value="en"></input>' );
	document.write( '<input type="hidden" name="filter" value="0"></input>' );
	document.write( '</form>' );
	getRandomString();
}

function printReminder()
{
	if ( getCookie("gethelp") == 1 )
	{
		document.writeln( '' );
//		document.writeln( '<input type="checkbox" name="gethelp" value="1" checked onClick="if (this.checked == true) setCookie( \'gethelp\', 1 ); else setCookie( \'gethelp\', 0 );" />Do not prompt' );
	}
	else
	{
		document.writeln( '<span class="hilight">Have you read "Item 1"?</span>' );
		document.writeln( '(<input type="checkbox" name="gethelp" value="1" onClick="if (this.checked == true) setCookie( \'gethelp\', 1 ); else setCookie( \'gethelp\', 0 );" />Yes)' );
	}
	document.writeln( '</class>' );
}

function bEmail()
{
	var url = document.location;
//	alert( "http://vnisoft.com/cgi-bin/email.pl?" + url );
	document.location = "http://vnisoft.com/cgi-bin/email.pl?url=" + url;
}

function checkMain()
{
	var url = top.document.location;
	if ( url.toString().indexOf('?') > -1 )
	{
		var urlArray = url.toString().split('?');
		top.mainFrame.location = urlArray[1];
	}
}

function checkSub()
{
	var turl = top.document.location;
	var url = document.location;
	var urls = url.toString().split( "/" );
	var domain = urls[0] + "//" + urls[2] + "/";
	if  ( ( url.toString().length == turl.toString().length ) ||
		  ( turl.toString().indexOf( domain ) < 0 )
		)
	{
			top.document.location = domain + "?" + url;
	}
}

function setCookie( name, value, expires, path, domain, secure )
{
	var curCookie = name + "=" + escape( value ) +
					( ( expires ) ? "; expires=" + expires.toGMTString() : "" ) +
					( ( path ) ? "; path=" + path : "" ) +
					( ( domain ) ? "; domain=" + domain : "" ) +
					( ( secure ) ? "; secure" : "" );
	document.cookie = curCookie;
}

function getCookie(name)
{
	var dc = document.cookie;
	var prefix = name + "=";
	var begin = dc.indexOf("; " + prefix);
	if (begin == -1)
	{
		begin = dc.indexOf(prefix);
		if (begin != 0) return null;
	}
	else begin += 2;
	var end = document.cookie.indexOf(";", begin);
	if (end == -1) end = dc.length;
	return unescape( dc.substring( begin + prefix.length, end ) );
}

function deleteCookie(name, path, domain)
{
	if (getCookie(name))
	{
		document.cookie = name + "=" +
						  ((path) ? "; path=" + path : "") +
						  ((domain) ? "; domain=" + domain : "") +
						  "; expires=Thu, 01-Jan-70 00:00:01 GMT";
	}
}

function fixDate(date)
{
	var base = new Date(0);
	var skew = base.getTime();
	if (skew > 0) date.setTime(date.getTime() - skew);
}

function printFooter()
{
	var now = new Date()
	var year = 1900 + now.getYear()
	document.write( '<p class="copyright">Copyright &copy; 1998-' + year + ' <a href="/">VNI Software Company</a>. All Rights Reserved.</p>' );
}

function printMaiSearch()
{
document.write( '<form name="googlesearch" method="get" action="http://google.com/custom" enctype="application/x-www-form-urlencoded" target="mainFrame">' );
document.write( '<input type="hidden" name="domains" value="vnisoft.com;go2vni.com;vnimall.com"></input>' );
document.write( '<input type="hidden" name="sitesearch" value="vnisoft.com" checked="checked"></input>' );
document.write( '<input type="hidden" name="client" value="pub-1277842991476537"></input>' );
document.write( '<input type="hidden" name="forid" value="1"></input>' );
document.write( '<input type="hidden" name="ie" value="UTF-8"></input>' );
document.write( '<input type="hidden" name="oe" value="UTF-8"></input>' );
document.write( '<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#0066CC;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFCC;ALC:0000FF; LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:41;LW:154;L:http://vnisoft.com/images/logo.gif;S:http://vnisoft.com;FORID:1;"></input>' );
document.write( '<input type="hidden" name="hl" value="en"></input>' );
document.write( '<input type="hidden" name="filter" value="0"></input>' );
document.write( '<table cellspacing="0" cellpadding="0" align="center"><tr><td align="center" valign="bottom">' );
document.write( '<input type="text" name="q" class="textbox" size="12" value="" onFocus="this.select();"></input>' );
document.write( '</td></tr><tr><td align="center" valign="top">' );
document.write( '<input name="image" type="image" src="images/searchnew.gif" width="85" height="22" border="0" method="submit">' );
document.write( '</td></tr></table>' );
document.write( '</form>' );
getRandomString();
}

function getRandomString()
{
	var texts = new Array( "order software",
		"16 bit subsystem",
		"authorized dealers",
		"buy software",
		"Business Licenses",
		"can't run vni softwares",
		"computer hang when install run",
		"font pack",
		"keydisk has no more tokens",
		"mailing list",
		"no vni menu in ms word",
		"no vni menu in ms word acrobat",
		"search here",
		"upgrade vni software",
		"vni software firewall",
		"vni software intel graphic card",
		"vni tan viet unicode",
		"vni xp",
		"vnicorrect",
		"windows hang after reboot",
		"vni for vista",
		"new products"
        );
	var randNum = Math.floor( Math.random() * texts.length );
	document.googlesearch.q.value = texts[randNum];
}

function doNotClickMe()
{
	alert( "This is an image, not your screen, please DO NOT CLICK ME.\n\n" +
			"Click your screen.\n\n"
		 );
}

//-->
