// JavaScript Document

function fnTop()
{
var str="";
str+="<table cellpadding=0 cellspacing=0 border=0 width=100%>";
str+="<tr bgcolor='#F5F5F5'><td><img src='images/spacer.gif' height=30></td></tr>";
str+="<tr>";
str+="<td background='images/topbg.gif' height=74>";
str+="<table cellpadding=0 cellspacing=0 border=0 width=100%>";
str+="<tr>";
str+="<td style=padding-left:10px; width=75><a href='index.asp'><img src='images/logo.gif' width=197 height=58 border=0></a></td>";
str+="<td><img src='images/name.gif' width=350  height=40></td>";
str+="<td align=right><img src='images/logo_certificates.jpg' width=216 height=48 border=0 usemap=#certi></td>";
str+="</tr>";
str+="</table>";
str+="</td>";
str+="</tr>";
str+="<tr bgcolor='#F5F5F5'><td><img src='images/spacer.gif' height='30'></td></tr>";
str+="<tr bgcolor=#FFCC00><td>";
str+="<table width='100%' cellpadding='0' cellspacing='0' border='0'>";
str+="<tr>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='index.asp' onMouseOver='hideall();' class='links'><b>Home</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='aboutus.html' onMouseOver='hideall();' class='links'><b>About Us</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='products.html' onMouseOver='hideall();' class='links'><b>Products</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='machinery_uc.html' onMouseOver='hideall();' class='links'><b>Machinery</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='quality_objective.html' onMouseOver='menu(0);' class='links'><b>Quality</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a nohref style='cursor:hand;' onMouseOver='menu(1);' class='links'><b>Certification</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='award_exphouse.html' onMouseOver='menu(2);' class='links'><b>Awards</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='aboutcbe.html' onMouseOver='menu(3);' class='links'><b>Information</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='contact.html' onMouseOver='hideall();' class='links'><b>Contact Us</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='foundry.html' onMouseOver='hideall();' class='links'><b>Foundry</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td><img src='images/spacer.gif' width='100%' height='100%' border='0' alt=''></td>"
str+="</tr>"
str+="</table>";
str+="</td></tr>";
str+="</table>";
//str+="<map name='map'>"; 
//str+="<area shape='rect' coords='0,0,95,23' href='index.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='97,0,192,23' href='aboutus.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='194,0,289,23' href='products.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='291,0,387,23'  href='machinery.asp' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='389,0,484,23'  onMouseOver='menu(0);'>";
//str+="<area shape='rect' coords='486,0,580,23' nohref onMouseOver='menu(1);'>";
//str+="<area shape='rect' coords='582,0,677,23' href='contact.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='679,0,775,23' href='foundry.html' onMouseOver='hideall();'>";
//str+="</map>";
str+="<map name='certi'>"; 
str+="<area shape='rect' coords='0,0,60,48' href=javascript:fnOpenWindowcert('certits') onMouseOver='hideall();'>";
str+="<area shape='rect' coords='70,0,137,48' href=javascript:fnOpenWindowcert('certiiso') onMouseOver='hideall();'>";
str+="<area shape='rect' coords='147,0,208,48' href=javascript:fnOpenWindowcert('certits') onMouseOver='hideall();'>";
str+="</map>";
document.write(str);
}

function fnTophome()
{
var str="";
str+="<table cellpadding=0 cellspacing=0 border=0 width=100%>";
str+="<tr bgcolor='#F5F5F5'><td><img src='images/spacer.gif' height=30></td></tr>";
str+="<tr>";
str+="<td background='images/topbg.gif' height=74>";
str+="<table cellpadding=0 cellspacing=0 border=0 width=100%>";
str+="<tr>";
str+="<td style=padding-left:10px; width=75><a href='index.asp'><img src='images/logo.gif' width=197 height=58 border=0></a></td>";
str+="<td><img src='images/name.gif' width=350  height=40></td>";
str+="<td align=right><img src='images/logo_certificates.jpg' width=216 height=48 border=0 usemap=#certi></td>";
str+="</tr>";
str+="</table>";
str+="</td>";
str+="</tr>";
str+="<tr bgcolor='#F5F5F5'><td align='right' height=30><div style='float:right; padding:0px 5px 0px 0px;'><a href='#'></a></div><div style='float:right; padding:0px 5px 0px 0px;'><a href='pdf/list_of_holidays_2010.doc'><img src='images/holidays_list.jpg' border=0></a></div></td></tr>";
str+="<tr bgcolor=#FFCC00><td align=left>";
str+="<table width='100%' cellpadding='0' cellspacing='0' border='0'>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='aboutus.html' onMouseOver='hideall();' class='links'><b>About Us</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='products.html' onMouseOver='hideall();' class='links'><b>Products</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='machinery_uc.html' onMouseOver='hideall();' class='links'><b>Machinery</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='quality_objective.html' onMouseOver='menu(0);' class='links'><b>Quality</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a nohref style='cursor:hand;' onMouseOver='menu(1);' class='links'><b>Certification</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='award_exphouse.html' onMouseOver='menu(2);' class='links'><b>Awards</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='aboutcbe.html' onMouseOver='menu(3);' class='links'><b>Information</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='contact.html' onMouseOver='hideall();' class='links'><b>Contact Us</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='foundry.html' onMouseOver='hideall();' class='links'><b>Foundry</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td><img src='images/spacer.gif' width='100%' height='100%' border='0' alt=''></td>"
str+="</tr>"
str+="</table>";
str+="</td></tr>";
str+="</table>";
//str+="<map name='map'>"; 
//str+="<area shape='rect' coords='0,0,95,23' href='aboutus.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='97,0,192,23' href='products.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='194,0,289,23' href='machinery.asp' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='291,0,387,23'  onMouseOver='menu(0);'>";
//str+="<area shape='rect' coords='389,0,484,23'  onMouseOver='menu(1);'>";
//str+="<area shape='rect' coords='486,0,580,23' href='contact.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='582,0,677,23' href='foundry.html' onMouseOver='hideall();'>";
//str+="</map>";
str+="<map name='certi'>"; 
str+="<area shape='rect' coords='0,0,60,48' href=javascript:fnOpenWindowcert('certits') onMouseOver='hideall();'>";
str+="<area shape='rect' coords='70,0,137,48' href=javascript:fnOpenWindowcert('certiiso') onMouseOver='hideall();'>";
str+="<area shape='rect' coords='147,0,208,48' href=javascript:fnOpenWindowcert('certits') onMouseOver='hideall();'>";
str+="</map>";
document.write(str);
}

function fnTophome1()
{
var str="";
str+="<table cellpadding=0 cellspacing=0 border=0 width=100%>";
str+="<tr bgcolor='#F5F5F5'><td><img src='images/spacer.gif' height=30></td></tr>";
str+="<tr>";
str+="<td background='images/topbg.gif' height=74>";
str+="<table cellpadding=0 cellspacing=0 border=0 width=100%>";
str+="<tr>";
str+="<td style=padding-left:10px; width=75><a href='index.asp'><img src='images/logo.gif' width=69 height=74 border=0></a></td>";
str+="<td><img src='images/name.gif' width=350  height=32></td>";
str+="<td align=right><img src='images/logo_certificates.jpg' width=216 height=48 border=0 usemap=#certi></td>";
str+="</tr>";
str+="</table>";
str+="</td>";
str+="</tr>";
str+="<tr bgcolor='#F5F5F5'><td align='right' height=30><img src='images/spacer.gif' border=0></td></tr>";
str+="<tr bgcolor=#FFCC00><td align=left>";
str+="<table width='100%' cellpadding='0' cellspacing='0' border='0'>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='aboutus.html' onMouseOver='hideall();' class='links'><b>About Us</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='products.html' onMouseOver='hideall();' class='links'><b>Products</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='machinery_uc.html' onMouseOver='hideall();' class='links'><b>Machinery</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='quality_objective.html' onMouseOver='menu(0);' class='links'><b>Quality</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a nohref style='cursor:hand;' onMouseOver='menu(1);' class='links'><b>Certification</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='award_exphouse.html' onMouseOver='menu(2);' class='links'><b>Awards</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='aboutcbe.html' onMouseOver='menu(3);' class='links'><b>Information</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='contact.html' onMouseOver='hideall();' class='links'><b>Contact Us</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td background='images/menu_bg.gif' width='96' height='23' align='center'><a href='foundry.html' onMouseOver='hideall();' class='links'><b>Foundry</b></a></td>";
str+="<td width='1' bgcolor='#ffffff'><img src='images/spcaer.gif' width='1' height='100%' border='0' alt=''></td>";
str+="<td><img src='images/spacer.gif' width='100%' height='100%' border='0' alt=''></td>"
str+="</tr>"
str+="</table>";
str+="</td></tr>";
str+="</table>";
//str+="<map name='map'>"; 
//str+="<area shape='rect' coords='0,0,95,23' href='aboutus.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='97,0,192,23' href='products.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='194,0,289,23' href='machinery.asp' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='291,0,387,23'  onMouseOver='menu(0);'>";
//str+="<area shape='rect' coords='389,0,484,23'  onMouseOver='menu(1);'>";
//str+="<area shape='rect' coords='486,0,580,23' href='contact.html' onMouseOver='hideall();'>";
//str+="<area shape='rect' coords='582,0,677,23' href='foundry.html' onMouseOver='hideall();'>";
//str+="</map>";
str+="<map name='certi'>"; 
str+="<area shape='rect' coords='0,0,60,48' href=javascript:fnOpenWindowcert('certits') onMouseOver='hideall();'>";
str+="<area shape='rect' coords='70,0,137,48' href=javascript:fnOpenWindowcert('certiiso') onMouseOver='hideall();'>";
str+="<area shape='rect' coords='147,0,208,48' href=javascript:fnOpenWindowcert('certits') onMouseOver='hideall();'>";
str+="</map>";
document.write(str);
}

function fnBottom()
{
var str="";
str+="<table cellpadding=0 cellspacing=0 border=0 width=100%>";
str+="<tr bgcolor='#2D79C0'><td height=3><img src='images/spacer.gif' height=3></td></tr>";
str+="<tR><td><img src='images/spacer.gif' height=1></td></tr>";
str+="<tr bgcolor='#33689A'><td height=10><img src='images/spacer.gif' height=10></td></tr>";
str+="<tR><td><img src='images/spacer.gif' height=1></td></tr>";
str+="<tr bgcolor='#2D79C0'><td height=3><img src='images/spacer.gif' height=3></td></tr>";
//str+="<tr><td class='tdgray' align=center style='padding-top:10px;'><a href='aboutus.html' class='gray'>About Us</a> &nbsp;:&nbsp; <a href='products.html' class='gray'>Products</a> &nbsp;:&nbsp; <a href='machinery.asp' class='gray'>Machinery</a> &nbsp;:&nbsp; <a href='quality_objective.html' class='gray'>Quality</a> &nbsp;:&nbsp; <a href='certification_iso.html' class='gray'>Certification</a> &nbsp;:&nbsp; <a href='contact.html' class='gray'>Contact Us</a>&nbsp; :&nbsp; <a href='foundry.html' class='gray'>Foundry</a></td></tr> ";
str+="<tR><td align='center' style='padding-top:10px;,padding-bottom:10px;' class='tdgray'>© 2005, Craftsman Automation (P) Ltd. All rights reserved</td></tr>";
str+="";
str+="</table>";
document.write(str);
}

function fnOpenWindowcert(img)
	{
	window.open('certificate.asp?image=' + img ,'','width=745px, height=561px, top=70, left=120, resizable=no, toolbar=no, menubar=no,location=no, scrollbars=yes');
	}
function fnOpenWindowaward(img)
	{
	window.open('award.asp?image=' + img ,'','width=745px, height=561px, top=70, left=120, resizable=no, toolbar=no, menubar=no,location=no, scrollbars=yes');
	}
