var idout; var valPageLoaded = 0; var isMinNS4 = (navigator.appName.indexOf("Netscape") >= 0 && parseFloat(navigator.appVersion) >= 4) ? 1 : 0; var isMinIE4 = (document.all) ? 1 : 0; var isMinIE5 = (isMinIE4 && navigator.appVersion.indexOf("5.")) >= 0 ? 1 : 0; function RollOver( img ) { if( isMinNS4 || isMinIE4 ) { document.images[ img ].src = 'http://media.comrax.com/Images/herbalife.co.il/header-menu-' + img + '-on.gif'; } } function RollOut( img ) { if( isMinNS4 || isMinIE4 ) { document.images[ img ].src = 'http://media.comrax.com/Images/herbalife.co.il/header-menu-' + img + '.gif'; } } function LoadImages( ) { if( isMinNS4 || isMinIE4 ) { img1 = new Image( ); img2 = new Image( ); img3 = new Image( ); img4 = new Image( ); img5 = new Image( ); img6 = new Image( ); img7 = new Image( ); img8 = new Image( ); img1.src = "http://media.comrax.com/Images/herbalife.co.il/"; img2.src = "http://media.comrax.com/Images/herbalife.co.il/"; img3.src = "http://media.comrax.com/Images/herbalife.co.il/"; img4.src = "http://media.comrax.com/Images/herbalife.co.il/"; img5.src = "http://media.comrax.com/Images/herbalife.co.il/"; img6.src = "http://media.comrax.com/Images/herbalife.co.il/"; img7.src = "http://media.comrax.com/Images/herbalife.co.il/"; img8.src = "http://media.comrax.com/Images/herbalife.co.il/"; } } LoadImages( ); function DoNothing( ) { } function openmenuabout( menu ) { document.getElementById('about').style.visibility = "visible"; } function closemenuabout( menu ) { document.getElementById('about').style.visibility = "hidden"; } function openmenuprod( menu ) { document.getElementById('product').style.visibility = "visible"; } function closemenuprod( menu ) { document.getElementById('product').style.visibility = "hidden"; } function openmenutech( menu ) { document.getElementById('technology').style.visibility = "visible"; } function closemenutech( menu ) { document.getElementById('technology').style.visibility = "hidden"; } function openmenuwork( menu ) { document.getElementById('working').style.visibility = "visible"; } function closemenuwork( menu ) { document.getElementById('working').style.visibility = "hidden"; } function openmenunews( menu ) { document.getElementById('news').style.visibility = "visible"; } function closemenunews( menu ) { document.getElementById('news').style.visibility = "hidden"; } function showmenu( ) { if( isMinIE4 ) { document.getElementById('aboutMenu').style.visibility = "visible"; } } function showmenuProd( ) { if( isMinIE4 ) { document.getElementById('ProdMenu').style.visibility = "visible"; } } function hidewithdelay( ) { setTimeout( "hidemenu( )", 1000 ); } function hidemenu( ) { if( isMinIE4 ) { document.getElementById('aboutMenu').style.visibility = "hidden"; } } function hidemenuProd( ) { if( isMinIE4 ) { document.getElementById('ProdMenu').style.visibility = "hidden"; } } function showMymenu( id ) { document.getElementById( id ).style.visibility = "visible"; } function hideMymenu( id ) { document.getElementById( id ).style.visibility = "hidden"; } // Specify the marquee's width (in pixels) var marqueewidth = "100%"; // Specify the marquee's height var marqueeheight = "100%"; // Specify the marquee's scroll speed (larger is faster) var speed = 1; //Specify the marquee contents var marqueecontents = ''; function openCenterWidthWindow( url, wd, scroll ) { d = ( screen.width - wd )/2; window.open(url,'','top=0,left=' + d + ',width=' + wd + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=' + scroll + ',resizable=' + scroll + '').focus(); } function open_gh() { openCenterWidthWindow( '/generationh/', 696, 'yes' ); } function close_gh() { window.opener.document.location.href = "/opp_start/"; window.close(); }