﻿//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="http://www.polysoude.com/themes/1/topMenuItemBck_ovr.gif";
menuTop.itemClass="topMenu"

addMenuItem(menuTop,"| Products","http://www.polysoude.com/?spg=products/index.asp");
addMenuItem(menuTop,"| Markets","http://www.polysoude.com/?spg=markets/index.asp");
addMenuItem(menuTop,"| Applications","http://www.polysoude.com/?spg=applications/index.asp");
addMenuItem(menuTop,"| Trainings & Services","#");
addMenuItem(menuTop,"<img src='http://www.polysoude.com/images/uk.gif' align='absmiddle' border='0'>","space");
addMenuItem(menuTop,"Your language <img src='http://www.polysoude.com/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="http://www.polysoude.com/themes/1/submenu/subMenuItemLeft.gif";
oSM.firstColWidth=20;
oSM.menuBckImage="http://www.polysoude.com/themes/1/submenu/subMenuItemBck.gif";
oSM.menuBckOver="http://www.polysoude.com/themes/1/submenu/subMenuItemBckOvr.gif";
oSM.width=150;
addMenuItem(oSM,"Orbital welding","#");
addMenuItem(oSM,"Mechanised welding","#");
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="http://www.polysoude.com/themes/1/submenu/subMenuItemLeft.gif";
oSM.firstColWidth=20;
oSM.menuBckImage="http://www.polysoude.com/themes/1/submenu/subMenuItemBck.gif";
oSM.menuBckOver="http://www.polysoude.com/themes/1/submenu/subMenuItemBckOvr.gif";
oSM.width=250;
addMenuItem(oSM,"Welding power sources","http://www.polysoude.com/?spg=products/orbitalwelding/powersources.asp");
addMenuItem(oSM,"Real time data acquisition systems","http://www.polysoude.com/?spg=products/orbitalwelding/rtdas.asp");
addMenuItem(oSM,"Closed chamber weld heads","http://www.polysoude.com/?spg=products/orbitalwelding/closedheads.asp");
addMenuItem(oSM,"Open weld heads","http://www.polysoude.com/?spg=products/orbitalwelding/openheads.asp")
addMenuItem(oSM,"Tube/Tube sheet weld heads","http://www.polysoude.com/?spg=products/orbitalwelding/ttsheetheads.asp")
addMenuItem(oSM,"Wire feeders","http://www.polysoude.com/?spg=products/orbitalwelding/wirefeeders.asp")
addMenuItem(oSM,"Special equipments orbital welding","http://www.polysoude.com/?spg=products/orbitalwelding/specialequipmentorbitalwelding.asp")



oSM=menuTop.menuItems[0].submenu;
oSM.menuItems[1].addSubmenu("v")
oSM=oSM.menuItems[1].submenu;
oSM.width=250;
addMenuItem(oSM,"Welding power sources","http://www.polysoude.com/?spg=products/mechanizedwelding/powersources.asp"); 
addMenuItem(oSM,"Real time data acquisition systems","http://www.polysoude.com/?spg=products/mechanizedwelding/rtdas.asp");
addMenuItem(oSM,"Welding manipulators / Peripherals","http://www.polysoude.com/?spg=products/mechanizedwelding/peripheralsweldingmanipulators.asp");
addMenuItem(oSM,"Electro-mechanical components","http://www.polysoude.com/?spg=products/mechanizedwelding/electromechanicalcomponents.asp");


oSM=menuTop.menuItems[0].submenu;
oSM.menuItems[2].addSubmenu("v")
oSM=oSM.menuItems[2].submenu;
oSM.width=200;
addMenuItem(oSM,"Tube-end preparation","http://www.polysoude.com/?spg=products/otherproducts/tubeendpreparation.asp");
addMenuItem(oSM,"Clamping systems","http://www.polysoude.com/?spg=products/otherproducts/clampingsystems.asp");
addMenuItem(oSM,"Purge systems","http://www.polysoude.com/?spg=products/otherproducts/purgesystems.asp");
addMenuItem(oSM,"Oxygen indicators","http://www.polysoude.com/?spg=products/otherproducts/oxygenindicators.asp");
addMenuItem(oSM,"Electrode grinding machines","http://www.polysoude.com/?spg=products/otherproducts/grindingmachines.asp");
addMenuItem(oSM,"Sharpened tungsten-electrodes","http://www.polysoude.com/?spg=products/otherproducts/sharpenedelectrodes.asp");

menuTop.menuItems[1].addSubmenu("v")
oSM=menuTop.menuItems[1].submenu;
oSM.width=320;
addMenuItem(oSM,"Semi-conductor industry","http://www.polysoude.com/?spg=markets/semiconductorindustry.asp");
addMenuItem(oSM,"Biochemistry","http://www.polysoude.com/?spg=markets/biochemistry.asp");
addMenuItem(oSM,"Instrumentation","http://www.polysoude.com/?spg=markets/instrumentation.asp");
addMenuItem(oSM,"Food and beverage</font>","http://www.polysoude.com/?spg=markets/foodandbeverage.asp");
addMenuItem(oSM,"Pharmaceutical industry","http://www.polysoude.com/?spg=markets/pharmaceuticalindustry.asp");
addMenuItem(oSM,"Chemical / Sanitary Industry","http://www.polysoude.com/?spg=markets/chemicalSanitaryindustry.asp");
addMenuItem(oSM,"Aeronautics / Aerospace","http://www.polysoude.com/?spg=markets/aeronauticsAerospace.asp");
addMenuItem(oSM,"Defence","http://www.polysoude.com/?spg=markets/defence.asp");
addMenuItem(oSM,"Boilers / Thermal transfer equipments","http://www.polysoude.com/?spg=markets/thermaltransferequipmentboiler.asp");
addMenuItem(oSM,"Heat exchangers / Thermal transfer equipments","http://www.polysoude.com/?spg=markets/thermaltransferequipmentheatexchangers.asp");
addMenuItem(oSM,"Nuclear applications","http://www.polysoude.com/?spg=markets/nuclearapplications.asp");
addMenuItem(oSM,"Power generation","http://www.polysoude.com/?spg=markets/powergeneration.asp");
addMenuItem(oSM,"Petrochemical industry","http://www.polysoude.com/?spg=markets/petrochemicalindustry.asp");
addMenuItem(oSM,"Pipeline laying on/off-shore","http://www.polysoude.com/?spg=markets/pipelinelaying.asp");
addMenuItem(oSM,"Small,medium and large series part assembly","http://www.polysoude.com/?spg=markets/smallmediumandlargeseriespartassembly.asp");
addMenuItem(oSM,"Cladding","http://www.polysoude.com/?spg=markets/cladding.asp");

var sImgAlt="http://www.polysoude.com/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=320;
addMenuItem(oSM,"Tube-Tube-(bend)-Fitting-Accessories","http://www.polysoude.com/?spg=applications/tubetubebendfittingaccessories.asp");
addMenuItem(oSM,"Tube-Return Bend","http://www.polysoude.com/?spg=applications/tubereturnbend.asp");
//addMenuItem(oSM,"Heavy duty and forged components","http://www.polysoude.com/?spg=applications/heavydutyandforgedcomponents.asp");
//addMenuItem(oSM,"Tube-tube–pipe–flanges–valves–accessories","http://www.polysoude.com/?spg=applications/tubetubepipeflangesvalvesaccessories.asp");
//addMenuItem(oSM,"Pipe-pipe","http://www.polysoude.com/?spg=applications/pipepipe.asp");
addMenuItem(oSM,"Tube-sheet","http://www.polysoude.com/?spg=applications/tubesheet.asp");
addMenuItem(oSM,"Tube-Header / Collector","http://www.polysoude.com/?spg=applications/tubeheadercollector.asp");
addMenuItem(oSM,"Internal bore welding","http://www.polysoude.com/?spg=applications/internalboreweldinglance.asp");
addMenuItem(oSM,"Heavy wall Tubes / Pipes","http://www.polysoude.com/?spg=applications/Heavywalltubesandpipes.asp");
addMenuItem(oSM,"Pipeline laying on/offshore","http://www.polysoude.com/?spg=applications/pipelinelayingonoffshore.asp");
addMenuItem(oSM,"Special equipment orbital welding","http://www.polysoude.com/?spg=applications/specialequipmentorbital.asp");
addMenuItem(oSM,"Special equipment mechanized welding","http://www.polysoude.com/?spg=applications/specialequipmentmechanized.asp");
addMenuItem(oSM,"Positioners / Rotators","http://www.polysoude.com/?spg=applications/positionerrotator.asp");
addMenuItem(oSM,"Columns & booms","http://www.polysoude.com/?spg=applications/columnboom.asp");
addMenuItem(oSM,"Welding lathes","http://www.polysoude.com/?spg=applications/weldinglathe.asp");
addMenuItem(oSM,"Seam welders","http://www.polysoude.com/?spg=applications/seamwelder.asp");
addMenuItem(oSM,"Cladding","http://www.polysoude.com/?spg=applications/cladding.asp");


menuTop.menuItems[3].addSubmenu("v")
oSM=menuTop.menuItems[3].submenu;
oSM.width=220;
addMenuItem(oSM,"Training","http://www.polysoude.com/?spg=training/training.asp");
addMenuItem(oSM,"Hiring","http://www.polysoude.com/?spg=training/hiring.asp");
addMenuItem(oSM,"Maintenance contracts","http://www.polysoude.com/?spg=training/maintenancecontracts.asp");
addMenuItem(oSM,"Commissioning","http://www.polysoude.com/?spg=training/commissioning.asp");
addMenuItem(oSM,"On site supervisors","http://www.polysoude.com/?spg=training/onsitesupervisors.asp");
addMenuItem(oSM,"Feasibility studies","http://www.polysoude.com/?spg=training/feasibilitystudies.asp");
addMenuItem(oSM,"Spare and Consumable parts","http://www.polysoude.com/?spg=training/consumablesandspareparts.asp");
addMenuItem(oSM,"Retrofit","http://www.polysoude.com/?spg=training/retrofit.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="http://www.polysoude.com/images/uk.gif" width="18" height="12" align="absmiddle" border="0"> English',"/?lang=en"+urlParam);
addMenuItem(oSM,'<img src="http://www.polysoude.com/images/fr.gif" width="18" height="12" align="absmiddle" border="0"> Français',"/?lang=fr");
addMenuItem(oSM,'<img src="http://www.polysoude.com/images/de.gif" width="18" height="12" align="absmiddle" border="0"> Deutsch',"/?lang=de");
//addMenuItem(oSM,'<img src="http://www.polysoude.com/images/images/ru.gif" width="18" height="12" align="absmiddle" border="0"> Pycckий',"?lang=ru");
//addMenuItem(oSM,'<img src="http://www.polysoude.com/images/images/it.gif" width="18" height="12" align="absmiddle" border="0"> Italiano',"?lang=it");
//addMenuItem(oSM,'<img src="http://www.polysoude.com/images/images/es.gif" width="18" height="12" align="absmiddle" border="0"> Español',"?lang=es");
//addMenuItem(oSM,'<img src="http://www.polysoude.com/images/images/cn.gif" width="18" height="12" align="absmiddle" border="0"> 中文',"?lang=cn");
addMenuItem(oSM,'<img src="http://www.polysoude.com/images/us.gif" width="18" height="12" align="absmiddle" border="0"> USA',"/?lang=us");


menuLeft=new menuBar();
menuLeft.width=153
menuLeft.height=120
menuLeft.posTop=131
menuLeft.posLeft=1
menuLeft.centerOnWindow=778;
menuLeft.spacerImage="";
menuLeft.firstImage="";
menuLeft.lastImage="";
menuLeft.menuBckImage="http://www.polysoude.com/themes/1/leftMenuItemBck.gif";
menuLeft.menuBckOver="http://www.polysoude.com/themes/1/leftMenuItemBck_ovr.gif";
menuLeft.itemClass="leftMenu";
menuLeft.itemClassOver="leftMenuOver";
menuLeft.direction="v";
menuLeft.itemHeight=22;
menuLeft.menuID="menuLeft"

addMenuItem(menuLeft,":: About us","http://www.polysoude.com/?spg=aboutus/corporateprofile.asp");
addMenuItem(menuLeft,":: Polysoude worldwide","http://www.polysoude.com/?spg=worldwide/index.asp");
addMenuItem(menuLeft,":: Fairs / Events","http://www.polysoude.com/?spg=fairsandevents/index.asp");
addMenuItem(menuLeft,":: Job opportunities","http://www.polysoude.com/?spg=forms/joinus.asp");
addMenuItem(menuLeft,":: Contact us","http://www.polysoude.com/?spg=forms/contact.asp&swhat=contact");

menuLeft.menuItems[0].addSubmenu("v")
oSM=menuLeft.menuItems[0].submenu;
oSM.width=240;

addMenuItem(oSM,"Corporate profile","http://www.polysoude.com/?spg=aboutus/corporateprofile.asp");
addMenuItem(oSM,"Subsidiaries / Representation offices","http://www.polysoude.com/?spg=aboutus/locationsubsidiaries.asp");
addMenuItem(oSM,"IGM group","http://www.polysoude.com/?spg=aboutus/igmgroup.asp");

//menuLeft.menuItems[4].addSubmenu("v")
//oSM=menuLeft.menuItems[4].submenu;
//oSM.width=180;

//addMenuItem(oSM,"Contact us","http://www.polysoude.com/?spg=forms/training.asp&swhat=contact");
//addMenuItem(oSM,"Employment opportunities","http://www.polysoude.com/?spg=forms/joinus.asp");