// JavaScript Document

	
//----------------------------------------mostrar url para mandar a un amigo



	
//---------------------------------------fin-----------------------------------------	
	function OcultarSubMenus()
{
   bn1.style.visibility = "hidden";
      stop_time();
}
var timer = false;

function stop_time()
{
	if(timer)      
		clearInterval(timerID);
	timer = false;
}

function MostrarBanner(objeto,num)
{
		var myWidth = 0, myHeight = 0;
		  if( typeof( window.innerWidth ) == 'number' ) {
			//Non-IE
			myWidth = window.innerWidth;
			myHeight = window.innerHeight;
			
										
			
			
			
			
		  } else {
			if( document.documentElement &&
				( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
			  //IE 6+ in 'standards compliant mode'
			  myWidth = document.documentElement.clientWidth;
			  myHeight = document.documentElement.clientHeight;
			  
			  
			  
			  
			}
			
															
			
			
			else {
			  if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
				//IE 4 compatible
				myWidth = document.body.clientWidth;
				myHeight = document.body.clientHeight;
				
				
			  
				
				
			  }
			}
			}
	
	
	 if (myWidth>750)
										{
											objeto.style.left = (myWidth-750)/2+149+(num-1)*150;
										}
										else
										{
											objeto.style.left = 150+(num-1)*150;
											
										}
	
			  
	
	
	
   objeto.style.visibility = "visible";
   stop_time();
}



function titular(){
    var ifr=document.getElementById('video').contentDocument || document.getElementById('video').contentWindow.document;
    document.title=ifr.title;
}

function openWindowenviaramigo(url)
{
	
	
popupWin = window.open(url,'new_page2','status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=750,height=400')
}

