

var timer=new Array()
function ShowDiv(TheLayer,TheHref)
{

if(document.getElementById(TheLayer)==null)
		return

	if(document.getElementById(TheLayer).offsetHeight<10)
		return

	if(document.getElementById(TheLayer).style.visibility=="visible")
		return false

	TheWidth=TheHref.offsetWidth
	if(TheHref.offsetParent)
	{
    	for( var posX = -1, posY = -10; TheHref.offsetParent; TheHref = TheHref.offsetParent )
		{
			posX += TheHref.offsetLeft;
			posY += TheHref.offsetTop;
	    }
	}

	
	if(TheLayer.indexOf("_")==-1)
		document.getElementById(TheLayer).style.left=posX+1+"px"
	else
		document.getElementById(TheLayer).style.left=posX+1+TheWidth+"px"
		
	TheAdj=22
	TheAdjtop=28
		
	if(navigator.appVersion.indexOf("MSIE")!=-1)
	{
		TheAdj=26
		TheAdjtop=33
	}
	
	
	if(TheLayer.indexOf("_")==-1)
		document.getElementById(TheLayer).style.top=posY+TheAdj+"px"
	else
		document.getElementById(TheLayer).style.top=posY+TheAdjtop+"px"
		
	document.getElementById(TheLayer).style.top=posY+TheAdjtop+"px"
	
	document.getElementById(TheLayer).style.visibility="visible"

	MainLayer=TheLayer.replace(/_\d+$/,"")
	HideExcept(MainLayer,TheLayer)
	StopTimer(TheLayer)
}
function HideDiv(TheLayer,TheI)
{
	MainLayer=TheLayer.replace(/_(\d+)/g,"")
	for(i=0;i<TheDivs.length;i++)
	{
		if(TheDivs[i].id.indexOf(MainLayer)!=-1)
		{
			TheDivs[i].style.visibility="hidden"		
			TheDivs[i].style.left="0px"
			TheDivs[i].style.top="0px"
			clearInterval(timer[TheDivs[i].id])
		}
	}
}
function StartTimer(TheLayer)
{
	timer[TheLayer]=setInterval("HideDiv('"+TheLayer+"')",50)
	if(TheLayer.indexOf("_")!=-1)
	{
		StartTimer(TheLayer.replace(/_\d+$/,""))
	}
}
function StopTimer(TheLayer)
{
	MainLayer=TheLayer.replace(/_(\d+)/g,"")
	for(i=0;i<TheDivs.length;i++)
	{
		if(TheDivs[i].id.indexOf(MainLayer)!=-1)
		{
			clearInterval(timer[TheDivs[i].id])
			timer[TheDivs[i].id]=""
		}
	}
}
function Goto(ThePage)
{
	//alert(ThePage)
	location.href=ThePage
}
function HideExcept(TheLayer,TheChild)
{
	SubTrees=TheLayer+"_"
	for(i=0;i<TheDivs.length;i++)
	{
		if(TheDivs[i].id.indexOf(SubTrees)!=-1 && TheDivs[i].id!=TheChild && TheDivs[i].id.indexOf("_")!=-1)
		{
			if(TheDivs[i].id.indexOf(TheChild)==-1 || TheChild=="")
			{
				TheDivs[i].style.visibility="hidden"
				TheDivs[i].style.left="0px"
				TheDivs[i].style.top="0px"
				clearInterval(timer[TheDivs[i].id])
			}
		}
	}
}
function HideAll()
{
	for(i=0;i<TheDivs.length;i++)
	{
		if(TheDivs[i].id.indexOf("Layer")!=-1)
		{
			TheDivs[i].style.visibility="hidden"
			clearInterval(timer[TheDivs[i].id])
			timer[TheDivs[i].id]=""
		}
	}
}

function OpenPDF(TheFile)
{

	window.open("upload/"+TheFile,"","")
}

document.write("<div  id='Layer1' style='position:absolute; left:10px; top:50px; width:180px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff; border: 1px none #DDE4FB;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>");
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='1' style='cursor:pointer;cursor:hand;border:#ffffff 1px solid;' bgcolor='#98d0d1'>");
document.write("</tr><tr class='subheadertxt'><td height='15'  onClick=Goto('bulid.html') onMouseOver=this.className='subheadertxt_O'  style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Introduction</td></tr>");
document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('advantamil.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Advantage Tamilnadu</td>");
document.write("</tr><tr class='subheadertxt'><td height='15'  onClick=Goto('infra.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'  >Infrastructure</td></tr>");
document.write("<tr class='subheadertxt' style='border-bottom:1px solid #ffffff;'><td height='15'onClick=Goto('govsupport.html')  onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'  >Government Support</td>");
document.write("</tr><tr class='subheadertxt'><td height='15' onClick=Goto('fiscal.html')  onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Fiscal Support</td></tr>");
document.write("</tr><tr class='subheadertxt'><td height='15' onClick=Goto('aside.html')  onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >ASIDE</td></tr>");
document.write("<tr class='subheadertxt'><td height='15'  onClick=OpenPDF('informationhandbook.pdf') onMouseOver=this.className='subheadertxt_O'   onmouseout=this.className='subheadertxt' >Right to Information Act</td></tr>");
document.write("</table></div>");

document.write("<div  id='Layer2' style='position:absolute; left:10px; top:50px; width:180px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff; border: 1px none #DDE4FB;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>");
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='1' style='cursor:pointer;cursor:hand;border:#ffffff 1px solid;' bgcolor='#98d0d1'><tr class='subheadertxt'> ");
document.write("<td height='15' onClick=Goto('titan.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Titan Industries Ltd</td></tr>");
document.write("<tr class='subheadertxt'> <td height='15'   onClick=Goto('tidel.html')  onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'  >TIDEL Park Ltd</td>");
document.write("</tr><tr class='subheadertxt' onClick=Goto('ticel.html') style='border-bottom:1px solid #ffffff;'><td height='15' onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'  >TICEL Bio-Park Ltd</td>");
document.write("</tr><tr class='subheadertxt'><td height='15'onClick=Goto('sisel.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Southern Iron & Steel company Limited</td>");
document.write("</tr><tr class='subheadertxt'><td height='15'  onClick=Goto('mahindra.html')   onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Mahindra World City</td>");
document.write("</tr><tr class='subheadertxt'><td height='15'onClick=Goto('ascendas.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' > Ascendas IT Park (Chennai) Ltd.</td>");
document.write("</tr><tr class='subheadertxt'><td height='15' onClick=Goto('TNTPO.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >TNTPO</td>");
document.write("</tr><tr class='subheadertxt'><td height='15' onClick=Goto('tanflora.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >TANFLORA Infrastructure Park Ltd</td>");
document.write("</tr><tr class='subheadertxt'><td height='15'onClick=Goto('TNRDC.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >TNRDC</td>");
document.write("</tr><tr class='subheadertxt'>	<td height='15' onClick=Goto('itcorrodor.html')  onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >IT Corridor (Rajiv Gandhi Salai)</td>");
document.write("<tr class='subheadertxt'><td height='15'onClick=Goto('tanfac.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >TANFAC Industries Ltd</td></tr>");
document.write("<tr class='subheadertxt'><td height='15'  onClick=Goto('ches.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Cheslind Textiles Ltd</td></tr>");
document.write("<tr class='subheadertxt'>	<td height='15'onClick=Goto('skm.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >SKM Egg Products Export (India) Ltd</td></tr>");
document.write("<tr class='subheadertxt'><td height='15' onClick=Goto('tamilpetro.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Tamilnadu Petroproducts Ltd</td></tr>");
document.write("<tr class='subheadertxt'><td height='15' onClick=Goto('spic.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >SPIC</td></tr>");
/*document.write("<tr class='subheadertxt'><td height='15' onClick=Goto('venture.html') onMouseOver=this.className='subheadertxt_O'  onmouseout=this.className='subheadertxt'> Venture Lighting India Ltd</td></tr>");
*/document.write("</table></div>");

document.write("<div  id='Layer3' style='position:absolute; left:10px; top:50px; width:180px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff; border: 1px none #DDE4FB;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>");
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='1' style='cursor:pointer;cursor:hand;border:#ffffff 1px solid;' bgcolor='#98d0d1'><tr class='subheadertxt'> ");
document.write("<td height='15' onClick=Goto('sez1.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Nanguneri - SEZ</td></tr>");
document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('sez_pearl.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'  >Pearl City Food Port - SEZ</td>");
document.write("</tr><tr class='subheadertxt'> <td height='15' onClick=Goto('sez2.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'  >Ennore - SEZ</td>");
document.write("</tr><tr class='subheadertxt' style='border-bottom:1px solid #ffffff;'> <td height='15'  onClick=Goto('sez3.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'  >Hosur - SEZ</td>");
document.write("</tr><tr class='subheadertxt'> 	<td height='15' onClick=Goto('sez4.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Perambalur - SEZ</td></tr>");
document.write("</tr><tr class='subheadertxt'> 	<td height='15' onClick=Goto('sez12.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Rakindo - SEZ</td></tr>");
//document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('sez5.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Rubber Goods - SEZ</td></tr>");
//document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('sez6.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Auto city - SEZ</td></tr>");
/*document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('sez7.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >India-Singapore - SEZ</td></tr>");
*/document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('sez8.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >IT & ITES SEZ – TIDEL-II</td></tr>");
document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('sez9.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >IT & ITES SEZ – TIDEL-III</td>");
document.write("</tr><tr class='subheadertxt'> <td height='15' onClick=Goto('sez10.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >TIDEL Park coimbatore Ltd </td></tr>");
document.write("</tr><tr class='subheadertxt'> <td height='15' onClick=Goto('iron.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Iron Ore Project</td></tr>");
document.write("</tr><tr class='subheadertxt'> <td height='15' onClick=Goto('winery.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Winery Project</td></tr>");
document.write("</tr><tr class='subheadertxt'> <td height='15' onClick=Goto('marine.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Marine Biotechnology Park</td></tr>");
document.write("</tr><tr class='subheadertxt'> <td height='15' onClick=Goto('vishnu.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Vishnu Fabrics</td></tr>");
document.write("</tr><tr class='subheadertxt'> <td height='15' onClick=Goto('sez11.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Bio - Pharmaceuticals  SEZ</td></tr>");
document.write("</tr><tr class='subheadertxt'> <td height='15' onClick=Goto('aez.html') onMouseOver=this.className='subheadertxt_O'   onmouseout=this.className='subheadertxt' >Cashew At Cuddalore AEZ </td></tr>");
document.write("</table></div>");


document.write("<div  id='Layer4' style='position:absolute; left:10px; top:50px; width:180px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff; border: 1px none #DDE4FB;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>");
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='1' style='cursor:pointer;cursor:hand;border:#ffffff 1px solid;' bgcolor='#98d0d1'><tr class='subheadertxt'> ");
document.write("<td height='15' onClick=Goto('guidance.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Guidance Bureau</td></tr>");
document.write("<tr class='subheadertxt'> <td height='15'  onClick=Goto('sipcot.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'  >SIPCOT</td></tr>");
document.write("<tr class='subheadertxt' style='border-bottom:1px solid #ffffff;'> <td height='15' onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;' onClick=Goto('elcot.html') onmouseout=this.className='subheadertxt'  >ELCOT</td></tr>");
document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('tiic.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >TIIC</td></tr>");
document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('tansidco.html') onMouseOver=this.className='subheadertxt_O'   onmouseout=this.className='subheadertxt' >TANSIDCO</td></tr>");
document.write("</table></div>");

document.write("<div  id='Layer5' style='position:absolute; left:10px; top:50px; width:180px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff; border: 1px none #DDE4FB;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>");
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='1' style='cursor:pointer;cursor:hand;border:#ffffff 1px solid;' bgcolor='#98d0d1'><tr class='subheadertxt'> ");
document.write("<td height='15' onClick=Goto('goi.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >GOI Policies</td></tr>");
document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('tnpolicies.html') onMouseOver=this.className='subheadertxt_O'   onmouseout=this.className='subheadertxt'  >Tamilnadu Policies</td>");
document.write("</tr></table></div>");

document.write("<div  id='Layer6' style='position:absolute; left:10px; top:50px; width:120px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff; border: 1px none #DDE4FB;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>");
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='1' style='cursor:pointer;cursor:hand;border:#ffffff 1px solid;' bgcolor='#98d0d1'><tr class='subheadertxt'> ");
document.write("<td height='15' onClick=Goto('board_of_directors.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt' >Board of Directors</td></tr>");
document.write("<tr class='subheadertxt'> <td height='15'  onClick=Goto('project.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'   onmouseout=this.className='subheadertxt'  >Project Officers</td>");
document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('otherlinks.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'   onmouseout=this.className='subheadertxt'  >Other links</td>");
document.write("<tr class='subheadertxt'> <td height='15'  onClick=Goto('feedback.html') onMouseOver=this.className='subheadertxt_O'   onmouseout=this.className='subheadertxt'  >Feedback</td>");
document.write("</tr></table></div>");

document.write("<div  id='Layer7' style='position:absolute; left:10px; top:50px; width:180px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff; border: 1px none #DDE4FB;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>");
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='1' style='cursor:pointer;cursor:hand;border:#ffffff 1px solid;' bgcolor='#98d0d1'><tr class='subheadertxt'> ");
document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('opp_project.html') onMouseOver=this.className='subheadertxt_O' style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'  >Projects</td>");
document.write("<tr class='subheadertxt'> <td height='15' onClick=Goto('opp_collabration.html') onMouseOver=this.className='subheadertxt_O'  onmouseout=this.className='subheadertxt' >Collaboration</td>");
document.write("</tr></table></div>");

TheDivs=window.document.getElementsByTagName('div');



function Search()
{
document.TheserachFrm.action="search.asp"
document.TheserachFrm.submit()
}


