var img=new Array();
if(document.images)
{
	var defaultimg = new Image();
	if (page=0)
	defaultimg.src = linkPath + "innerimg/innermenu.gif";
	if (page=1)		defaultimg.src = linkPath + "innerimg/about_01.gif";
	var index = new Image();index.src = linkPath + "innerimg/index_01.gif";
	var about = new Image();about.src = linkPath + "innerimg/about_01.gif";
	var earn = new Image();earn.src = linkPath + "innerimg/earn_01.gif";
	var sell = new Image();sell.src = linkPath + "innerimg/sell_01.gif";
	var faq = new Image();faq.src = linkPath + "innerimg/faq_01.gif";
	var search1 = new Image();search1.src = linkPath + "innerimg/search_01.gif";
	var contact = new Image();contact.src = linkPath + "innerimg/contact_01.gif";
}

function over(x)
	{
		eval("document.tees").src = eval(x).src;
	}
function hide()
	{
		eval("document.tees").src= defaultimg.src;
	}

function fnOver(lnkTD)
	{
	eval(lnkTD).style.backgroundColor = "#AFB5CC";
	eval(lnkTD).style.cursor = "hand";
	}
function fnOut(lnkTD)
	{
	eval(lnkTD).style.backgroundColor = "#DFDFDF";
	}
 


function fnLeftLnks()
{
var str="";
str+="	<table cellpadding='1' cellspacing='0' border='0' bgcolor='#ACACAC' WIDTH=182 HEIGHT=403>";
str+="	<tr><td>";
str+="		<table cellpadding='0' cellspacing='0' border='0' bgcolor='#DFDFDF' WIDTH=180 HEIGHT=403>";
str+="		<TR><TD><IMG SRC='" + linkPath + "home/products_title.jpg' WIDTH=180 HEIGHT=38></TD></TR>";
str+="		<TR><TD WIDTH=180 HEIGHT=185>";
str+="				<table cellpadding='0' cellspacing='0' border='0' width='180' height='188'>";
str+="				<tr><td id='p0' onmouseover='fnOver(" + 'p0' + ");'  onmouseout='fnOut(" + 'p0' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Round Neck</td></tr>";
str+="				<tr><td id='p1' onmouseover='fnOver(" + 'p1' + ");'  onmouseout='fnOut(" + 'p1' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Sportswear - Polo</td></tr>";
str+="				<tr><td id='p2' onmouseover='fnOver(" + 'p2' + ");'  onmouseout='fnOut(" + 'p2' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Innerwear</td></tr>";
str+="				<tr><td id='p3' onmouseover='fnOver(" + 'p3' + ");'  onmouseout='fnOut(" + 'p3' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Underwear</td></tr>";
str+="				<tr><td id='p4' onmouseover='fnOver(" + 'p4' + ");'  onmouseout='fnOut(" + 'p4' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Printed</td></tr>";
str+="				<tr><td id='p5' onmouseover='fnOver(" + 'p5' + ");'  onmouseout='fnOut(" + 'p5' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Boxer Shorts</td></tr>";
str+="				<tr><td id='p6' onmouseover='fnOver(" + 'p6' + ");'  onmouseout='fnOut(" + 'p6' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Sleepwear - Pajama</td></tr>";
str+="				<tr><td id='p7' onmouseover='fnOver(" + 'p7' + ");'  onmouseout='fnOut(" + 'p7' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Slip - Chemise</td></tr>";
str+="				<tr><td id='p8' onmouseover='fnOver(" + 'p8' + ");'  onmouseout='fnOut(" + 'p8' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Brazier</td></tr>";
str+="				<tr><td id='p9' onmouseover='fnOver(" + 'p9' + ");'  onmouseout='fnOut(" + 'p9' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Panty</td></tr>";
str+="				</table>";
str+="		</TD></TR>";
str+="		<TR><TD><IMG SRC='home/info_title.jpg' WIDTH=180 HEIGHT=38></TD></TR>";

str+="		<TR><TD WIDTH=180 HEIGHT=130>";
str+="				<table cellpadding='0' cellspacing='0' border='0' width='180' height='130'>";
str+="				<tr><td id='i0' onmouseover='fnOver(" + 'i0' + ");'  onmouseout='fnOut(" + 'i0' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>How to buy?</td></tr>";
str+="				<tr><td id='i1' onmouseover='fnOver(" + 'i1' + ");'  onmouseout='fnOut(" + 'i1' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Measurement Chart</td></tr>";
str+="				<tr><td id='i2' onmouseover='fnOver(" + 'i2' + ");'  onmouseout='fnOut(" + 'i2' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Colors and Styles</td></tr>";
str+="				<tr><td id='i3' onmouseover='fnOver(" + 'i3' + ");'  onmouseout='fnOut(" + 'i3' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Fabric care</td></tr>";
str+="				<tr><td id='i4' onmouseover='fnOver(" + 'i4' + ");'  onmouseout='fnOut(" + 'i4' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Shipping Details</td></tr>";
str+="				<tr><td id='i5' onmouseover='fnOver(" + 'i5' + ");'  onmouseout='fnOut(" + 'i5' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Quality Policy</td></tr>";
str+="				<tr><td id='i6' onmouseover='fnOver(" + 'i6' + ");'  onmouseout='fnOut(" + 'i6' + ");'><img src='" + linkPath + "home/arrow.gif' border='0'>Disclaimer</td></tr>";
str+="				</table>";
str+="		</TD></TR>";
str+="		</table>";
str+="	</td></tr>";

str+="	</table>";
document.write(str);
}
 		function fnSearch(pid)
			{
		 		if(document.thisForm2.txtKeyword.value=="")
				{
				alert("Please enter Search Keyword");
				document.thisForm2.txtKeyword.focus();
				return;
				}
			 	if(thisForm2.selSearchType.selectedIndex==0)
				{
					alert("Select Category");
					thisForm2.selSearchType.focus(); 
					return;
				}  
		 		 document.thisForm2.action = "searchresult.asp?id=" +document.thisForm2.txtKeyword.value +"&Cid="+  document.thisForm2.selSearchType.value;
			    document.thisForm2.submit();
		 	}
function fnTop()
{
var str="";
  str+="	<table cellpadding='0' cellspacing='0' border='0' height='72' width='780'>";
str+=" <form name='thisForm2' method='post'>";
str+="	<tr>";
str+="		<td height='25' colspan='3'><img src='" + linkPath + "home/spacer.gif' border='0' height='25' width='1'></td>";
str+="		<td width='126' rowspan='2'><img src='" + linkPath + "home/login.gif' border='0' USEMAP='#login_Map'></td>";
str+="	</tr>";
str+="	<tr>";
str+="		<td width='25'><img src='" + linkPath + "home/spacer.gif' border='0' width='25' height='1'></td>";
str+="		<td width='240' valign='bottom'><img src='" + linkPath + "home/logo.gif' border='0' width='240' height='47'></td>";
str+="		<td width='390' height='47'>";
str+="			<table cellpadding='0' cellspacing='0' border='0' height='47'>";
str+="			<tr><td colspan='3' height='7'><img src='" + linkPath + "home/spacer.gif' border='0' width='1' height='7'></td></tr>";
str+="			<tr>";
str+="				<td rowspan='2'><img src='" + linkPath + "home/search_left.gif' border='0'></td>";
str+="				<td bgcolor='#F1F1F1'><img src='" + linkPath + "home/search_top.gif' border='0' width='360' height='4'></td>";
str+="				<td rowspan='2'><img src='" + linkPath + "home/search_right.gif' border='0'></td>";
str+="			</tr>";
str+="			<tr><td bgcolor='#F1F1F1' height='100%'> &nbsp; <font class='tdash'>SEARCH</font> &nbsp; <input type='text' class='txtbox' name='txtKeyword'    style='width:100px;'> &nbsp; <select class='txtbox'  name ='selSearchType' style='width:150px;'><option value='0'>Select</option><option value='1'>Category</option><option value='2'>Products</option>&nbsp;<option value='3'>Colors</option></select><img src='" + linkPath + "home/go.gif' border='0' style='cursor:hand;' onClick='fnSearch()'> &nbsp; </td></tr>";
str+="			</table>";
str+="		</td>";
str+="	</tr>";
str+=" </form>";
str+="	</table>";
  str+="<MAP NAME='login_Map'>";
str+="<AREA SHAPE='rect' ALT='' COORDS='4,19,80,33' HREF='./login_option.asp'>";
str+="<AREA SHAPE='rect' ALT='' COORDS='4,37,80,51' HREF='./Cart.asp'>";
str+="<AREA SHAPE='rect' ALT='' COORDS='4,55,80,68' HREF='./register_option.asp'>";
str+="</MAP>";
document.write(str);
}
function fnBottom()
{
var str="";
str+="	<TABLE WIDTH=780 BORDER=0 CELLPADDING=0 CELLSPACING=0>";
str+="	<TR><TD COLSPAN=3><IMG SRC='" + linkPath + "home/links_top.gif' WIDTH=780 HEIGHT=7></TD></TR>";
str+="	<TR>";
str+="		<TD ROWSPAN=2><IMG SRC='" + linkPath + "home/links_left.gif' WIDTH=37 HEIGHT=112></TD>";
str+="		<TD WIDTH=707 HEIGHT=100 bgcolor='EBEEF5'>";
str+="			<table cellpadding='0' cellspacing='0' border='0'>";
str+="			<tr>";
str+="				<td width='185'><img src='" + linkPath + "home/banner.gif' border='0'></td>";
str+="				<td width='138'><a href='#' class='lnks'>Advertise with us</a>";
str+="						<br><a href='#' class='lnks'>Contact</a>";
str+="						<br><a href='#' class='lnks'>FAQs</a>";
str+="						<br><a href='#' class='lnks'>About Tees4you.com</a>";
str+="				</td>";
str+="				<td width='24'><img src='" + linkPath + "home/ashline.gif' border='0'></td>";
str+="				<td width='119'><a href='#' class='lnks'>Privacy Policy</a>";
str+="						<br><a href='#' class='lnks'>Quality Policy</a>";
str+="						<br><a href='#' class='lnks'>Terms & conditions</a>";
str+="						<br><a href='#' class='lnks'>Disclaimer</a>";
str+="				</td>";
str+="				<td width='24'><img src='" + linkPath + "home/ashline.gif' border='0'></td>";
str+="				<td class='tdash'>© 2004 tees4you.com. All rights reserved.</td>";
str+="			</tr>";
str+="			</table>";
str+="		</TD>";
str+="		<TD ROWSPAN=2><IMG SRC='" + linkPath + "home/links_right.gif' WIDTH=36 HEIGHT=112></TD>";
str+="	</TR>";
str+="	<TR><TD><IMG SRC='" + linkPath + "home/links_bottom.gif' WIDTH=707 HEIGHT=12></TD></TR>";
str+="	</TABLE>";
document.write(str);
}

var strMenuMap="";
strMenuMap+="<map name='menu_Map'>";
strMenuMap+="	<area shape=rect coords='24,0,96,26' href='"+linkPath+"index.asp' onmouseover=over('index'); onmouseout=hide();>";
strMenuMap+="	<area shape=rect coords='97,0,260,26' href='#' onmouseover=over('about'); onmouseout=hide();>";
strMenuMap+="	<area shape=rect coords='261,0,373,26' href='"+linkPath+"sell_with_us.asp' onmouseover=over('sell'); onmouseout=hide();>";
strMenuMap+="	<area shape=rect coords='374,0,490,26' href= '"+linkPath+"earn_with_us.asp' onmouseover=over('earn'); onmouseout=hide();>";
strMenuMap+="	<area shape=rect coords='491,0,559,26' href='#' onmouseover=over('faq'); onmouseout=hide();>";
strMenuMap+="	<area shape=rect coords='560,0,643,26' href='"+linkPath+"search.asp' onmouseover=over('search1'); onmouseout=hide();>";
strMenuMap+="	<area shape=rect coords='644,0,756,26' href='#' onmouseover=over('contact'); onmouseout=hide();>";
strMenuMap+="</map>";
document.write(strMenuMap);

