function WriteNav()
{
var NavStr;
NavStr = 
"		<table border='0' width='975' align='center' background='images/sprites.png' style='background-position: 0% 100%;'>" +
"			<tr>" +
"				<td width='20'></td>" +
"				<td width='155'><b>Users</b></td>" +
"				<td width='155'><b>Products</b></td>" +
"				<td width='155'><b>Downloads</b></td>" +
"				<td width='155'><b>Buy Now</b></td>" +
"				<td width='155'><b>Contact</b></td>" +
"			</tr>" +
"			<tr>" +
"				<td width='20'></td>" +
"				<td width='155'><a class='foot' href='personal.htm'>Personal & Home</a></td>" +
"				<td width='155'><a class='foot' href='winpim.htm'>WinPIM</a></td>" +
"				<td width='155'><a class='foot' href='download.htm'>All Products</a></td>" +
"				<td width='155'><a class='foot' href='buynow.htm'>Buy Now (Promotion)</a></td>" +
"				<td width='155'><a class='foot' href='about.htm'>Contact Us</a></td>" +
"			</tr>" +
"			<tr>" +
"				<td width='20'></td>" +
"				<td width='155'><a class='foot' href='business.htm'>Small Business</a></td>" +
"				<td width='155'><a class='foot' href='data_server.htm'>Data Server</a></td>" +
"				<td width='155'><a class='foot' href='holidays.htm'>Holidays & Schedules</a></td>" +
"				<td width='155'><a class='foot' href='affiliate.htm'>Affiliate</a></td>" +
"				<td width='155'><a class='foot' target='_blank' href='http://www.twitter.com/winpim'>Follow Us on Twitter</a></td>" +
"			</tr>" +
"			<tr>" +
"				<td width='20'></td>" +
"				<td width='155'><a class='foot' href='developer.htm'>Developer</a></td>" +
"				<td width='155'><a class='foot' href='anigif.htm'>VB AniGIF Control</td>" +
"				<td width='155'><a class='foot' href='skins.htm'>Alerts Skins</a></td>" +
"				<td width='155'> </td>" +
"				<td width='155'> </td>" +
"			</tr>" +
"			<tr>" +
"				<td width='20'></td>" +
"				<td width='155'></td>" +
"				<td width='155'></td>" +
"				<td width='155'><a class='foot' href='print.htm'>Print Format</td></a>" +
"				<td width='155'> </td>" +
"				<td width='155'></td>" +
"			</tr>" +
"			<tr>" +
"				<td width='20'></td>" +
"				<td width='155'></td>" +
"				<td width='155'></td>" +
"				<td width='155'><a class='foot' href='download_9.htm'>Old Versions</td></td>" +
"				<td width='155'></td>" +
"				<td width='155'></td>" +
"			</tr>" +
"		</table>" +
"		</td>" +
"	</tr>" +
"</table>" +
"<table border='0' width='975'>" +
"	<tr>" +
"		<td align='right'><font color='white'>Copyright 1995 - 2011 YQSoft Inc. <a class='last' href='privacy.htm'>Privacy Policy</a></font></td>" +
"	</tr>" +
"</table>";

document.write(NavStr);
}

function WriteHeader(SelIndex)
{
var HeaderStr;
HeaderStr = 
"		<table border='0' width='100%'>" +
"			<tr>" +
"				<td width='200' height='44'>" +
"				</td>" +
"				<td ";

if (SelIndex==1)
	HeaderStr += " background='images/header_select.gif' style ='background-repeat: no-repeat;'";
else
	HeaderStr += " class='headeroff' onmouseover=this.className='headeron' onmouseout=this.className='headeroff';";
	 
HeaderStr += "align='center' width='90'><b><a class='header' href='index.htm'>Home</a></b></td>" +
"				<td ";

if (SelIndex==2)
	HeaderStr += " background='images/header_select.gif' style ='background-repeat: no-repeat;'";
else
	HeaderStr += " class='headeroff' onmouseover=this.className='headeron' onmouseout=this.className='headeroff';";

HeaderStr += "align='center' width='90'><b><a class='header' href='winpim.htm'>Products</a></b></td>" +
"				<td ";

if (SelIndex==3)
	HeaderStr += " background='images/header_select.gif' style ='background-repeat: no-repeat;'"
else
	HeaderStr += " class='headeroff' onmouseover=this.className='headeron' onmouseout=this.className='headeroff';";

HeaderStr += "align='center' width='90'><b><a class='header' href='download.htm'>Downloads</a></b></td>" +
"				<td ";

if (SelIndex==4)
	HeaderStr += " background='images/header_select.gif' style ='background-repeat: no-repeat;'"
else
	HeaderStr += " class='headeroff' onmouseover=this.className='headeron' onmouseout=this.className='headeroff';";

HeaderStr +=" align='center' width='90'><b><a class='header' href='buynow.htm'>Buy Now Promotion</a></b></td>"

if (SelIndex==1)
	HeaderStr += " <td align='right'><a href='chs/index.htm'><img border='0' src='images/chs.gif' width='29' height='38'></a>&nbsp;&nbsp;<a href='cht/index.htm'><img border='0' src='images/cht.gif' width='29' height='38'></a></td>"
else
	HeaderStr += " <td></td>";

HeaderStr += "			</tr>" +
"		</table>";

document.write(HeaderStr);
}

function WriteProducts()
{
var ProductsStr;
ProductsStr=
"		<table style='width: 900px;'>" +
"			<tr>" +
"				<td align='center'><a class='foot' href='winpim.htm'>WinPIM</a> | <a class='foot' href='data_server.htm'>Data Server</a> | <a class='foot' href='ppc_sync.htm'>Sync for Windows Mobile</a> | <a class='foot' href='iphone_sync.htm'>Sync for iPhone</a> | <a class='foot' href='palm_sync.htm'>Sync for Palm</a> | " +
"				<a class='foot' href='outlook_sync.htm'>Sync for Outlook</a> | <a class='foot' href='google_sync.htm'>Sync for Google</a> | <a class='foot' href='wab_sync.htm'>Sync for WAB</a> | <a class='foot' href='folder_sync.htm'>Data Folder Sync</a></td>" +
"			</tr>" +
"		</table>";

document.write(ProductsStr);
}

