﻿// JScript File

function newsevents()
{
	if (document.getElementById("news_events").style.display == "none") 
	{
		document.getElementById("news_events").style.display = "block";
		document.getElementById("img_news_events").setAttribute("src","images/nav2.gif");
		//document.getElementById("area").style.height = 622;
	}
	else
	{
		document.getElementById("news_events").style.display = "none";
		document.getElementById("img_news_events").setAttribute("src","images/nav1.gif");
		//document.getElementById("area").style.height = 422;
	}
}

function topMenuMouseOver(id)
{
	document.getElementById(id+"1").style.backgroundColor = "#c4c4c4";
	document.getElementById(id+"2").style.backgroundColor = "#c4c4c4";
	document.getElementById(id+"3").style.backgroundColor = "#c4c4c4";
}

function topMenuMouseOut(id)
{
	document.getElementById(id+"1").style.backgroundColor = "#dddddd";
	document.getElementById(id+"2").style.backgroundColor = "#dddddd";
	document.getElementById(id+"3").style.backgroundColor = "#dddddd";
}

function leftMenuMouseOver(id)
{
	document.getElementById(id+"_1").style.backgroundColor = "#7d7c7a";
	document.getElementById(id+"_2").style.backgroundColor = "#7d7c7a";
	document.getElementById(id+"_3").style.backgroundColor = "#7d7c7a";
}

function leftMenuMouseOut(id)
{
	document.getElementById(id+"_1").style.backgroundColor = "#979694";
	document.getElementById(id+"_2").style.backgroundColor = "#979694";
	document.getElementById(id+"_3").style.backgroundColor = "#979694";
}

function newsLetterMenuMouseOver(id)
{
	document.getElementById(id+"1").style.backgroundColor = "#c4c4c4";
	document.getElementById(id+"2").style.backgroundColor = "#c4c4c4";
	document.getElementById(id+"3").style.backgroundColor = "#c4c4c4";
}

function newsLetterMenuMouseOut(id)
{
	document.getElementById(id+"1").style.backgroundColor = "#dddddd";
	document.getElementById(id+"2").style.backgroundColor = "#dddddd";
	document.getElementById(id+"3").style.backgroundColor = "#dddddd";
}

function Careers()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";

	if ( (strCountry == "Global") || (strCountry == "India") )
	{
		document.getElementById("area").setAttribute("src","careers.htm");
	}
	else
	{
		for( var nTemp = 0; nTemp <= aCountry.length-1; ++nTemp )
		{
			if ( aCountry[nTemp] == strCountry )
			{
				document.getElementById("area").setAttribute("src",aCareers[nTemp] );
				break;					
			}
		}
	}
}


function Contact()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	if ( (strCountry == "Global") || (strCountry == "India") )
	{
		document.getElementById("area").setAttribute("src","contactus.htm");
	}
	else
	{
		for( var nTemp = 0; nTemp <= aCountry.length-1; ++nTemp )
		{
			if ( aCountry[nTemp] == strCountry )
			{
				document.getElementById("area").setAttribute("src",aContact[nTemp] );
				break;					
			}
		}
	}
}

function homeOffices()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	parent.document.getElementById("area").setAttribute("src","HomeOffices.htm");
}

function India()
{

	if ( document.getElementById("mainAreaSubOption_link") )
	{
		var oObj = document.getElementById("mainAreaSubOption_link");
		oObj.innerHTML = "";
	}

	if ( document.getElementById("mainAreaSubOption") )
	{
		var oObjSubOption = document.getElementById("mainAreaSubOption");
		oObjSubOption.style.display = "none";
	}

	parent.document.getElementById("area").setAttribute("src","indiaoff.htm");
}


function Overseas()
{
	parent.document.getElementById("area").setAttribute("src","overseasoff.htm");
}


function Sitemap()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	if (strCountry == "Global")
	{
		document.getElementById("area").setAttribute("src","sitemap.htm");
	}
	else
	{
		document.getElementById("area").setAttribute("src","countrysitemap.htm?country="+strCountry );
	}
}


function eBrochure()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	document.getElementById("area").setAttribute("src","videos.htm");
}

function CustomerFeedback()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	document.getElementById("area").setAttribute("src","CustomerFeedback.aspx");
}

function KeyContacts(oth)
{
	
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	if (strCountry == "India")
	{
		var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","indiaoff.htm") : document.getElementById("area").setAttribute("src","indiaoff.htm");
	}
	else
	{
		var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","keycontacts.htm") : document.getElementById("area").setAttribute("src","keycontacts.htm");
	}
	
}

function NewsLetter()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";

	document.getElementById("area").setAttribute("src","newsletter.htm");
}


function Quote()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	document.getElementById("area").setAttribute("src","Quote.aspx");
}


function ELogin()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	document.getElementById("area").setAttribute("src","LoginMe.aspx?toPage=NewsEvents");
}

function Gallery()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	document.getElementById("area").setAttribute("src","Gallery.htm");
}


function TrackAndTrace()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	document.getElementById("area").setAttribute("src","TrackAndTrace.htm");
}

function ETools()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	document.getElementById("area").setAttribute("src","PressRelease.htm");
}

function uc()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	document.getElementById("area").setAttribute("src","uc.htm");
}

function mainAreaSubOption(optionName,oth)
{
	var oObjSubOption = new Object();
	oObjSubOption = (oth) ? parent.document.getElementById("mainAreaSubOption") : document.getElementById("mainAreaSubOption");
	var strSubOptionHTML = new String();
	strSubOptionHTML = "";
	
	switch (optionName)
	{
	
		case "Prodfile":
		{
			if ( (strCountry == "Global") || (strCountry == "India") )
			{
				strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
				strSubOptionHTML += '<tr style="background-color:#dddddd;">'
				strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
				strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Profile</td>'
				strSubOptionHTML += '<td style="width:9px"></td>'
				strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
				strSubOptionHTML += '<td id="Uniworld1" style="width:9px"></td>'
				strSubOptionHTML += '<td id="Uniworld2" > <a href="javascript:subMenuProdfile(\'Uniworld\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Uniworld\')" onmouseOut="javascript:topMenuMouseOut(\'Uniworld\')" >Uniworld</a> </td>'
				strSubOptionHTML += '<td id="Uniworld3" style="width:9px"></td>'
				strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
				strSubOptionHTML += '<td id="Management1" style="width:9px"></td>'
				strSubOptionHTML += '<td id="Management2" > <a href="javascript:subMenuProdfile(\'Management\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Management\')" onmouseOut="javascript:topMenuMouseOut(\'Management\')" >Management</a> </td>'
				strSubOptionHTML += '<td id="Management3" style="width:9px"></td>'
				strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
				strSubOptionHTML += '<td id="TeamUniworld1" style="width:9px"></td>'
				strSubOptionHTML += '<td id="TeamUniworld2" > <a href="javascript:subMenuProdfile(\'TeamUniworld\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'TeamUniworld\')" onmouseOut="javascript:topMenuMouseOut(\'TeamUniworld\')" >Team Uniworld</a> </td>'
				strSubOptionHTML += '<td id="TeamUniworld3" style="width:9px"></td>'
				strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
//				strSubOptionHTML += '<td id="Performance1" style="width:9px"></td>'
//				strSubOptionHTML += '<td id="Performance2" > <a href="javascript:subMenuProdfile(\'Performance\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Performance\')" onmouseOut="javascript:topMenuMouseOut(\'Performance\')" >Performance</a> </td>'
//				strSubOptionHTML += '<td id="Performance3" style="width:9px"></td>'
//				strSubOptionHTML += '<td style="width:9px"></td>'
                strSubOptionHTML += '<td id="GlobalNetwork1" style="width:9px"></td>'
    			strSubOptionHTML += '<td id="GlobalNetwork2" > <a href="javascript:subMenuProdfile(\'GlobalNetwork\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'GlobalNetwork\')" onmouseOut="javascript:topMenuMouseOut(\'GlobalNetwork\')" >Global Network</a> </td>'
        		strSubOptionHTML += '<td id="GlobalNetwork3" style="width:9px"></td>'
				strSubOptionHTML += '<td style="width:9px"></td>'
				strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
				 strSubOptionHTML += '<td id="InformationTechnology1" style="width:9px"></td>'
    			strSubOptionHTML += '<td id="InformationTechnology2" > <a href="javascript:subMenuProdfile(\'InformationTechnology\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'InformationTechnology\')" onmouseOut="javascript:topMenuMouseOut(\'InformationTechnology\')" >Information Technology</a> </td>'
        		strSubOptionHTML += '<td id="InformationTechnology3" style="width:9px"></td>'
				strSubOptionHTML += '<td style="width:9px"></td>'
				strSubOptionHTML += '</tr>'
				strSubOptionHTML += '</table>'
				document.getElementById("area").setAttribute("src","profiles/uniworld.htm");
			}
			else
			{
				for( var nTemp = 0; nTemp <= aCountry.length-1; ++nTemp )
				{
					if ( aCountry[nTemp] == strCountry )
					{
						document.getElementById("area").setAttribute("src",aProfile[nTemp] );
						break;					
					}
				}
			}
			break;
		}
		
		case "Services":
		{
			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
			strSubOptionHTML += '<td style="width:5px;height:25px;"></td>'
			strSubOptionHTML += '<td class="mainareamenu" style="font-weight:bold;" >Services</td>'
			strSubOptionHTML += '<td style="width:5px"></td>'
			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
			strSubOptionHTML += '<td id="CargoManagement1" style="width:5px"></td>'
			strSubOptionHTML += '<td id="CargoManagement2" > <a href="javascript:subMenuServices(\'CargoManagement\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'CargoManagement\')" onmouseOut="javascript:topMenuMouseOut(\'CargoManagement\')" >Complete Cargo Management</a> </td>'
			strSubOptionHTML += '<td id="CargoManagement3" style="width:5px"></td>'
			strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
			strSubOptionHTML += '<td id="SupplyChain1" style="width:5px"></td>'
			strSubOptionHTML += '<td id="SupplyChain2" > <a href="javascript:subMenuServices(\'SupplyChain\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'SupplyChain\')" onmouseOut="javascript:topMenuMouseOut(\'SupplyChain\')" >Supply Chain</a> </td>'
			strSubOptionHTML += '<td id="SupplyChain3" style="width:5px"></td>'
			strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
			strSubOptionHTML += '<td id="ValueAdded1" style="width:5px"></td>'
			strSubOptionHTML += '<td id="ValueAdded2" > <a href="javascript:subMenuServices(\'ValueAdded\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'ValueAdded\')" onmouseOut="javascript:topMenuMouseOut(\'ValueAdded\')" >Value Added Logistics</a> </td>'
			strSubOptionHTML += '<td id="ValueAdded3" style="width:5px"></td>'
			strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
			strSubOptionHTML += '<td id="ProjectHandling1" style="width:5px"></td>'
			strSubOptionHTML += '<td id="ProjectHandling2" > <a href="javascript:subMenuServices(\'ProjectHandling\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'ProjectHandling\')" onmouseOut="javascript:topMenuMouseOut(\'ProjectHandling\')" >Project Handling</a> </td>'
			strSubOptionHTML += '<td id="ProjectHandling3" style="width:5px"></td>'
			strSubOptionHTML += '<td style="width:5px"></td>'
			strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
			strSubOptionHTML += '<td id="UILP1" style="width:5px"></td>'
			strSubOptionHTML += '<td id="UILP2" > <a href="javascript:subMenuServices(\'UILP\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'UILP\')" onmouseOut="javascript:topMenuMouseOut(\'UILP\')" >UILP</a> </td>'
			strSubOptionHTML += '<td id="UILP3" style="width:5px"></td>'
			strSubOptionHTML += '<td style="width:5px"></td>'
			strSubOptionHTML += '</tr>'
			strSubOptionHTML += '</table>'
			document.getElementById("area").setAttribute("src","services/services.htm");
			break;
		}
		
		case "Facilities":
		{
			if ( strCountry == "Malaysia" )
			{
				document.getElementById("area").setAttribute("src","malaysia/malaysia-facilities.htm");
			}
			else
			{
				strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
				strSubOptionHTML += '<tr style="background-color:#dddddd;">'
				strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
				strSubOptionHTML += '<td class="mainareamenu" style="font-weight:bold;" >Facilities</td>'
				strSubOptionHTML += '<td style="width:9px"></td>'
				strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
				strSubOptionHTML += '<td id="CustomsClearances1" style="width:9px"></td>'
				strSubOptionHTML += '<td id="CustomsClearances2" > <a href="javascript:subMenuFacilities(\'CustomsClearances\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'CustomsClearances\')" onmouseOut="javascript:topMenuMouseOut(\'CustomsClearances\')" >Customs Clearances & Transportation</a> </td>'
				strSubOptionHTML += '<td id="CustomsClearances3" style="width:9px"></td>'
				strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
				strSubOptionHTML += '<td id="ContainerFreight1" style="width:9px"></td>'
				strSubOptionHTML += '<td id="ContainerFreight2" > <a href="javascript:subMenuFacilities(\'ContainerFreight\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'ContainerFreight\')" onmouseOut="javascript:topMenuMouseOut(\'ContainerFreight\')" >Container Freight Station</a> </td>'
				strSubOptionHTML += '<td id="ContainerFreight3" style="width:9px"></td>'
				strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
				strSubOptionHTML += '<td id="Warehousing1" style="width:9px"></td>'
				strSubOptionHTML += '<td id="Warehousing2" > <a href="javascript:subMenuFacilities(\'Warehousing\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Warehousing\')" onmouseOut="javascript:topMenuMouseOut(\'Warehousing\')" >Warehousing</a> </td>'
				strSubOptionHTML += '<td id="Warehousing3" style="width:9px"></td>'
				strSubOptionHTML += '<td style="width:9px"></td>'
				strSubOptionHTML += '</tr>'
				strSubOptionHTML += '</table>'
				document.getElementById("area").setAttribute("src","facilities/customsclearances.htm");	
			}
			break;
		}
		
		case "Networks":
		{
			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >World Wide Networks</td>'
			strSubOptionHTML += '<td style="width:9px"></td>'
			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
			strSubOptionHTML += '</tr>'
			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/asia.htm") : document.getElementById("area").setAttribute("src","networks/asia.htm");
			break;
		}
		
		
		case "India":
		{
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=India&flag=india.gif&offices=India") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=India&flag=india.gif&offices=India");
			break;
		}
		
		case "China":
		{
//			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
//			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
//			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
//			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Offices</td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
//			strSubOptionHTML += '<td id="Shanghai1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="Shanghai2" > <a href="javascript:offices(\'China-Shanghai\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Shanghai\')" onmouseOut="javascript:topMenuMouseOut(\'Shanghai\')" >Shanghai</a> </td>'
//			strSubOptionHTML += '<td id="Shanghai3" style="width:9px"></td>'
//			strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
//			strSubOptionHTML += '</tr>'
//			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=China&flag=china.gif&offices=Shanghai") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=China&flag=china.gif&offices=Shanghai");
			break;
		}
		
		case "Hong Kong":
		{
//			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
//			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
//			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
//			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Offices</td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
//			strSubOptionHTML += '<td id="HongKong1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="HongKong2" > <a href="javascript:offices(\'Hong Kong-HongKong\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'HongKong\')" onmouseOut="javascript:topMenuMouseOut(\'HongKong\')" >Hong Kong</a> </td>'
//			strSubOptionHTML += '<td id="HongKong3" style="width:9px"></td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '</tr>'
//			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Hong Kong&flag=hk.gif&offices=HongKong") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Hong Kong&flag=hk.gif&offices=HongKong");
			break;
		}
		
		case "Malaysia":
		{
//			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
//			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
//			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
//			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Offices</td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
//			strSubOptionHTML += '<td id="HQ1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="HQ2" > <a href="javascript:offices(\'Malaysia-HQ\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'HQ\')" onmouseOut="javascript:topMenuMouseOut(\'HQ\')" >HQ (Shah Alam)</a> </td>'
//			strSubOptionHTML += '<td id="HQ3" style="width:9px"></td>'
//			strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
//			strSubOptionHTML += '<td id="KLIA1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="KLIA2" > <a href="javascript:offices(\'Malaysia-KLIA\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'KLIA\')" onmouseOut="javascript:topMenuMouseOut(\'KLIA\')" >KLIA</a> </td>'
//			strSubOptionHTML += '<td id="KLIA3" style="width:9px"></td>'
//			strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
//			strSubOptionHTML += '<td id="PortKlang1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="PortKlang2"> <a href="javascript:offices(\'Malaysia-PortKlang\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'PortKlang\')" onmouseOut="javascript:topMenuMouseOut(\'PortKlang\')" >Port Klang</a> </td>'
//			strSubOptionHTML += '<td id="PortKlang3" style="width:9px"></td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '</tr>'
//			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Malaysia&flag=malaysia.gif&offices=HQ") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Malaysia&flag=malaysia.gif&offices=HQ");
			break;
		}
		
		case "Taiwan":
		{
//			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
//			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
//			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
//			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Offices</td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
//			strSubOptionHTML += '<td id="Taiwan1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="Taiwan2" > <a href="javascript:offices(\'Taiwan-Taiwan\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Taiwan\')" onmouseOut="javascript:topMenuMouseOut(\'Taiwan\')" >Taiwan</a> </td>'
//			strSubOptionHTML += '<td id="Taiwan3" style="width:9px"></td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '</tr>'
//			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Taiwan&flag=taiwan.gif&offices=Taiwan") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Taiwan&flag=taiwan.gif&offices=Taiwan");
			break;
		}
		
		case "Singapore":
		{
//			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
//			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
//			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
//			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Offices</td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
//			strSubOptionHTML += '<td id="Uniworld1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="Uniworld2" > <a href="javascript:offices(\'Singapore-Uniworld\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Uniworld\')" onmouseOut="javascript:topMenuMouseOut(\'Uniworld\')" >Uniworld</a> </td>'
//			strSubOptionHTML += '<td id="Uniworld3" style="width:9px"></td>'
//			strSubOptionHTML += '<td class="topmenuBreak"> | </td>'
//			strSubOptionHTML += '<td id="Jetsea1" style="width:9px"></td>'
//			//strSubOptionHTML += '<td id="Jetsea2"> <a href="javascript:offices(\'Singapore-Jetsea\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Jetsea\')" onmouseOut="javascript:topMenuMouseOut(\'Jetsea\')" >Jetsea</a> </td>'
//			strSubOptionHTML += '<td id="Jetsea3" style="width:9px"></td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '</tr>'
//			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Singapore&flag=singapore.gif&offices=Uniworld") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Singapore&flag=singapore.gif&offices=Uniworld");
			break;
		}
		
		case "Vietnam":
		{
//			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
//			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
//			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
//			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Offices</td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
//			strSubOptionHTML += '<td id="Vietnam1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="Vietnam2" > <a href="javascript:offices(\'Vietnam-Vietnam\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Vietnam\')" onmouseOut="javascript:topMenuMouseOut(\'Vietnam\')" >Vietnam</a> </td>'
//			strSubOptionHTML += '<td id="Vietnam3" style="width:9px"></td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '</tr>'
//			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Vietnam&flag=vietnam.gif&offices=Vietnam") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Vietnam&flag=vietnam.gif&offices=Vietnam");
			break;
		}
		
		case "Thailand":
		{
//			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
//			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
//			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
//			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Offices</td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
//			strSubOptionHTML += '<td id="Thailand1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="Thailand2" > <a href="javascript:offices(\'Thailand-Thailand\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Thailand\')" onmouseOut="javascript:topMenuMouseOut(\'Thailand\')" >Thailand</a> </td>'
//			strSubOptionHTML += '<td id="Thailand3" style="width:9px"></td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '</tr>'
//			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Thailand&flag=thailand.gif&offices=Thailand") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Thailand&flag=thailand.gif&offices=Thailand");
			break;
		}
		
		case "Netherlands":
		{
//			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
//			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
//			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
//			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Offices</td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
//			strSubOptionHTML += '<td id="Thailand1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="Thailand2" > <a href="javascript:offices(\'Thailand-Thailand\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Thailand\')" onmouseOut="javascript:topMenuMouseOut(\'Thailand\')" >Thailand</a> </td>'
//			strSubOptionHTML += '<td id="Thailand3" style="width:9px"></td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '</tr>'
//			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Netherlands&flag=nl.gif&offices=Netherlands") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Netherlands&flag=nl.gif&offices=Netherlands");
			break;
		}
		
		case "korea":
		{
//			strSubOptionHTML += '<table border="0" cellpadding="0" cellspacing="0">'
//			strSubOptionHTML += '<tr style="background-color:#dddddd;">'
//			strSubOptionHTML += '<td style="width:9px;height:25px;"></td>'
//			strSubOptionHTML += '<td class="topmenu" style="font-weight:bold;" >Offices</td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '<td> <img alt="" src="images/arrow.gif" /></td>'
//			strSubOptionHTML += '<td id="Thailand1" style="width:9px"></td>'
//			strSubOptionHTML += '<td id="Thailand2" > <a href="javascript:offices(\'Thailand-Thailand\')" class="mainareamenu" style="text-decoration:none;" onmouseover="javascript:topMenuMouseOver(\'Thailand\')" onmouseOut="javascript:topMenuMouseOut(\'Thailand\')" >Thailand</a> </td>'
//			strSubOptionHTML += '<td id="Thailand3" style="width:9px"></td>'
//			strSubOptionHTML += '<td style="width:9px"></td>'
//			strSubOptionHTML += '</tr>'
//			strSubOptionHTML += '</table>'
			var temp = (oth) ? parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=korea&flag=korea2.gif&offices=korea") : document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=korea&flag=korea2.gif&offices=korea");
			break;
		}
	
		default:
			break;
	}
	
	var oObj = new Object();
	oObj = (oth) ? parent.document.getElementById("mainAreaSubOption_link") : document.getElementById("mainAreaSubOption_link");
	oObj.innerHTML = strSubOptionHTML;
	oObjSubOption.style.display = (strSubOptionHTML =="" ) ? "none" : "block";
}




function subMenuProdfile(optionName)
{
	if ( optionName == "Uniworld" )
	{
		document.getElementById("area").setAttribute("src","profiles/uniworld.htm");	
	}
	else if ( optionName == "Management" )
	{
		document.getElementById("area").setAttribute("src","profiles/management.htm");	
	}
	else if ( optionName == "TeamUniworld" )
	{
		document.getElementById("area").setAttribute("src","profiles/teamuniworld.htm");	
	}
	else if ( optionName == "Performance" )
	{
		document.getElementById("area").setAttribute("src","profiles/performance.htm");	
	}
	else if ( optionName == "GlobalNetwork" )
	{
		document.getElementById("area").setAttribute("src","profiles/GlobalNetwork.htm");	
	}
	else if ( optionName == "InformationTechnology" )
	{
		document.getElementById("area").setAttribute("src","profiles/InformationTechnology.htm");	
	}
}

function subMenuServices(optionName)
{
	if ( optionName == "CargoManagement" )
	{
		document.getElementById("area").setAttribute("src","services/cargomanagement.htm");	
	}
	else if ( optionName == "SupplyChain" )
	{
		document.getElementById("area").setAttribute("src","services/supplychain.htm");	
	}
	else if ( optionName == "ValueAdded" )
	{
		document.getElementById("area").setAttribute("src","services/valueadded.htm");	
	}
	else if ( optionName == "ProjectHandling" )
	{
		document.getElementById("area").setAttribute("src","services/projecthandling.htm");	
	}
	else if ( optionName == "UILP" )
	{
		document.getElementById("area").setAttribute("src","services/service.htm");	
	}
}


function subMenuFacilities(optionName)
{
	if ( optionName == "CustomsClearances" )
	{
		document.getElementById("area").setAttribute("src","facilities/customsclearances.htm");	
	}
	else if ( optionName == "ContainerFreight" )
	{
		document.getElementById("area").setAttribute("src","facilities/containerfreight.htm");	
	}
	else if ( optionName == "Warehousing" )
	{
		document.getElementById("area").setAttribute("src","facilities/warehousing.htm");	
	}
}


function subMenuNetworks(optionName)
{
	switch ( optionName )
	{
		case "Asia":
			document.getElementById("area").setAttribute("src","networks/asia.htm");
			break;
		
		case "Europe":
			document.getElementById("area").setAttribute("src","networks/europe.htm");
			break;
	
		case "GULF":
			document.getElementById("area").setAttribute("src","networks/gulf.htm");
			break;
	
		case "SouthAmerica":
			document.getElementById("area").setAttribute("src","networks/Southamerica.htm");
			break;

		case "USA":
			document.getElementById("area").setAttribute("src","networks/usa.htm");
			break;

		case "Others":
			document.getElementById("area").setAttribute("src","networks/others.htm");
			break;
		
		default:
			break;
	}
}


function offices(strLocation)
{

	if ( strLocation  == "India" )
	{
	
		return;
	}
	
	var aOffices = new Array();
	var aOfficesLink = new Array();
	
	aOffices[0] = "Malaysia-HQ";
	aOfficesLink[0] = "networks/Address.aspx?nw=0&country=Malaysia&flag=malaysia.gif&offices=HQ";
	aOffices[1] = "Malaysia-KLIA";
	aOfficesLink[1] = "networks/Address.aspx?nw=0&country=Malaysia&flag=malaysia.gif&offices=KLIA";
	aOffices[2] = "Malaysia-PortKlang";
	aOfficesLink[2] = "networks/Address.aspx?nw=0&country=Malaysia&flag=malaysia.gif&offices=PortKlang";

	aOffices[3] = "China-Shanghai";
	aOfficesLink[3] = "networks/Address.aspx?nw=0&country=China&flag=china.gif&offices=Shanghai";
	aOffices[4] = "China-Beijing";
	aOfficesLink[4] = "networks/Address.aspx?nw=0&country=China&flag=china.gif&offices=Beijing";
	aOffices[5] = "China-Tianjin";
	aOfficesLink[5] = "networks/Address.aspx?nw=0&country=China&flag=china.gif&offices=Tianjin";
	aOffices[6] = "China-Qingdao";
	aOfficesLink[6] = "networks/Address.aspx?nw=0&country=China&flag=china.gif&offices=Qingdao";
	aOffices[7] = "China-Xiamen";
	aOfficesLink[7] = "networks/Address.aspx?nw=0&country=China&flag=china.gif&offices=Xiamen";
	aOffices[8] = "China-Wuhan";
	aOfficesLink[8] = "networks/Address.aspx?nw=0&country=China&flag=china.gif&offices=Wuhan";
	aOffices[9] = "China-Guangzhou";
	aOfficesLink[9] = "networks/Address.aspx?nw=0&country=China&flag=china.gif&offices=Guangzhou";
	
	aOffices[10] = "Hong Kong-HongKong";
	aOfficesLink[10] = "networks/Address.aspx?nw=0&country=Hong Kong&flag=hk.gif&offices=HongKong";
	
	aOffices[11] = "Taiwan-Taiwan";
	aOfficesLink[11] = "networks/Address.aspx?nw=0&country=Taiwan&flag=taiwan.gif&offices=Taiwan";
	
	aOffices[12] = "Singapore-Uniworld";
	aOfficesLink[12] = "networks/Address.aspx?nw=0&country=Singapore&flag=singapore.gif&offices=Uniworld";
	aOffices[13] = "Singapore-Jetsea";
	aOfficesLink[13] = "networks/Address.aspx?nw=0&country=Singapore&flag=singapore.gif&offices=Jetsea";
	
	for ( var nTemp = 0; nTemp <= aOffices.length-1; ++nTemp )
	{
		if ( aOffices[nTemp] == strLocation )
		{
			parent.document.getElementById("area").setAttribute("src",aOfficesLink[nTemp]);
			break;
		}
	}

}


function old_offices(strCountryName)
{
	var oObj = document.getElementById("subOption_link");
	var oObjSubOption = document.getElementById("subOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	if 	( strCountryName == "India" )
	{
		parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=India&flag=india.gif");
	}
	else if ( strCountryName == "China" )
	{
		parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=China&flag=china.gif");
	}
	else if ( strCountryName == "Hong Kong" )
	{
		parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Hong Kong&flag=hk.gif");
	}
	else if ( strCountryName == "Malaysia" )
	{
		parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Malaysia&flag=malaysia.gif");
	}
	else if ( strCountryName == "Taiwan" )
	{
		parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Taiwan&flag=taiwan.gif");
	}
	else if ( strCountryName == "Singapore" )
	{
		parent.document.getElementById("area").setAttribute("src","networks/Address.aspx?nw=0&country=Singapore&flag=singapore.gif");
	}
}


function members()
{
//	var oObj = document.getElementById("subOption_link");
//	var oObjSubOption = document.getElementById("subOption");
//	oObj.innerHTML = "";
//	oObjSubOption.style.display = "none";

	parent.document.getElementById("area").setAttribute("src","malaysia/members.htm");
}

function introduction()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";

	for( var nTemp = 0; nTemp <= aCountry.length-1; ++nTemp )
	{
		if ( aCountry[nTemp] == strCountry )
		{
			document.getElementById("area").setAttribute("src",aIntro[nTemp] );
			break;					
		}
	}
	
}

function ValueAddedServices()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";

	if (strCountry == "China")
	{
		document.getElementById("area").setAttribute("src","china/valueaddedservices.htm" );
	}
	
}

function affiliates()
{
	var oObj = document.getElementById("mainAreaSubOption_link");
	var oObjSubOption = document.getElementById("mainAreaSubOption");
	oObj.innerHTML = "";
	oObjSubOption.style.display = "none";
	
	parent.document.getElementById("area").setAttribute("src","malaysia/affiliates.htm");
}

