var isExp=document.all;
var isMoz=document.getElementById&&!document.all;
var imgUp1=new Image();
var imgDown1=new Image();
//######	Text Scroll functions	########
//######	Image Rollover function	########
function Rollover(el,which){
 if(isExp){
  document.all[el].filters[0].apply();
  document.all[el].src=which;
  document.all[el].filters[0].play();
 }
 if(isMoz)document.getElementById(el).src=which;
}

//##############################################

function Down(){
	//alert(contentheight);
	if(contentheight ==0){contentheight = 313}
 if((isExp||isMoz)&&parseInt(crossobj.style.top)>=(contentheight*(-1)+239))crossobj.style.top=parseInt(crossobj.style.top)-speed;
 downvar=setTimeout("Down()",100);
}

function Up(){
 if((isExp||isMoz)&&parseInt(crossobj.style.top)<=-1)crossobj.style.top=parseInt(crossobj.style.top)+speed;
 upvar=setTimeout("Up()",100);
}
//##############################################
//######	Onload function	########
function init(){
	
  imgDown1.src="images/arrow_down.jpg";
  imgUp1.src="images/arrow_up.jpg";
 if(window.location.href.indexOf("contact")==-1){
  if(isExp||isMoz)contentheight=crossobj.offsetHeight;
  if(contentheight>239){
   Rollover('up',imgUp1.src);
   Rollover('down',imgDown1.src);
  }
 }
}
window.onload=init;
//######################################