function rollMe(whichOne){ if (whichOne == "home") document.getElementById('home').style.backgroundPosition = "0px -74px"; if (whichOne == "aboutus") document.getElementById('aboutus').style.backgroundPosition = "0px -74px"; if (whichOne == "products") document.getElementById('products').style.backgroundPosition = "0px -74px"; if (whichOne == "processing") document.getElementById('processing').style.backgroundPosition = "0px -74px"; if (whichOne == "quality") document.getElementById('quality').style.backgroundPosition = "0px -74px"; if (whichOne == "contact_us") document.getElementById('contact_us').style.backgroundPosition = "0px -74px"; } function rollMe2(whichOne){ if (whichOne == "innovation") document.getElementById('innovation').style.backgroundPosition = "0px -36px"; if (whichOne == "policy") document.getElementById('policy').style.backgroundPosition = "0px -36px"; if (whichOne == "affiliation") document.getElementById('affiliation').style.backgroundPosition = "0px -36px"; if (whichOne == "contact") document.getElementById('contact').style.backgroundPosition = "0px -36px"; } function rollMe3(whichOne){ if (whichOne == "casing") document.getElementById('casing').style.backgroundPosition = "0px -36px"; if (whichOne == "tubing") document.getElementById('tubing').style.backgroundPosition = "0px -36px"; if (whichOne == "pupjoints") document.getElementById('pupjoints').style.backgroundPosition = "0px -36px"; if (whichOne == "tubingcouplings") document.getElementById('tubingcouplings').style.backgroundPosition = "0px -36px"; if (whichOne == "casingcouplings") document.getElementById('casingcouplings').style.backgroundPosition = "0px -36px"; if (whichOne == "linepipe") document.getElementById('linepipe').style.backgroundPosition = "0px -36px"; if (whichOne == "tooljoints") document.getElementById('tooljoints').style.backgroundPosition = "0px -36px"; if (whichOne == "drillpipe") document.getElementById('drillpipe').style.backgroundPosition = "0px -36px"; } function rollMe4(whichOne){ if (whichOne == "upsetting") document.getElementById('upsetting').style.backgroundPosition = "0px -36px"; if (whichOne == "heattreat") document.getElementById('heattreat').style.backgroundPosition = "0px -36px"; if (whichOne == "inertia") document.getElementById('inertia').style.backgroundPosition = "0px -36px"; if (whichOne == "hotsizing") document.getElementById('hotsizing').style.backgroundPosition = "0px -36px"; if (whichOne == "straightening") document.getElementById('straightening').style.backgroundPosition = "0px -36px"; if (whichOne == "hydrotesting") document.getElementById('hydrotesting').style.backgroundPosition = "0px -36px"; if (whichOne == "endfinishing") document.getElementById('endfinishing').style.backgroundPosition = "0px -36px"; if (whichOne == "sawing") document.getElementById('sawing').style.backgroundPosition = "0px -36px"; if (whichOne == "cnc") document.getElementById('cnc').style.backgroundPosition = "0px -36px"; } function rollMe5(whichOne){ if (whichOne == "incoming") document.getElementById('incoming').style.backgroundPosition = "0px -36px"; if (whichOne == "traceability") document.getElementById('traceability').style.backgroundPosition = "0px -36px"; if (whichOne == "emi") document.getElementById('emi').style.backgroundPosition = "0px -36px"; if (whichOne == "ultrasonic") document.getElementById('ultrasonic').style.backgroundPosition = "0px -36px"; if (whichOne == "upset") document.getElementById('upset').style.backgroundPosition = "0px -36px"; if (whichOne == "sea") document.getElementById('sea').style.backgroundPosition = "0px -36px"; if (whichOne == "threading") document.getElementById('threading').style.backgroundPosition = "0px -36px"; if (whichOne == "lab") document.getElementById('lab').style.backgroundPosition = "0px -36px"; } function rollMeorganization(whichOne){ if (whichOne == "organization_menu_innovation") { document.getElementById('organization_menu_innovation').style.backgroundPosition = "0px -26px"; document.getElementById('organization_img').style.backgroundPosition = "0px 0px"; } if (whichOne == "organization_menu_policy") { document.getElementById('organization_menu_policy').style.backgroundPosition = "0px -26px"; document.getElementById('organization_img').style.backgroundPosition = "-230px 0px"; } if (whichOne == "organization_menu_affiliation") { document.getElementById('organization_menu_affiliation').style.backgroundPosition = "0px -26px"; document.getElementById('organization_img').style.backgroundPosition = "-460px 0px"; } if (whichOne == "organization_menu_contact") { document.getElementById('organization_menu_contact').style.backgroundPosition = "0px -26px"; document.getElementById('organization_img').style.backgroundPosition = "-690px 0px"; } } function rollMeproducts(whichOne){ if (whichOne == "products_menu_casing") { document.getElementById('products_menu_casing').style.backgroundPosition = "0px -26px"; document.getElementById('products_img').style.backgroundPosition = "0px 0px"; } if (whichOne == "products_menu_tubing") { document.getElementById('products_menu_tubing').style.backgroundPosition = "0px -26px"; document.getElementById('products_img').style.backgroundPosition = "-230px 0px"; } if (whichOne == "products_menu_pupjoints") { document.getElementById('products_menu_pupjoints').style.backgroundPosition = "0px -26px"; document.getElementById('products_img').style.backgroundPosition = "-460px 0px"; } if (whichOne == "products_menu_tubingcouplings") { document.getElementById('products_menu_tubingcouplings').style.backgroundPosition = "0px -26px"; document.getElementById('products_img').style.backgroundPosition = "-690px 0px"; } if (whichOne == "products_menu_linepipe") { document.getElementById('products_menu_linepipe').style.backgroundPosition = "0px -26px"; document.getElementById('products_img').style.backgroundPosition = "0px -325px"; } if (whichOne == "products_menu_casingcouplings") { document.getElementById('products_menu_casingcouplings').style.backgroundPosition = "0px -26px"; document.getElementById('products_img').style.backgroundPosition = "-230px -325px"; } if (whichOne == "products_menu_tooljoints") { document.getElementById('products_menu_tooljoints').style.backgroundPosition = "0px -26px"; document.getElementById('products_img').style.backgroundPosition = "-460px -325px"; } if (whichOne == "products_menu_drillpipe") { document.getElementById('products_menu_drillpipe').style.backgroundPosition = "0px -26px"; document.getElementById('products_img').style.backgroundPosition = "-690px -325px"; } } function rollMeprocessing(whichOne){ if (whichOne == "processing_menu_upsetting") { document.getElementById('processing_menu_upsetting').style.backgroundPosition = "0px -26px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } if (whichOne == "processing_menu_heattreatment") { document.getElementById('processing_menu_heattreatment').style.backgroundPosition = "0px -26px"; document.getElementById('processing_img').style.backgroundPosition = "-230px 0px"; } if (whichOne == "processing_menu_inertia") { document.getElementById('processing_menu_inertia').style.backgroundPosition = "0px -26px"; document.getElementById('processing_img').style.backgroundPosition = "-690px 0px"; } if (whichOne == "processing_menu_hotsizing") { document.getElementById('processing_menu_hotsizing').style.backgroundPosition = "0px -26px"; document.getElementById('processing_img').style.backgroundPosition = "0px -325px"; } if (whichOne == "processing_menu_straightening") { document.getElementById('processing_menu_straightening').style.backgroundPosition = "0px -26px"; document.getElementById('processing_img').style.backgroundPosition = "-230px -325px"; } if (whichOne == "processing_menu_hydrotesting") { document.getElementById('processing_menu_hydrotesting').style.backgroundPosition = "0px -26px"; document.getElementById('processing_img').style.backgroundPosition = "-460px -325px"; } if (whichOne == "processing_menu_endfinishing") { document.getElementById('processing_menu_endfinishing').style.backgroundPosition = "0px -26px"; document.getElementById('processing_img').style.backgroundPosition = "-690px -325px"; } if (whichOne == "processing_menu_sawing") { document.getElementById('processing_menu_sawing').style.backgroundPosition = "0px -26px"; document.getElementById('processing_img').style.backgroundPosition = "0px -650px"; } if (whichOne == "processing_menu_cnc") { document.getElementById('processing_menu_cnc').style.backgroundPosition = "0px -26px"; document.getElementById('processing_img').style.backgroundPosition = "-230px -650px"; } } function rollMequality(whichOne){ if (whichOne == "quality_menu_incoming") { document.getElementById('quality_menu_incoming').style.backgroundPosition = "0px -26px"; document.getElementById('quality_img').style.backgroundPosition = "0px 0px"; } if (whichOne == "quality_menu_traceability") { document.getElementById('quality_menu_traceability').style.backgroundPosition = "0px -26px"; document.getElementById('quality_img').style.backgroundPosition = "-230px 0px"; } if (whichOne == "quality_menu_emi") { document.getElementById('quality_menu_emi').style.backgroundPosition = "0px -26px"; document.getElementById('quality_img').style.backgroundPosition = "-460px 0px"; } if (whichOne == "quality_menu_ultrasonic") { document.getElementById('quality_menu_ultrasonic').style.backgroundPosition = "0px -26px"; document.getElementById('quality_img').style.backgroundPosition = "-690px 0px"; } if (whichOne == "quality_menu_upset") { document.getElementById('quality_menu_upset').style.backgroundPosition = "0px -26px"; document.getElementById('quality_img').style.backgroundPosition = "0px -325px"; } if (whichOne == "quality_menu_sea") { document.getElementById('quality_menu_sea').style.backgroundPosition = "0px -26px"; document.getElementById('quality_img').style.backgroundPosition = "-230px -325px"; } if (whichOne == "quality_menu_threading") { document.getElementById('quality_menu_threading').style.backgroundPosition = "0px -26px"; document.getElementById('quality_img').style.backgroundPosition = "-460px -325px"; } if (whichOne == "quality_menu_lab") { document.getElementById('quality_menu_lab').style.backgroundPosition = "0px -26px"; document.getElementById('quality_img').style.backgroundPosition = "-690px -325px"; } } function rolloff(whichOne){ if (whichOne != "home") document.getElementById('home').style.backgroundPosition = "0px 0px"; if (whichOne != "aboutus") document.getElementById('aboutus').style.backgroundPosition = "0px 0px"; if (whichOne != "products") document.getElementById('products').style.backgroundPosition = "0px 0px"; if (whichOne != "processing") document.getElementById('processing').style.backgroundPosition = "0px 0px"; if (whichOne != "quality") document.getElementById('quality').style.backgroundPosition = "0px 0px"; if (whichOne != "contact_us") document.getElementById('contact_us').style.backgroundPosition = "0px 0px"; } function rolloff2(whichOne){ if (whichOne != "innovation") document.getElementById('innovation').style.backgroundPosition = "0px 0px"; if (whichOne != "policy") document.getElementById('policy').style.backgroundPosition = "0px 0px"; if (whichOne != "affiliation") document.getElementById('affiliation').style.backgroundPosition = "0px 0px"; if (whichOne != "contact") document.getElementById('contact').style.backgroundPosition = "0px 0px"; } function rolloff3(whichOne){ if (whichOne != "casing") document.getElementById('casing').style.backgroundPosition = "0px 0px"; if (whichOne != "tubing") document.getElementById('tubing').style.backgroundPosition = "0px 0px"; if (whichOne != "pupjoints") document.getElementById('pupjoints').style.backgroundPosition = "0px 0px"; if (whichOne != "tubingcouplings") document.getElementById('tubingcouplings').style.backgroundPosition = "0px 0px"; if (whichOne != "casingcouplings") document.getElementById('casingcouplings').style.backgroundPosition = "0px 0px"; if (whichOne != "linepipe") document.getElementById('linepipe').style.backgroundPosition = "0px 0px"; if (whichOne != "tooljoints") document.getElementById('tooljoints').style.backgroundPosition = "0px 0px"; if (whichOne != "drillpipe") document.getElementById('drillpipe').style.backgroundPosition = "0px 0px"; } function rolloff4(whichOne){ if (whichOne != "upsetting") document.getElementById('upsetting').style.backgroundPosition = "0px 0px"; if (whichOne != "heattreat") document.getElementById('heattreat').style.backgroundPosition = "0px 0px"; if (whichOne != "inertia") document.getElementById('inertia').style.backgroundPosition = "0px 0px"; if (whichOne != "hotsizing") document.getElementById('hotsizing').style.backgroundPosition = "0px 0px"; if (whichOne != "straightening") document.getElementById('straightening').style.backgroundPosition = "0px 0px"; if (whichOne != "hydrotesting") document.getElementById('hydrotesting').style.backgroundPosition = "0px 0px"; if (whichOne != "endfinishing") document.getElementById('endfinishing').style.backgroundPosition = "0px 0px"; if (whichOne != "sawing") document.getElementById('sawing').style.backgroundPosition = "0px 0px"; if (whichOne != "cnc") document.getElementById('cnc').style.backgroundPosition = "0px 0px"; } function rolloff5(whichOne){ if (whichOne != "incoming") document.getElementById('incoming').style.backgroundPosition = "0px 0px"; if (whichOne != "traceability") document.getElementById('traceability').style.backgroundPosition = "0px 0px"; if (whichOne != "emi") document.getElementById('emi').style.backgroundPosition = "0px 0px"; if (whichOne != "ultrasonic") document.getElementById('ultrasonic').style.backgroundPosition = "0px 0px"; if (whichOne != "upset") document.getElementById('upset').style.backgroundPosition = "0px 0px"; if (whichOne != "sea") document.getElementById('sea').style.backgroundPosition = "0px 0px"; if (whichOne != "threading") document.getElementById('threading').style.backgroundPosition = "0px 0px"; if (whichOne != "lab") document.getElementById('lab').style.backgroundPosition = "0px 0px"; } function rollOfforganization(whichOne){ if (whichOne != "organization_menu_innovation") { document.getElementById('organization_menu_innovation').style.backgroundPosition = "0px 0px"; document.getElementById('organization_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "organization_menu_policy") { document.getElementById('organization_menu_policy').style.backgroundPosition = "0px 0px"; document.getElementById('organization_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "organization_menu_affiliation") { document.getElementById('organization_menu_affiliation').style.backgroundPosition = "0px 0px"; document.getElementById('organization_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "organization_menu_contact") { document.getElementById('organization_menu_contact').style.backgroundPosition = "0px 0px"; document.getElementById('organization_img').style.backgroundPosition = "0px 0px"; } } function rollOffproducts(whichOne){ if (whichOne != "products_menu_casing") { document.getElementById('products_menu_casing').style.backgroundPosition = "0px 0px"; document.getElementById('products_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "products_menu_tubing") { document.getElementById('products_menu_tubing').style.backgroundPosition = "0px 0px"; document.getElementById('products_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "products_menu_pupjoints") { document.getElementById('products_menu_pupjoints').style.backgroundPosition = "0px 0px"; document.getElementById('products_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "products_menu_tubingcouplings") { document.getElementById('products_menu_tubingcouplings').style.backgroundPosition = "0px 0px"; document.getElementById('products_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "products_menu_casingcouplings") { document.getElementById('products_menu_casingcouplings').style.backgroundPosition = "0px 0px"; document.getElementById('products_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "products_menu_linepipe") { document.getElementById('products_menu_linepipe').style.backgroundPosition = "0px 0px"; document.getElementById('products_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "products_menu_tooljoints") { document.getElementById('products_menu_tooljoints').style.backgroundPosition = "0px 0px"; document.getElementById('products_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "products_menu_drillpipe") { document.getElementById('products_menu_drillpipe').style.backgroundPosition = "0px 0px"; document.getElementById('products_img').style.backgroundPosition = "0px 0px"; } } function rollOffprocessing(whichOne){ if (whichOne != "processing_menu_upsetting") { document.getElementById('processing_menu_upsetting').style.backgroundPosition = "0px 0px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "processing_menu_heattreatment") { document.getElementById('processing_menu_heattreatment').style.backgroundPosition = "0px 0px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "processing_menu_inertia") { document.getElementById('processing_menu_inertia').style.backgroundPosition = "0px 0px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "processing_menu_hotsizing") { document.getElementById('processing_menu_hotsizing').style.backgroundPosition = "0px 0px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "processing_menu_straightening") { document.getElementById('processing_menu_straightening').style.backgroundPosition = "0px 0px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "processing_menu_hydrotesting") { document.getElementById('processing_menu_hydrotesting').style.backgroundPosition = "0px 0px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "processing_menu_endfinishing") { document.getElementById('processing_menu_endfinishing').style.backgroundPosition = "0px 0px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "processing_menu_sawing") { document.getElementById('processing_menu_sawing').style.backgroundPosition = "0px 0px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "processing_menu_cnc") { document.getElementById('processing_menu_cnc').style.backgroundPosition = "0px 0px"; document.getElementById('processing_img').style.backgroundPosition = "0px 0px"; } } function rollOffquality(whichOne){ if (whichOne != "quality_menu_incoming") { document.getElementById('quality_menu_incoming').style.backgroundPosition = "0px 0px"; document.getElementById('quality_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "quality_menu_traceability") { document.getElementById('quality_menu_traceability').style.backgroundPosition = "0px 0px"; document.getElementById('quality_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "quality_menu_emi") { document.getElementById('quality_menu_emi').style.backgroundPosition = "0px 0px"; document.getElementById('quality_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "quality_menu_ultrasonic") { document.getElementById('quality_menu_ultrasonic').style.backgroundPosition = "0px 0px"; document.getElementById('quality_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "quality_menu_upset") { document.getElementById('quality_menu_upset').style.backgroundPosition = "0px 0px"; document.getElementById('quality_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "quality_menu_sea") { document.getElementById('quality_menu_sea').style.backgroundPosition = "0px 0px"; document.getElementById('quality_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "quality_menu_threading") { document.getElementById('quality_menu_threading').style.backgroundPosition = "0px 0px"; document.getElementById('quality_img').style.backgroundPosition = "0px 0px"; } if (whichOne != "quality_menu_lab") { document.getElementById('quality_menu_lab').style.backgroundPosition = "0px 0px"; document.getElementById('quality_img').style.backgroundPosition = "0px 0px"; } }