﻿// JScript File
//   Add the Following Line to the page to include scripts 
//  <script language="javascript" src="scripts/TableRowRollover.js"></script>

    function ChangeRowColor(tableRow, OverOut)
    {
   // box = eval("document.forms[0]." + name) ;
  
   // highLight = box.checked ;
    
     if (OverOut == 'over')
     {
       tableRow.style.backgroundImage = 'url(Images/GreenBG_glass.gif)';    //BG.gif)';
   
     }
      else if (OverOut == 'btnOver')
      {
       tableRow.style.backgroundColor = '#ff6666';
      }
      else if (OverOut == 'btnOut')
      {
       tableRow.style.backgroundColor = '';
      }
     else
     {
       tableRow.style.backgroundImage = 'url()';
     }
    }
  
  function DoNav(theUrl)
  {
  document.location.href = theUrl;
  }
  
  function chkBx(name)
  {
  box = eval("document.forms[0]." + name) ;
  box.checked = !box.checked;
  }
    
  // box = eval("document.forms[0]." + name) ;
  
   // highLight = box.checked ;
  
  
  function ChangeCellColor(obj, bgColor)
    { obj.style.backgroundColor = bgColor; }
    
  function ChangeFontSize(obj, Fsize)
  { obj.style.fontSize = Fsize ; }
  
  function ChangeBackImage(obj, bgImg)
  {obj.style.backgroundImage = 'url('+ bgImg +')';}
  
  function submitForm(qString)
  { 
  document.forms[0].action="?"+qString ;  
  document.forms[0].submit() ; 
  }
  
