//  Gradual-Highlight Image Script- © Dynamic Drive (www.dynamicdrive.com)
//  For full source code, installation instructions,
//  100's more DHTML scripts, and Terms Of Use, visit dynamicdrive.com 

function high(which2){
  theobject=which2
  highlighting=setInterval("highlightit(theobject)",20)
}
function low(which2){
  clearInterval(highlighting)
  which2.filters.alpha.opacity=80
}

function highlightit(cur2){
  if (cur2.filters.alpha.opacity<100)
    cur2.filters.alpha.opacity+=5
  else if (window.highlighting)
    clearInterval(highlighting)
}

// Navigation script by Karl E. Peterson - www.mvps.org/vb/
// FrontPage check script by Randy Birch - vbnet.mvps.org/

function isFrontPageDesign() { 

   if (window.location.href.indexOf("Internet") != -1) 
          return true ;
     else return false ;
}

if (isFrontPageDesign() == false)  {

   if (top == self ) {

      var thisPage = window.location.href;
      var relUrl = thisPage.substring((thisPage.indexOf('welcome')));
      var newURL = 'index.html?' + relUrl;
      if (document.images)
         top.location.replace(newURL);
      else
         top.location.href = newURL;
   }
}


function isMsie4orGreater() { 
  var ua = window.navigator.userAgent;
  var msie = ua.indexOf ( "MSIE " );
  
  if  (msie > 0)
    {return (parseInt ( ua.substring ( msie+5, ua.indexOf ( ".", msie ) ) ) >=4) && (ua.indexOf("MSIE 4.0b") < 0 ) ;}
  else {return false;}
}

