<!--

var ns4 = (document.layers) ? true:false
      var ie4 = (document.all) ? true:false
      var gecko = (document.getElementById) ? true:false

var present=1;
var offset=100;
var times=6;
var wp=0;


function moveit()
{  var thing1="imagediv" + present;
  if(max > 8)
 { domove()}
  }

function domove()
{
 
  { 
    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) - 1;
       
       
       document.getElementById(thing).style.top=lft;
       
       
       f++;
       
       
      }
  
    t = setTimeout("domore()",30);
    
   }
}
function domore()
 { var thing1="imagediv" + present;
   p = document.getElementById(thing1).style.top;
  m=p.length;
  p=p.substr(0,m-2);
  
  if(p > 0)
    {domove()
      }
   else
    {document.getElementById(thing1).style.top=700
      
      present++
      
      if(present > max)
         {present=1;}
      domove();}
 }


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)"}
}}

//--> 
 
