

/**************************************************************
Texte inferior navegador 
****************************************************************/

var text1=" w w w . a u l a h o g a r . c o m "
comeback=0
cometo=0
function dis(){
window.status=text1.substring(0,cometo)
if(comeback==1){
cometo--;
if(cometo==0){comeback=0}
} else {cometo++;if(cometo==text1.length){comeback=1}}
window.status=text1.substring(0,cometo)+"|"
if(cometo==text1.length){window.setTimeout("dis()",500);} else {window.setTimeout("dis()",50);}
}
dis()



/**************************************************************
High llum
****************************************************************/



function high(which2)
{
	theobject=which2;
	highlighting=setInterval("highlightit(theobject)",20);
}
function low(which2)
{
	clearInterval(highlighting);
	which2.filters.alpha.opacity=99;
}
function highlightit(cur2)
{
   //alert(cur2.filters.alpha.opacity);
   if (cur2.filters.alpha.opacity != "69")
   {
		if(cur2.filters.alpha.opacity < 100)
		{
			cur2.filters.alpha.opacity-=5;
		}
		else if(window.highlighting)
		{
			clearInterval(highlighting);
		}
  }
}



/**************************************************************
High llum
****************************************************************/

function boxOn(which,message){
   if (document.all||document.getElementById){
      which.className='BorderOn'
      if (document.getElementById) {document.getElementById("Message").innerHTML = message}
         else {Message.innerHTML = message}
   }
}

function boxOff(which){
   if (document.all||document.getElementById){
      which.className='BorderOff'
      if (document.getElementById) {document.getElementById("Message").innerHTML = offMessage}
         else {Message.innerHTML = offMessage}
   }
}


/**************************************************************
Box
****************************************************************/
		
		function boxOn(which,message)
		{

		   if (document.all||document.getElementById)
		   {
			  which.className='BorderOn'
			  if (document.getElementById) 
			  {
				
				document.getElementById("Message").innerHTML = message
				
			  }
			  else {Message.innerHTML = message}
		   }
		}
		
		function boxOff(which)
		{
		   offMessage=" ";
		   if (document.all||document.getElementById)
		   {
			  which.className='BorderOff'
			  if (document.getElementById) {document.getElementById("Message").innerHTML = offMessage}
				 else {Message.innerHTML = offMessage}
		   }
		}
		
		function boxOnText(which,message)
		{
		   if (document.all||document.getElementById)
		   {
			  which.className='BorderOn'
			  if (document.getElementById) 
			  {
				
				document.getElementById("Text").innerHTML = message
				
			  }
			  else {Message.innerHTML = message}
		   }
		}
		
		
		
