<!--
function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_showHideLayers() { //v2.0
  var i, visStr, args, theObj;
  args = MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
    visStr   = args[i+2];
    if (navigator.appName == 'Netscape' && document.layers != null) {
      theObj = eval(args[i]);
      if (theObj) theObj.visibility = visStr;
    } else if (document.all != null) { //IE
      if (visStr == 'show') visStr = 'visible'; //convert vals
      if (visStr == 'hide') visStr = 'hidden';
      theObj = eval(args[i+1]);
      if (theObj) theObj.style.visibility = visStr;
  } }
}

function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; 
  //used for restore
}

function MM_displayStatusMsg(msgStr)  //v2.0
{

	window.status=msgStr;

	document.MM_returnValue = true;
}

function flashwin(newPage)
{
plat = ((navigator.platform.indexOf('Win') > -1) ? "win" : "mac");
browse = navigator.appName;
var version = navigator.appVersion;

if (plat=='mac')
 {
  if (browse == 'Microsoft Internet Explorer')
   {
    if (navigator.appVersion.indexOf('5.0') > -1)
     {window.open(newPage,'movie','toolbar=no,location=no,width=766,height=527')}
     else if (navigator.appVersion.indexOf('4.5') > -1)
     {window.open(newPage,'movie','toolbar=no,location=no,width=790,height=532')}
   }
 }
else {window.open(newPage,'movie','toolbar=no,location=no,width=780,height=542')}
}

function CallCatalog() {
  return 'http://catalog.gelighting.com/cgi-bin/gx.cgi/AppLogic+FTContentServer?pagename=GE_Lighting/Catalog/Production_www/home';
}

function CallCatalogPlus(theRest) {
  window.open('http://catalog.gelighting.com/cgi-bin/gx.cgi/AppLogic+FTContentServer?pagename=GE_Lighting/Catalog/Production_www/home' + theRest, '_self') ;
}
function SearchCatalog(theRest) {
  window.open('http://catalog.gelighting.com/cgi-bin/gx.cgi/AppLogic+FTContentServer?pagename=GE_Lighting/Catalog/Production_www/search' + theRest, '_self') ;
}
function loadwizard(wizardname, option){
if (wizardname == "productoptimizer")
{window.open('http://www.gelighting.com/na/wizard/optimizer/','','width=733,status=yes,resizable=yes,scrollbars=yes','true');   } 
else if (wizardname == "energyoptimizer")
{window.open('http://www.gelighting.com/na/wizard/energyoptimizer/','','width=733,status=yes,resizable=yes,scrollbars=yes','true');   } 

else if (wizardname == "energyoptimizereu")
{window.open('http://www.gelighting.com/eu/wizard/energyoptimiser/','','width=733,status=yes,resizable=yes,scrollbars=yes','true');   } 

else if (wizardname == "energyoptimizerapo")
{window.open('http://www.gelighting.com/eu/wizard/energyoptimiser/','','width=733,status=yes,resizable=yes,scrollbars=yes','true');   } 

else if (wizardname == "productoptimizereu")
{window.open('http://www.gelighting.com/eu/wizard/productoptimiser/','','width=733,status=yes,resizable=yes,scrollbars=yes','true');   } 

else if (wizardname == "productoptimizerapo")
{window.open('http://www.gelighting.com/eu/wizard/productoptimiser/','','width=733,status=yes,resizable=yes,scrollbars=yes','true');   } 

else if (wizardname == "virtualdesignereu")
{window.open('http://www.gelighting.com/eu/wizard/virtualdesigner/index.html' + option,'','width=710, height=550,status=yes,resizable=no, menubar=no, toolbar=no, scrollbars=no','true');  }   

else if (wizardname == "virtualdesignerapo")
{window.open('http://www.gelighting.com/eu/wizard/virtualdesigner/index.html' + option,'','width=710, height=550,status=yes,resizable=no, menubar=no, toolbar=no, scrollbars=no','true'); }   

else if (wizardname == "virtualdesigner")
{
//window.open('http://www.gelighting.com/na/wizard/virtualdesigner/index.html' + option,'','width=710, height=550,status=yes,resizable=no, menubar=no, toolbar=no, scrollbars=no','true');
window.open('http://www.gelighting.com/na/wizard/virtualdesigner/index.html' + option,'', 'width=765,height=575,status=yes,resizable=no,scrollbars=no,menubar=no, toolbar=no,screenX=50,screenY=100,top=100,left=50','true');
  }   
else if (wizardname == "automotive")
{window.open("http://catalog.gelighting.com/cgi-bin/gx.cgi/AppLogic+FTContentServer?pagename=GE_Lighting/Wizards/Automotive/intro","auto",'width=426,height=392,screenX=20,screenY=20,top=20,left=20');  }
}

function loadvh(roomname)
{ if (roomname == "")
 {window.open('http://www.gelighting.com/na/virtualhouse/index.html','virtualhouse');}
  else
{window.open('http://www.gelighting.com/na/virtualhouse/'+roomname,'virtualhouse');}
}

function confirmsite(url)  //spanish site
{ if (confirm("Ahora va a entrar en la página de GE Lighting Europa El contenido que aparecerá a continuacion está en inglés"))
   { window.open(url,'newwindow') }
}

function confirmsiteit(url)  //italian site
{ if (confirm("Ahora va a entrar en la página de GE Lighting Europa El contenido que aparecerá a continuacion está en inglés"))
   { window.open(url,'newwindow') }
}

function confirmsitese(url) //swedish site
{ if (confirm("Ahora va a entrar en la página de GE Lighting Europa El contenido que aparecerá a continuacion está en inglés"))
   { window.open(url,'newwindow') }
}

function confirmsitefr(url) //french site 
{ if (confirm("Ahora va a entrar en la página de GE Lighting Europa El contenido que aparecerá a continuacion está en inglés"))
   { window.open(url,'newwindow') }
}

function confirmsitede(url) // German site
{ if (confirm("Ahora va a entrar en la página de GE Lighting Europa El contenido que aparecerá a continuacion está en inglés"))
   { window.open(url,'newwindow') }
}
function openPDF(pdfFile)
{
      window.open(pdfFile, 'pdffile', 
            'location=no,menubar=no,status=no,directories=no');
}
function openSavers(newUrl)
{      
 aPopup = window.open(newUrl,'windowName','toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=350,height=250');
}

function openWindow(newUrl)

{        aPopup = window.open(newUrl,'windowName','toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=400,height=375');

}


function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

function fnCheckCookiesCon(thisform)
{
	var SelText = document.cookie;
	var LastInd = SelText.lastIndexOf("consumer_email=");

	if(LastInd != -1)
	{
		MM_openBrWindow('http://www.gelighting.com/eu/thelight/consumer_questions.htm','popup','width=300,height=400')

	}
	else
	{
		MM_openBrWindow('http://www.gelighting.com/eu/thelight/consumer_1stscreen.html','popup','width=300,height=450')


	}
}

function fnCheckCookiesBus()
{
	var SelText = document.cookie;
	var LastInd = SelText.lastIndexOf("business_email=");


	if(LastInd != "-1")
	{
				MM_openBrWindow('http://www.gelighting.com/eu/thelight/business_questions.htm','popup','width=350,height=400')

	}
	else
	{
				MM_openBrWindow('http://www.gelighting.com/eu/thelight/business_1stscreen.html','popup','width=300,height=475')

	}
}

// end of e-promo Europe
//-->