/*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;
	    }
	}

	
	posX=posX-3;

	if(TheLayer.indexOf("_")==-1)
		document.getElementById(TheLayer).style.left=posX-11+"px"
	else
		document.getElementById(TheLayer).style.left=posX+"px"
		
	TheAdj=12
	TheAdjtop=30
		
	if(navigator.appVersion.indexOf("MSIE")!=-1)
	{
		TheAdj=10
		TheAdjtop=30

	}
	

	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]=""
		}
	}
}
*/
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 = 0, posY = 0; TheHref.offsetParent; TheHref = TheHref.offsetParent )
		{
			posX += TheHref.offsetLeft;
			posY += TheHref.offsetTop;
	    }
	}

	
	if(TheLayer.indexOf("_")==-1)
		
		if(TheLayer.indexOf("locimage")!=-1)
			if(navigator.appVersion.indexOf("MSIE")!=-1)
				document.getElementById(TheLayer).style.left=posX+300+"px"
			else
				document.getElementById(TheLayer).style.left=posX+"px"
		else	
			document.getElementById(TheLayer).style.left=posX+"px"
	else
		document.getElementById(TheLayer).style.left=posX+TheWidth-1+"px"
		
		
		
/*	if(TheLayer.indexOf("_")==-1)
	{
		document.getElementById(TheLayer).style.top=posY+14+"px"
	}
	else
	{
	if()
		document.getElementById(TheLayer).style.top=posY+50+"px"
	}
	*/
	
<!-- Adjust here for FireFox  Broweer -->

	
	TheAdjtop=25
	ThesubmneuTop=1
<!-- Adjust here for FireFox  Broweer -->		
//locimage

	if(navigator.appVersion.indexOf("MSIE")!=-1)
	{

		ThesubmneuTop=1
		TheAdjtop=25

	}


	if(TheLayer.indexOf("_")==-1)

		if(TheLayer.indexOf("locimage")!=-1)
			if(navigator.appVersion.indexOf("MSIE")!=-1)
				document.getElementById(TheLayer).style.top=posY+TheAdjtop+305+"px"
			else
				document.getElementById(TheLayer).style.top=posY+TheAdjtop+40+"px"	
		else
			document.getElementById(TheLayer).style.top=posY+TheAdjtop+"px"

	else
		document.getElementById(TheLayer).style.top=posY+ThesubmneuTop+"px"
	
	
	
	document.getElementById(TheLayer).style.visibility="visible"
	
	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+"')",1000)
	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!="bannerflash1")	
		{
			TheDivs[i].style.visibility="hidden"
			clearInterval(timer[TheDivs[i].id])
			timer[TheDivs[i].id]=""
		}
		
				   
	}
}
//Menu items

//Menu1(About us)
document.write("<div id='Layer1' style='position:absolute; left:10px; top:50px; width:136px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>")
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='0' style='cursor:pointer;cursor:hand;' bgcolor='#f3f8fc'>  <tr class='menutxt'> ")
document.write("<td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('aboutus_profile.htm') style='border-bottom:1px solid #fcf1c7;'  onmouseout=this.className='menutxt'>Company Profile</td></tr>")
document.write(" <tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('aboutus_business.htm') style='border-bottom:1px solid #fcf1c7;'  onmouseout=this.className='menutxt'>Business Focus</td></tr>")
document.write(" <tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('aboutus_quality.htm') style='border-bottom:1px solid #fcf1c7;'  onmouseout=this.className='menutxt'>Quality Policy</td></tr>")
document.write("<tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('contact_location.htm')   onmouseout=this.className='menutxt'>Location</td></tr></table></div>")

/*
//Menu2 (Services)
document.write("<div id='Layer2' style='position:absolute; left:10px; top:50px; width:136px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>")
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='0' style='cursor:pointer;cursor:hand;' bgcolor='#f3f8fc'>  <tr class='menutxt'> ")
document.write("<td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('services_planing.htm') style='border-bottom:1px solid #fcf1c7;'  onmouseout=this.className='menutxt'>Planning</td></tr>")
document.write(" <tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('services_prepress.htm') style='border-bottom:1px solid #fcf1c7;'  onmouseout=this.className='menutxt'>Pre Press</td></tr>")
document.write(" <tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('services_technology.htm') style='border-bottom:1px solid #fcf1c7;'  onmouseout=this.className='menutxt'>Technology</td></tr>")
document.write("<tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('services_shipping.htm')   onmouseout=this.className='menutxt'>Shipping</td></tr></table></div>")
*/
																												


//Menu3 (Products)

document.write("<div id='Layer3' style='position:absolute; left:10px; top:50px; width:136px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>")
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='0' style='cursor:pointer;cursor:hand;' bgcolor='#f3f8fc'>  <tr class='menutxt'> ")
document.write("<td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('products_packaging.htm') style='border-bottom:1px solid #fcf1c7;'  onmouseout=this.className='menutxt'>Product Packaging</td></tr>")
document.write("<tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('products_printing.htm')   onmouseout=this.className='menutxt'>Commercial Printing</td></tr></table></div>")
/*
//Menu4 (Equipments)

document.write("<div id='Layer4' style='position:absolute; left:10px; top:50px; width:136px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>")
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='0' style='cursor:pointer;cursor:hand;' bgcolor='#f3f8fc'>  <tr class='menutxt'> ")
document.write("<td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('equip_prepress.htm') style='border-bottom:1px solid #fcf1c7;'  onmouseout=this.className='menutxt'>Pre Press</td></tr>")
document.write(" <tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('equip_press.htm') style='border-bottom:1px solid #fcf1c7;'  onmouseout=this.className='menutxt'>Press</td></tr>")
document.write("<tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('equip_postpress.htm')   onmouseout=this.className='menutxt'>Post Press</td></tr></table></div>")
*/
//Menu5

document.write("<div id='Layer6' style='position:absolute; left:10px; top:50px; width:136px; z-index:1;visibility:hidden; background-color: #ffffff; layer-background-color: #ffffff; border: 1px none #ffffff;' onMouseOver='StopTimer(this.id)' onMouseOut='StartTimer(this.id)'>")
document.write("<table width='100%' border='0' cellpadding='3' cellspacing='0' style='cursor:pointer;cursor:hand;border:#e1e7f3 1px solid;' bgcolor='#f3f8fc'>  <tr class='menutxt'> ")
document.write("<td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('contact_location.htm') style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='menutxt' >Location</td></tr>")
//document.write(" <tr class='subheadertxt'><td height='16' onMouseOver=this.className='subheadertxt_O' onClick=Goto('aboutus_vismis.htm') style='border-bottom:1px solid #ffffff;'  onmouseout=this.className='subheadertxt'>Vision & Mission</td></tr>")
document.write("<tr class='menutxt'><td height='15' class='menutxt' onMouseOver=this.className='menutxt_o' onClick=Goto('contact_enquire.htm')   onmouseout=this.className='menutxt'>Enquiries</td></tr></table></div>")

TheDivs=window.document.getElementsByTagName('Div')
	function showPorduct(theHref)
		{
			if(theHref!="0")	
			document.location=theHref
		}

