var vl="<A HREF='";
var vn="<a";
var vcn=" class='ztxt'>";
var vc="' CLASS='ztxt'>";

if(document.all || document.layers){
	document.write("<DIV ID='NSbuffer' STYLE='top:0;left:0;width:1;height:1;position:absolute;visibility:hidden;z-index:1;'></DIV>"+
		"<DIV ID='solutions' STYLE='top:0;left:0;width:102;height:120;position:absolute;visibility:hidden;z-index:21;'>"+
			"<TABLE CELLPADDING=1 CELLSPACING=0 BORDER=0>"+
			"<TR><TD>"+
				"<TABLE CELLPADDING=3 CELLSPACING=0 BORDER=0 bgcolor='#ff9933'>"+
				"<TR>"+
				"<TD NOWRAP><FONT FACE='verdana'>"+
				vl+"nittamoore.htm"+vc+"Nitta Moore</A><BR>"+
				vl+"bonpet.htm"+vc+"BONPET</A><BR>"+
				vl+""+vc+"Currency Product</A><BR>"+
				vl+""+vc+"Spare Parts for Plant & Machinery and <br>Construction Equipments</A><BR>"+
					vl+""+vc+"Import of Proprietry Auto<br> Components for Indian Market</A><BR>"+
				"</FONT></TD></TR></TABLE>"+
			"</TD></TR></TABLE>"+
		"</DIV>"+

		"<DIV ID='aboutus' STYLE='top:0;left:0;width:102;height:120;position:absolute;visibility:hidden;z-index:21;'>"+
			"<TABLE CELLPADDING=1 CELLSPACING=0 BORDER=0>"+
			"<TR><TD>"+
				"<TABLE CELLPADDING=3 CELLSPACING=0 BORDER=0 bgcolor='#ff9933'>"+
				"<TR>"+
				"<TD NOWRAP><FONT FACE='verdana,helvetica'>"+
				vl+""+vc+"Procurement for Overseas Customers</A><BR>"+
				vl+""+vc+"In House Manufacturing</A><BR>"+
				
			
				"</FONT></TD></TR></TABLE>"+
			"</TD></TR></TABLE>"+
		"</DIV>"+

		"<DIV ID='contactus' STYLE='top:0;left:0;width:102;height:120;position:absolute;visibility:hidden;z-index:21;'>"+
			"<TABLE CELLPADDING=1 CELLSPACING=0 BORDER=0>"+
			"<TR><TD>"+
				"<TABLE CELLPADDING=3 CELLSPACING=0 BORDER=0 bgcolor='#ff9933'>"+
				"<TR>"+
				"<TD NOWRAP><FONT FACE='verdana,helvetica'>"+
				vl+"contactus.htm"+vc+"By Telephone</A><BR>"+
				vl+"mailto:oets@oetsindia.com"+vc+"By E-mail</A><BR>"+
				
				"</FONT></TD></TR></TABLE>"+
			"</TD></TR></TABLE>"+
		"</DIV>"
		)
	}
var layerRef;
var layerStyle;
var menuName;
var x=60;
var y=120;

var xLoc=0;
var yLoc=0;

function mouseMove(e){
	if(document.all && ready == "yes"){
		x=event.x;
		y=event.y;
		menuOff(x,y+12);
		}
	if(document.layers && ready == "yes"){
		x=e.pageX;
		y=e.pageY;
		menuOff(x,y+12);
		}}

if (document.all){
	document.onmousemove = mouseMove;
	layerRef = "document.all";
	layerStyle = ".style"; }
if (document.layers){
	document.onmousemove = mouseMove;
	document.captureEvents(Event.MOUSEMOVE);
	layerRef = "document.layers";
	layerStyle = ""; }

function showLayer(layerName){
	eval(layerRef+'["'+layerName+'"]'+layerStyle+'.visibility="visible"') }

function hideLayer(layerName){
	eval(layerRef+'["'+layerName+'"]'+layerStyle+'.visibility="hidden"') }

function moveLayer(layerName,top,left)
	  {
      eval(layerRef+'["'+layerName+'"]'+layerStyle+'.top=top')
      eval(layerRef+'["'+layerName+'"]'+layerStyle+'.left=left')
	  }

function rem(){
	
	if(document.all || document.layers){
	hideLayer("solutions");
	hideLayer("aboutus");
	hideLayer("contactus");
	}
   }

function menuOn(lName){
	if(document.all || document.layers){

	rem();

	if(lName == "solutions")
	  {
		yLoc = 130;
		xLoc = 250;
	  }
	else
	   {
		if(lName == "aboutus")
		{
			yLoc = 130;
			xLoc = 430;
	    }
		else
		   {
			if(lName == "Contactus")
		    {
			    yLoc = 130;
				xLoc = 850;
				
			}
			else
			{
				yLoc = 130;
				xLoc = 550;
			}
		}
	}
	menuName = lName;
	moveLayer(lName,yLoc-30,xLoc+32);
	showLayer(lName);
	}
}
function menuOff(xcord,ycord){

	if(menuName == "solutions" && xcord > xLoc+230){ rem(); }
	if(menuName == "aboutus" && xcord > xLoc+190){ rem(); }
	if(menuName == "contactus" && xcord > xLoc+750){ rem(); }


	if(menuName == "solutions" && ycord > yLoc+100){ rem(); }
	if(menuName == "aboutus" && ycord > yLoc+30){ rem(); }
	if(menuName == "contactus" && ycord > yLoc+20){rem(); }
	}

	ready = "yes";
