
var normalMenuImages = new Array();
var overMenuImages = new Array();
var menuUrls = new Array();

normalMenuImages[0] = "/images/why-comsight-2.png";
overMenuImages[0] = "/images/why-comsight-1.png";
menuUrls[0] = "/WhyComsight.html";

normalMenuImages[1] = "/images/products-2.png";
overMenuImages[1] = "/images/products-1.png";
menuUrls[1] = "/Products.html";

normalMenuImages[2] = "/images/success-stories-2.png";
overMenuImages[2] = "/images/success-stories-1.png";
menuUrls[2] = "/SuccessStories.html";

normalMenuImages[3] = "/images/projects-2.png";
overMenuImages[3] = "/images/projects-1.png";
menuUrls[3] = "/Projects.html";

normalMenuImages[4] = "/images/gallery-2.png";
overMenuImages[4] = "/images/gallery-1.png";
menuUrls[4] = "/gallery/ColoT_In.html?T=D";

normalMenuImages[5] = "/images/support-2.png";
overMenuImages[5] = "/images/support-1.png";
menuUrls[5] = "/supports/Conceptions_about_LED_Display.html";

normalMenuImages[6] = "/images/contact-us-2.png";
overMenuImages[6] = "/images/contact-us-1.png";
menuUrls[6] = "/Contactus.html";

normalMenuImages[7] = "/images/Certificate_2.png";
overMenuImages[7] = "/images/Certificate_1.png";
menuUrls[7] = "/Certificate.html";

function mouseOver(imageid, index)
{
	if(document.images) {
		var element = document.getElementById(imageid);
		element.src=overMenuImages[index]; 	
		element.style.cursor= 'hand';
	}
}
function mouseOut(imageid, index)
{
	if(document.images) {
		var element = document.getElementById(imageid);
		element.src=normalMenuImages[index]; 	
		element.style.cursor= 'normal';	
	}
}

function menuClick(index)
{
	parent.parent.parent.window.location.href=menuUrls[index];
}

function itemClick(url)
{
	parent.parent.parent.window.location.href=url;
}

document.writeln("<div style='padding:4px;' id='ico'></div>");
document.writeln("<table style='height:106px;width:1000px;' border='0' cellpadding='0' cellspacing='0'>");
document.writeln("<tr>");
document.writeln("<td width='868' rowspan='2' align='left'>");
document.writeln("<div style='height: 72px;'>");
document.writeln("<table style='width:100%;'  border='0' cellpadding='0' cellspacing='0'>");
document.writeln("<tr>");

document.writeln("<td width='634'><div style='padding-left:25px;'><a href=\"javascript:itemClick('/index.htm')\"><img src='/images/logo.gif' width='417' height='51' border='0' alt='comsight.cn'></a></div></td>");
/*
document.writeln("<td width='634'><div style='padding-left:25px;'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='500' height='70' title='Logo'>");
document.writeln("<param name='movie' value='swf/logo.swf' />");
document.writeln("<param name='quality' value='high' />");
document.writeln("<embed src='swf/logo.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='500' height='70'></embed>");
document.writeln("</object></div></td>");
*/
document.writeln("<td align='center' width='234'>");
document.writeln("<ol>");
document.writeln("<li style='float:left;  padding-top:4px; padding-left: 2px; padding-bottom:0px; padding-right: 4px;'><a href='http://www.youtube.com/user/Comsight' target='_blank'><img src='/images/youtube.png' width='32' height='32' border='0' /></a></li>");
document.writeln("<li style='float:left;  padding-top:4px; padding-left: 5px; padding-bottom:0px; padding-right: 4px;'><a href='http://ditu.google.com/maps/place?hl=zh&georestrict=input_srcid:3b45daae6befedea&ie=UTF8&z=14&brcurrent=5,0,1' target='_blank'><img src='/images/google.png' width='40' height='32' border='0' /></a></li>");
document.writeln("<li style='float:left;  padding-top:4px; padding-left: 5px; padding-bottom:0px; padding-right: 4px;'><a href='mailto:sales@comsight.cn'><img src='/images/email.png' width='32' height='32' border='0' /></a></li>");
document.writeln("<li style='float:left;  padding-top:4px; padding-left: 5px; padding-bottom:0px; padding-right: 4px;'><a href='Contactus.html'><img src='/images/inquiry.png' width='48' height='32' border='0' /></a></li>");
document.writeln("</ol>");
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("</div>");
document.writeln("<div style='background:url(/images/HOME_12.png);height: 34px; ' ><img src='/images/HOME_10.png' width='21' height='34'><img id='whycomsight' alt='why comsight' src='/images/why-comsight-2.png' onMouseover='mouseOver(this.id, 0)' onMouseout='mouseOut(this.id, 0)' onclick='menuClick(0)' language='JScript'><img id='products' alt='products' src='/images/products-2.png' onMouseover='mouseOver(this.id, 1)' onMouseout='mouseOut(this.id, 1)' onclick='menuClick(1)' language='JScript'><img id='projects' alt='projects' src='/images/projects-2.png' onMouseover='mouseOver(this.id, 3)' onMouseout='mouseOut(this.id, 3)' onclick='menuClick(3)' language='JScript'><img id='stories' alt='success stories' src='/images/success-stories-2.png' onMouseover='mouseOver(this.id, 2)' onMouseout='mouseOut(this.id, 2)' language='JScript' onclick='menuClick(2)'><img id='gallery' alt ='gallery' src='/images/gallery-2.png' onMouseover='mouseOver(this.id, 4)' onMouseout='mouseOut(this.id, 4)' onclick='menuClick(4)' language='JScript'><img id='certificate' alt ='Certificate' src='/images/Certificate_2.png'  onMouseover='mouseOver(this.id, 7)' onMouseout='mouseOut(this.id, 7)' onclick='menuClick(7)' language='JScript'><img id='support' alt='support' src='/images/support-2.png' onMouseover='mouseOver(this.id, 5)' onMouseout='mouseOut(this.id, 5)' onclick='menuClick(5)' language='JScript'><img id='contactus' alt='contact us' src='/images/contact-us-2.png'  onMouseover='mouseOver(this.id, 6)' onMouseout='mouseOut(this.id, 6)' onclick='menuClick(6)' language='JScript'></div>");
document.writeln("</td>");
document.writeln("<td width='13'></td>");
document.writeln("<td width='112' rowspan='2' style='width: 113px; '>");
document.writeln("<div align='center'><a href=\"javascript:itemClick('/index.htm')\"><img src='/images/logo2.png' border='0' alt='comsight.cn'></a></div>");
document.writeln("</td>");
document.writeln("<td width='7' rowspan='2'style='width:5px;'></td>");
document.writeln("</tr>");
document.writeln("<tr>");
document.writeln("<td style='width: 13px; background:url(/images/HOME_03.png);' ><img src='/images/HOME_03.png' width='13' height='106'></td>");
document.writeln("</tr>");
document.writeln("</table>");



