<!--

var ns4 = (document.layers) ? true:false
      var ie4 = (document.all) ? true:false
      var gecko = (document.getElementById) ? true:false

var present=1;
var offset=77;
var times=4;



function slide()
  {
    for(i=0;i< times;i++)
    {
     moveit()}
     
     
      
     
  }

function moveit()
{  var thing1="imagediv" + present;
  domove()
 
    }

function domove()
{
 
  setTimeout("donothing()",10000)
  { 
    n=times + 1
    f=present;
   
    for(w=0;w < n;w++)
     { if(f > max )
         {f=1}
       
       thing="imagediv" +(f);
      
       lft=document.getElementById(thing).style.top;
        l = lft.length;
       lft=lft.substring(0,l-2) - 15;
       
       
       document.getElementById(thing).style.top=lft;
       
       
       f++;
       
       
      }
     
    
    
    domore()

    

  }
}
function donothing()
 {a=0
  }
function domore()
 { var thing1="imagediv" + present;
   p = document.getElementById(thing1).style.top;
  m=p.length;
  p=p.substr(0,m-2);
  
  if(p > 0)
    {setTimeout("domove()",100);
      }
   else
    {document.getElementById(thing1).style.top=375
      
      present++
      if(present > max)
         {present=1;}}
 }








function undomen(num)

{



  subthing="submen" + num
    if(gecko){
   document.getElementById(subthing).style.visibility='hidden'}
    if(ie4){
        document.all[subthing].visibility="hidden"}


}
function domen(thing)
{ 
var subthing="submen" + thing;



 


  
  document.getElementById(subthing).style.visibility="visible";
 




}
function Blowmenu()
{ 

for(a=1;a<3;a++)
{thing="men1"
 
if(gecko){
 document.getElementById(thing).style.background="url(images/menubuttonoff.gif);"}
if(ie4){
document.all[thing].style.background="url(images/menubuttonoff.jpg)"}
}}

//--> 
 
