﻿//JS doc
menuTop=new menuBar();
menuTop.width=526
menuTop.height=22
menuTop.posTop=72
menuTop.posLeft=242
menuTop.centerOnWindow=778;
menuTop.spacerImage="";
menuTop.firstImage="";
menuTop.lastImage="";
menuTop.menuBckOver="themes/1/topMenuItemBck_ovr.gif";
menuTop.itemClass="topMenu"

addMenuItem(menuTop,"| Products","?spg=products/index.asp");
addMenuItem(menuTop,"| Markets","?spg=markets/index.asp");
addMenuItem(menuTop,"| Applications","?spg=applications/index.asp");
addMenuItem(menuTop,"| Rental & Services","#");
addMenuItem(menuTop,"<img src='images/us.gif' align='absmiddle' border='0'>","space");
addMenuItem(menuTop,"Your Language <img src='images/menuTop_arrow.gif' width='17' height='18' align='absmiddle' border='0'>","#");

menuTop.menuItems[0].width=66
menuTop.menuItems[1].width=66
menuTop.menuItems[2].width=86
menuTop.menuItems[3].width=120
menuTop.menuItems[4].width=80
menuTop.menuItems[5].width=108

menuTop.menuItems[0].addSubmenu("v")
oSM=menuTop.menuItems[0].submenu;
oSM.spacerWidth=20;
oSM.spacerImage="/images/spacer.gif";
oSM.itemHeight=20;
oSM.itemClass="subMenuItem";
oSM.itemClassOver="subMenuItemOver";
oSM.firstColImage="themes/1/submenu/subMenuItemLeft.gif";
oSM.firstColWidth=20;
oSM.menuBckImage="themes/1/submenu/subMenuItemBck.gif";
oSM.menuBckOver="themes/1/submenu/subMenuItemBckOvr.gif";
oSM.width=190;
addMenuItem(oSM,"Orbital Welding Systems","#");
addMenuItem(oSM,"Mechanized Welding Systems","#");
addMenuItem(oSM,"Other Products","#");

oSM.menuItems[0].addSubmenu("v")
oSM=oSM.menuItems[0].submenu;
oSM.spacerWidth=20;
oSM.spacerImage="/images/spacer.gif";
oSM.itemHeight=20;
oSM.itemClass="subMenuItem";
oSM.itemClassOver="subMenuItemOver";
oSM.firstColImage="themes/1/submenu/subMenuItemLeft.gif";
oSM.firstColWidth=20;
oSM.menuBckImage="themes/1/submenu/subMenuItemBck.gif";
oSM.menuBckOver="themes/1/submenu/subMenuItemBckOvr.gif";
oSM.width=230;
addMenuItem(oSM,"Welding Power Sources","?spg=products/orbitalwelding/powersources.asp");
addMenuItem(oSM,"Real-time Data Acquisition Systems","?spg=products/orbitalwelding/rtdas.asp");
addMenuItem(oSM,"Closed Chamber Weldheads","?spg=products/orbitalwelding/closedheads.asp");
addMenuItem(oSM,"Open Arc Weldheads","?spg=products/orbitalwelding/openheads.asp")
addMenuItem(oSM,"Tube to Tube Sheet Guns","?spg=products/orbitalwelding/ttsheetheads.asp")
addMenuItem(oSM,"Wire Feeders","?spg=products/orbitalwelding/wirefeeders.asp")
addMenuItem(oSM,"Special Orbital Welding Systems","?spg=products/orbitalwelding/specialequipmentorbitalwelding.asp")



oSM=menuTop.menuItems[0].submenu;
oSM.menuItems[1].addSubmenu("v")
oSM=oSM.menuItems[1].submenu;
oSM.width=230;
addMenuItem(oSM,"Welding Power Sources","?spg=products/mechanizedwelding/powersources.asp"); 
addMenuItem(oSM,"Real-Time Data Acquisition Systems","?spg=products/mechanizedwelding/rtdas.asp");
addMenuItem(oSM,"Welding Manipulators & Peripherals","?spg=products/mechanizedwelding/peripheralsweldingmanipulators.asp");
addMenuItem(oSM,"Electro/Mechanical Components","?spg=products/mechanizedwelding/electromechanicalcomponents.asp");


oSM=menuTop.menuItems[0].submenu;
oSM.menuItems[2].addSubmenu("v")
oSM=oSM.menuItems[2].submenu;
oSM.width=240;
addMenuItem(oSM,"Tube End Preparation","?spg=products/otherproducts/tubeendpreparation.asp");
addMenuItem(oSM,"Clamping Systems","?spg=products/otherproducts/clampingsystems.asp");
addMenuItem(oSM,"Purge Systems","?spg=products/otherproducts/purgesystems.asp");
addMenuItem(oSM,"Oxygen Analyzers","?spg=products/otherproducts/oxygenindicators.asp");
addMenuItem(oSM,"Electrode Grinding Machines","?spg=products/otherproducts/grindingmachines.asp");
addMenuItem(oSM,"Pre-sharpened Tungsten Electrodes","?spg=products/otherproducts/sharpenedelectrodes.asp");

menuTop.menuItems[1].addSubmenu("v")
oSM=menuTop.menuItems[1].submenu;
oSM.width=290;
addMenuItem(oSM,"Semi-conductor","?spg=markets/semiconductorindustry.asp");
addMenuItem(oSM,"Biochemistry","?spg=markets/biochemistry.asp");
addMenuItem(oSM,"Instrumentation","?spg=markets/instrumentation.asp");
addMenuItem(oSM,"Food & Beverage</font>","?spg=markets/foodandbeverage.asp");
addMenuItem(oSM,"Pharmaceutical","?spg=markets/pharmaceuticalindustry.asp");
addMenuItem(oSM,"Chemical & Sanitary","?spg=markets/chemicalSanitaryindustry.asp");
addMenuItem(oSM,"Aeronautics & Aerospace","?spg=markets/aeronauticsAerospace.asp");
addMenuItem(oSM,"Defense","?spg=markets/defence.asp");
addMenuItem(oSM,"Boilers & Thermal Transfer","?spg=markets/thermaltransferequipmentboiler.asp");
addMenuItem(oSM,"Heat Exchangers & Thermal Transfer","?spg=markets/thermaltransferequipmentheatexchangers.asp");
addMenuItem(oSM,"Nuclear","?spg=markets/nuclearapplications.asp");
addMenuItem(oSM,"Power Generation","?spg=markets/powergeneration.asp");
addMenuItem(oSM,"Petrochemical","?spg=markets/petrochemicalindustry.asp");
addMenuItem(oSM,"Pipeline Laying On/Off-shore","?spg=markets/pipelinelaying.asp");
addMenuItem(oSM,"Small,Medium & Large Component assemblies","?spg=markets/smallmediumandlargeseriespartassembly.asp");
addMenuItem(oSM,"Cladding","?spg=markets/cladding.asp");

var sImgAlt="themes/1/submenu/subMenuItemBck2.gif";
oSM.menuItems[0].bckImage=sImgAlt;
oSM.menuItems[1].bckImage=sImgAlt;
oSM.menuItems[2].bckImage=sImgAlt;
oSM.menuItems[6].bckImage=sImgAlt;
oSM.menuItems[7].bckImage=sImgAlt;
oSM.menuItems[11].bckImage=sImgAlt;
oSM.menuItems[12].bckImage=sImgAlt;


menuTop.menuItems[2].addSubmenu("v")
oSM=menuTop.menuItems[2].submenu;
oSM.width=260;
addMenuItem(oSM,"Tube to Tube Bend Fitting & Accessories","?spg=applications/tubetubebendfittingaccessories.asp");
addMenuItem(oSM,"Tube to Return Bend","?spg=applications/tubereturnbend.asp");
//addMenuItem(oSM,"Heavy duty and forged components","?spg=applications/heavydutyandforgedcomponents.asp");
//addMenuItem(oSM,"Tube-tube–pipe–flanges–valves–accessories","?spg=applications/tubetubepipeflangesvalvesaccessories.asp");
//addMenuItem(oSM,"Pipe-pipe","?spg=applications/pipepipe.asp");
addMenuItem(oSM,"Tube to Sheet","?spg=applications/tubesheet.asp");
addMenuItem(oSM,"Tube to Header / Collector","?spg=applications/tubeheadercollector.asp");
addMenuItem(oSM,"Internal Bore Welding","?spg=applications/internalboreweldinglance.asp");
addMenuItem(oSM,"Heavy Wall Tubes & Pipes","?spg=applications/Heavywalltubesandpipes.asp");
addMenuItem(oSM,"Pipeline Laying On/Offshore","?spg=applications/pipelinelayingonoffshore.asp");
addMenuItem(oSM,"Special Orbital Welding Systems","?spg=applications/specialequipmentorbital.asp");
addMenuItem(oSM,"Special Mechanized Welding Systems","?spg=applications/specialequipmentmechanized.asp");
addMenuItem(oSM,"Positioners / Rotators","?spg=applications/positionerrotator.asp");
addMenuItem(oSM,"Columns & Booms","?spg=applications/columnboom.asp");
addMenuItem(oSM,"Welding Lathes","?spg=applications/weldinglathe.asp");
addMenuItem(oSM,"Seam Welders","?spg=applications/seamwelder.asp");
addMenuItem(oSM,"Cladding","?spg=applications/cladding.asp");


menuTop.menuItems[3].addSubmenu("v")
oSM=menuTop.menuItems[3].submenu;
oSM.width=190;
addMenuItem(oSM,"Training","?spg=training/training.asp");
addMenuItem(oSM,"Rental Products","?spg=training/hiring.asp");
addMenuItem(oSM,"Maintenance Contracts","?spg=training/maintenancecontracts.asp");
addMenuItem(oSM,"Training & Instruction","?spg=training/commissioning.asp");
addMenuItem(oSM,"On-site Supervision","?spg=training/onsitesupervisors.asp");
addMenuItem(oSM,"Feasibility Studies","?spg=training/feasibilitystudies.asp");
addMenuItem(oSM,"Spare Parts & Consumables","?spg=training/consumablesandspareparts.asp");
addMenuItem(oSM,"Retrofit","?spg=training/retrofit.asp");
addMenuItem(oSM,"Equipment Financing","?spg=forms/pcalc.asp");
addMenuItem(oSM,"UPS Tracking","?spg=forms/trackingups.asp");



menuTop.menuItems[5].addSubmenu("v")
oSM=menuTop.menuItems[5].submenu;
oSM.width=110;
function getURLParam()
{
 var URL = location.href;
 var xstart = URL.lastIndexOf("?") + 1;
 if ((xstart - 1) == -1)  return "";
 var xend = URL.length;
 var cleanURL = URL.substring(xstart,xend);
 xstart = cleanURL.indexOf("lang");
 if (xstart != -1)
 var strAnd = ""; 
 if (cleanURL.charAt(0) != "&") strAnd = "&"; 
   return strAnd + cleanURL.substring(0,xstart) + cleanURL.substring(xstart + 7,cleanURL.length);
 return strAnd + cleanURL 
}
urlParam = getURLParam();
addMenuItem(oSM,'<img src="images/uk.gif" width="18" height="12" align="absmiddle" border="0"> English',"?lang=en"+urlParam);
addMenuItem(oSM,'<img src="images/fr.gif" width="18" height="12" align="absmiddle" border="0"> Fran&ccedil;ais',"?lang=fr");
addMenuItem(oSM,'<img src="images/de.gif" width="18" height="12" align="absmiddle" border="0"> Deutsch',"?lang=de");
//addMenuItem(oSM,'<img src="images/ru.gif" width="18" height="12" align="absmiddle" border="0"> ???????,"?lang=ru");
addMenuItem(oSM,'<img src="images/it.gif" width="18" height="12" align="absmiddle" border="0"> Italiano',"?lang=it");
//addMenuItem(oSM,'<img src="images/es.gif" width="18" height="12" align="absmiddle" border="0"> Espa&ntilde;ol',"?lang=es");
addMenuItem(oSM,'<img src="images/cn.gif" width="18" height="12" align="absmiddle" border="0"> ??',"http://www.polysoude.com.cn/");
addMenuItem(oSM,'<img src="images/us.gif" width="18" height="12" align="absmiddle" border="0"> USA',"?lang=us");
addMenuItem(oSM,'<img src="images/cz.gif" width="18" height="12" align="absmiddle" border="0"> Cesky',"?lang=cz");


menuLeft=new menuBar();
menuLeft.width=153
menuLeft.height=130
menuLeft.posTop=131
menuLeft.posLeft=1
menuLeft.centerOnWindow=778;
menuLeft.spacerImage="";
menuLeft.firstImage="";
menuLeft.lastImage="";
menuLeft.menuBckImage="themes/1/leftMenuItemBck.gif";
menuLeft.menuBckOver="themes/1/leftMenuItemBck_ovr.gif";
menuLeft.itemClass="leftMenu";
menuLeft.itemClassOver="leftMenuOver";
menuLeft.direction="v";
menuLeft.itemHeight=22;
menuLeft.menuID="menuLeft"

addMenuItem(menuLeft,"About Us","?spg=aboutus/corporateprofile.asp");
addMenuItem(menuLeft,"Astro Arc Polysoude World","?spg=worldwide/index.asp");
addMenuItem(menuLeft,"Exhibits & Conferences","?spg=fairsandevents/index.asp");
addMenuItem(menuLeft,"Testimonials","?spg=aboutus/testimonials.asp");
addMenuItem(menuLeft,"Job Opportunities","?spg=forms/joinus.asp");
addMenuItem(menuLeft,"Equipment Financing","?spg=forms/pcalc.asp");
addMenuItem(menuLeft,"Handbook Orbital Welding","?spg=forms/requestOWHandbook.asp");
addMenuItem(menuLeft,"Contact Us","?spg=forms/contact.asp&swhat=contact");

menuLeft.menuItems[0].addSubmenu("v")
oSM=menuLeft.menuItems[0].submenu;
oSM.width=240;

addMenuItem(oSM,"Corporate Profile","?spg=aboutus/corporateprofile.asp");
addMenuItem(oSM,"Subsidiary & Representative Locations","?spg=aboutus/locationsubsidiaries.asp");
//addMenuItem(oSM,"IGM Group","?spg=aboutus/igmgroup.asp");
addMenuItem(oSM,"GWT group","?spg=aboutus/gwtgroup.asp");

//menuLeft.menuItems[4].addSubmenu("v")
//oSM=menuLeft.menuItems[4].submenu;
//oSM.width=180;

//addMenuItem(oSM,"Contact us","?spg=forms/training.asp&swhat=contact");
//addMenuItem(oSM,"Employment opportunities","?spg=forms/joinus.asp");