<!-- Start hiding Javascript
//---ONs and OFFs layer texts and Starts/Stops/Closes animation/////////////////////////////////////////////// 
//---TURNS_ON layer text---
function don(x){
   if ((brws_nm=="Netscape" && brws_ver>=8) || (brws_nm=="Microsoft Internet Explorer" && brws_ver>=4))
   {   
   //	if(x<1) preLoad();	//preload only when x=0 and loaded<1---DISABLED
   //Netscape layer code ---
	if (brows){
		with(link[x]){
			document.layers['nex'].document.write(msg);
			document.layers['nex'].document.close();
			document.layers['nex'].top=ytop;
			document.layers['nex'].left=xleft};
		document.layers['nex'].visibility="show"}
   //Internet Explorer division code ---
	else{
		with(link[x]){
			iex.innerHTML=msg;
			iex.style.top=ytop;
			iex.style.left=xleft};
		iex.style.visibility="visible"}
   }
}
//---TURNS_OFF layer text---
function doff(){
   if ((brws_nm=="Netscape" && brws_ver>=8) || (brws_nm=="Microsoft Internet Explorer" && brws_ver>=4))
   {
	if (brows)
		document.layers['nex'].visibility="hide"
	else	
		iex.style.visibility="hidden"
   }   
}

//---this animates <<theImages>> array---
    
function locoMote(){	
	document.cc_mec.src=theImages[iframe].src;	
	iframe++;
	if (iframe>nImages-1) iframe=0;	
	timeinc=setTimeout('locoMote()',theDelay)
}
function freeze_motion(iframe){
	if((kFlag<1) && (loaded>0)){
		clearTimeout(timeinc);
		document.cc_mec.src=theImages[iframe].src}
}
function resume_motion(){
	if( (kFlag<1) && (loaded>0) )locoMote()
}
function close_motion(target_id,target,source_id,source){
	if(loaded>0){
		kFlag=1;
		clearTimeout(timeinc);
		doff(); window.status=' ';		
		document.images[target_id].src = eval(target + ".src");
		document.images[source_id].src = eval(source + ".src")}
}
//---done hiding------->
