function swapButton(tab)
			{
			//=================Declairing OFF and ON buttons status =================
				var butOFF = new Array(11);
				var butON  = new Array(11);
			// ---------------Setting The oFF state buttons -------------------------
				butOFF[0] = "images/home_bt_off.gif";
				butOFF[1] = "images/aboutus_bt_off.gif";
				butOFF[2] = "images/linecard_bt_off.gif";
				butOFF[3] = "images/prdcat_bt_off.gif";
				butOFF[4] = "images/htprod_bt_off.gif";
				butOFF[5] = "images/signup_bt_off.gif";
				butOFF[6] = "images/sendreq_bt_off.gif";
				butOFF[7] = "images/Chainafactory_bt_off.gif";
				butOFF[8] = "images/contactus_bt_off.gif";
				butOFF[9] = "images/cartpicture.gif";
				butOFF[10] = "images/sltek_bt_off.gif";
			// ---------------Setting the ON state buttons ---------------------------
				butON[0] = "images/home_bt_on.gif";
				butON[1] = "images/aboutus_bt_on.gif";
				butON[2] = "images/linecard_bt_on.gif";
				butON[3] = "images/prdcat_bt_on.gif";
				butON[4] = "images/htprod_bt_on.gif";
				butON[5] = "images/signup_bt_on.gif";
				butON[6] = "images/sendreq_bt_on.gif";
				butON[7] = "images/Chainafactory_bt_on.gif";
				butON[8] = "images/contactus_bt_on.gif";
				butON[9] = "images/cartpicture_on.gif";
				butON[10] = "images/sltek_bt_on.gif";
			// =============== Swapping the button s (Home)-----------------------
				if (tab == 1)
				document.images["img1"].src = butON[0];
				else if(tab==2)
				document.images["img1"].src = butOFF[0];
			// =============== Swapping the button s (About Us)----------------
				if (tab == 3)
				document.images["img2"].src = butON[1];
				else if(tab==4)
				document.images["img2"].src = butOFF[1];
			// =============== Swapping the button s (Line Card)----------------
				if (tab == 5)
				document.images["img3"].src = butON[2];
				else if(tab==6)
				document.images["img3"].src = butOFF[2];
			// =============== Swapping the button s (Product Catalog)----------------
				if (tab == 7)
				document.images["img4"].src = butON[3];
				else if(tab==8)
				document.images["img4"].src = butOFF[3];
			// =============== Swapping the button s (Hot Products)----------------
				if (tab == 9)
				document.images["img5"].src = butON[4];
				else if(tab==10)
				document.images["img5"].src = butOFF[4];
			// =============== Swapping the button s (Sign Up)----------------
				if (tab == 11)
				document.images["img6"].src = butON[5];
				else if(tab==12)
				document.images["img6"].src = butOFF[5];
			// =============== Swapping the button s (Send Requiement)----------------
				if (tab == 13)
				document.images["img7"].src = butON[6];
				else if(tab==14)
				document.images["img7"].src = butOFF[6];
				// =============== Swapping the button s (China Factory)----------------
				if (tab == 15)
				document.images["img8"].src = butON[7];
				else if(tab==16)
				document.images["img8"].src = butOFF[7];
				// =============== Swapping the button s (Contact Us)----------------
				if (tab == 17)
				document.images["img9"].src = butON[8];
				else if(tab==18)
				document.images["img9"].src = butOFF[8];
				 // =============== Swapping the button s (RFQ Cart)----------------
				if (tab == 19)
				document.images["img10"].src = butON[9];
				else if(tab==20)
				document.images["img10"].src = butOFF[9];
				// =============== Swapping the button s (SL-TEK Products)----------------
				if (tab == 21)
				document.images["img11"].src = butON[10];
				else if(tab==22)
				document.images["img11"].src = butOFF[10];
			}
			
		function foc()
			{
				document.form1.srch.focus();
			}