function writeNavSup(){
var out = "";
out += '<div id="div_header">'+
       ' 	<div id="div_h1"><a href="http://www.esmas.com/laoreja/"><img src="http://i.esmas.com/img/univ/oreja/h1.jpg" width="171" height="112" border="0"></a></div>'+
       ' 	<div id="div_h2">'+
	   '		<ul>'+
	   '		     <li class="div_menu1"><a href="http://www.esmas.com/laoreja/">INICIO</a></li>                       '+
	   '	         <li class="div_menu2"><a href="http://www.esmas.com/laoreja/conductores/">CONDUCTORES</a></li>   '+
	   '             <li class="div_menu3"><a href="http://enviayreporta.esmas.com/laoreja/" target="_blank">PAPARAZZI</a></li>'+
       '		  	 <li class="div_menu4"><a href="http://www.esmas.com/tv/" target="_blank">TV EN VIVO</a></li>  '+
       '	  		 <li class="div_menu5"><a href="http://www.esmas.com/laoreja/chisme/">CONTÁCTANOS</a></li>  '+    
	   '		</ul> '+
	   '	</div>'+
       '	<div id="div_h3"><a href="http://www.esmas.com/laoreja/"><img src="http://i.esmas.com/img/univ/oreja/h3.jpg" width="270" height="112" border="0"></a></div>'+
   	   '</div>';
document.write(out);
}	


function MostrarFecha()
{
	var d = new Date();
	var fdia =d.getDate( );
	var diasem =d.getMonth( );
	var fano=d.getFullYear();
	var omes="";
	
	switch(diasem)
	{
		case 0:
		{
			omes="enero";
		}
		break;
		
		case 1:
		{
			omes="febrero";
		}
		break;
		
		case 2:
		{
			omes="marzo";
		}
		break;
		
		case 3:
		{
			omes="abril";
		}
		break;
		
		case 4:
		{
			omes="mayo";
		}
		break;
		
		case 5:
		{
			omes="junio";
		}
		break;
		
		case 6:
		{
			omes="julio";
		}
		break;
		
		case 7:
		{
			omes="agosto";
		}
		break;
		
		case 8:
		{
			omes="septiembre";
		}
		break;
		
		case 9:
		{
			omes="octubre";
		}
		break;
		
		case 10:
		{
			omes="noviembre";
		}
		break;
		
		case 11:
		{
			omes="diciembre";
		}
		break;
		
	}
	
	var foreja=fdia+" de "+omes+" del "+fano;
	
	document.write(foreja);
	
}


		

var clockID = 0;

function hora() 
{
	clockID0 = setTimeout("UpdateClock0()", 500);
}

function KillClock() 
{
   if(clockID0) 
   {
      clearTimeout(clockID0);	 
      clockID0  = 0;
   }
}

function UpdateClock0() 
{
	
	if(clockID0) 
	{
		clearTimeout(clockID0);
		clockID0  = 0;	
	}
	var tDate = new Date();
	var salida = "";
	var curHour = tDate.getHours() + tDate.getTimezoneOffset()/60 - 6;
	//var mex= 
	//(curHour < 24)?salida+="0"+tDate.getHours()+":":salida+=tDate.getHours()+":";
	(curHour < 24)?salida+=""+curHour+":":salida+=curHour;
	(tDate.getMinutes() < 10)?salida+="0"+tDate.getMinutes()+":":salida+=tDate.getMinutes();
	//(tDate.getSeconds() < 10)?salida+="0"+tDate.getSeconds():salida+=tDate.getSeconds();
	
	if(document.all) 
	{
		obj = eval("document.all.liveclock");
	}	
	else if(document.getElementById && !document.all) 
	{
		obj = document.getElementById("liveclock");
	}
	
	obj.innerHTML = salida; 
	clockID0 = setTimeout("UpdateClock0()", 1000);
}








