  var message="Thank you for visiting Lumenton.com!"; 
  function click(e)    
  { 
    
    if (document.all) 
    { 
      if (event.button == 2) 
      { 
        alert(message); 
        return false;    
      } 
    } 
    if (document.layers) 
    { 
      if (e.which == 3) 
      {  
        alert(message); 
        return false;    
       } 
    } 
  } 
  /////////////////////////////////////////////////
  if (document.layers) 
  { 
    document.captureEvents(Event.MOUSEDOWN); 
  } 
  document.onmousedown=click;    

function popup(Site){
  window.open(Site, '','toolbar=no,statusbar=no,location=no,scrollbars=yes,resizable=yes,width=600,height=400')
}    
  

function tmt_backtoframe(myframe) {
    if (top == self) {
        self.location.href = myframe;
    }
}
   

function createWindow(cUrl,cName,cFeatures) {
var xWin = window.open(cUrl,cName,cFeatures)
}


function preLoadImages(){
var t='<layer top="-100" left="0" visibility="hide"><div style="position:absolute; top:-100px; left:0px; visibility:hidden">';
for(i=0;i<arguments.length;i++)t+='<img src="'+arguments[i]+'" height="10" width="10">';
t+='</div></layer>';
document.write(t);
}


 
function swapImage(imgN,imgU){
if(document.images)document.images[imgN].src=imgU;
}

function createWindow(cUrl,cName,cFeatures) {
var xWin = window.open(cUrl,cName,cFeatures)
}

function FrontPage_Form1_Validator(theForm)
{
  if (theForm.lamp_source.selectedIndex == 0)
  {
    alert("The first \"Narrow Search\" option is not a valid selection.  Please choose one of the other options.");
    theForm.lamp_source.focus();
    return (false);
  }
  return (true);
}
function FrontPage_Form2_Validator(theForm)
{

  if (theForm.lamp_type.selectedIndex == 0)
  {
    alert("The first \"Narrow Search\" option is not a valid selection.  Please choose one of the other options.");
    theForm.lamp_type.focus();
    return (false);
  }
  return (true);
}

function FrontPage_Form3_Validator(theForm)
{

  if (theForm.lamp_voltage.selectedIndex == 0)
  {
    alert("The first \"Narrow Search\" option is not a valid selection.  Please choose one of the other options.");
    theForm.lamp_voltage.focus();
    return (false);
  }
  return (true);
}

function FrontPage_Form4_Validator(theForm)
{

  if (theForm.lamp_finish.selectedIndex == 0)
  {
    alert("The first \"Narrow Search\" option is not a valid selection.  Please choose one of the other options.");
    theForm.lamp_finish.focus();
    return (false);
  }
  return (true);
}
