<!--
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
  setTimeout("status='" + msgStr + "'", 50);
  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('../wizard/virtualdesigner/index.html' + option,'','width=710, height=550,status=yes,resizable=no, menubar=no, toolbar=no, scrollbars=no','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)
{ 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') }
}
//-->