	imgfolder = "img/menu/"; // locate the image icon folder for the mune icon
	k=document;	v=Date;	x=false;	z=Array;	af=Math.floor;	ag=RegExp;	b=new z(14);	
	saa=new z("null","home-b","about-us-b","product-b","event-b","career-b","partner-b","contact-us-b","testimonial-b","IT","QN","QP");
	aa=new z(11);ab=10;t=0;u=0;n=0;o=new v();h=5;m=385;c=0;w=x;var title;var firstHoverOccurred=x;m=385;p=0;
	
	var titleTable;
	
	function d(ac){
		c=ac;
		o=new v();
		setTimeout("gidle()",20);
	}
	function e(ac){
		c=0;
		w=x;
		o=new v();
		setTimeout("gidle()",20);
	}
	
	function ae(){
		for(var j=1;j<b.length;j++){
			b[j]=35
		}
		title=k.getElementById('imageTitle');
		titleTable=k.getElementById('titleTable');
		for(i=0;i<b.length;i++){
			aa[i]=new Image();
			aid=saa[i+1];
			//aa[i].src="../../../"+ aid + "/html/img/" + saa[i+1]+".gif"}setTimeout("gidle()",20);
			aa[i].src=imgfolder + saa[i+1]+".gif"}setTimeout("gidle()",20);
		}
	
	function gidle(){
		var l=0;
		for(var i=1;i<b.length;i++){
			var imagename="image"+i;
			var imageElem=k.getElementById(imagename);
			if(c!=i){if(b[i]>35){b[i]-=h;if(b[i]<=35){
				b[i]=35;aid=saa[i];
				//imageElem.src="../../../"+ aid + "/html/img/" + saa[i]+"35.gif"
				
				imageElem.src=imgfolder + saa[i].substring(0,saa[i].length-1)+"a.gif";  // use substring here to take out 
																						// the last charactor of image name, which is b
																						// and then add charactor a to replace to get
																						// the other image name.
			}
			imageElem.width=b[i];
			imageElem.height=b[i];
			if(c==0){
				var g=af(255-255*(b[i]-35)/35);
				title.style.visibility="hidden";
				titleTable.style.display = "none";
				title.style.color="rgb("+g+","+g+","+g+")"}p=1}l+=b[i];
			}
		}
		if(c!=0&&b[c]<100){
			imagename="image"+c;
			imageElem=k.getElementById(imagename);
			imageTop = imageElem.top;
			if(w==x){
				w=true;
				//var y=(c-1)*45;
				//title.innerHTML='<img src="icons/menu/cleardot.gif" width=' + y + ' height=1><span>' + k.getElementById(imagename).alt+'</span>'
				var y=imageElem.width*3 + 10;
				var htop=imageElem.height*c;
				title.innerHTML='<img src="icons/menu/cleardot.gif" width=' + y + ' height=1 ><span style="position: absolute; left: 150px; top: '+ htop +'">' + k.getElementById(imagename).alt+'</span>'

			}
			b[c]+=h;
			p=1;
			if(b[c]>100){
				b[c]=100}l+=b[c];
				if(l<m){b[c]+=m-l;if(b[c]>100){
					b[c]=100
				}
				l=m
			}
			var g=af(255-255*(b[c]-35)/35);
			title.style.visibility="visible";
			titleTable.style.display = "block";
			title.style.color="rgb("+g+","+g+","+g+")";
			imageElem.width=b[c];
			imageElem.height=b[c];
			aid=saa[c];
			//k.getElementById(imagename).src="../../../"+ aid + "/html/img/" + saa[c]+".gif"
			k.getElementById(imagename).src=imgfolder + saa[c]+".gif";
		}
		m=l;
		var ad=new v();
		ab=ad.getTime()-o.getTime();
		o=ad;
		t+=ab;
		u++;
		n=t/u;h=5;
		if(u>4){
			if(n>30){h=10}
			if(n>60){h=15}
			if(n>90){h=20}
		}
		if(p){setTimeout("gidle()",20);p=0}
	}

