// JavaScript Document
function verNuevoVideo()
{

	document.getElementById('player').innerHTML=document.getElementById('backVideoActual').innerHTML;
		
	}

function verVideo(id){
	
	elalto=460;
	elancho=480;	
	
  var _ampliar=window.open('vervideo.php?id='+id,"video","scrollbars=yes,width="+elancho+",height="+elalto); 
   _ampliar.focus(); 
    iz=(screen.width-elancho) / 2;
    de=(screen.height-elalto) / 2;
    _ampliar.moveTo(iz,de);
	
	
}


function cip(obj,estado)
{
	if(estado)
	obj.className='noticiaEleccionesOver';
	else
	obj.className='noticiaElecciones';
	
	}
	

function cfn(obj,estado)
{
	if(estado)
	obj.className='divNoticiaPortadaover';
	else
	obj.className='divNoticiaPortada';
	
	}
function cfm(que,id)
{
	if(que)
	document.getElementById("mn_"+id).className='divLinkOver';
	else
	document.getElementById("mn_"+id).className='divLink';
	
	}
	
function cfmSec(que,id)
{
	if(que)
	document.getElementById("mn_"+id).className='divLinkSecOver';
	else
	document.getElementById("mn_"+id).className='divLinkSec';
	
	}

function ampliarPub(pub,ancho,alto){
	
	elalto=alto+15;
	elancho=ancho+15;	
	
  var _ampliar=window.open('publicidad.php?pub='+pub+"&ancho="+ancho+"&alto="+alto,"revistapublicidad","scrollbars=yes,width="+elancho+",height="+elalto); 
   _ampliar.focus(); 
    iz=(screen.width-elancho) / 2;
    de=(screen.height-elalto) / 2;
    _ampliar.moveTo(iz,de);
	
	
}

function ampliar(){
  var _ampliar=window.open('revista_ampliar.php',"revista","scrollbars=yes,width=485,height=620"); 
   _ampliar.focus(); 
    iz=(screen.width-485) / 2;
    de=(screen.height-620) / 2;
    _ampliar.moveTo(iz,de);
	
	
}


function favoritos(){ 
	var url="http://revistalaura.com";
	var titulo="REVISTA LAURA - Esencia de Mujer.";
    if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) { 
       window.external.AddFavorite(url,titulo);     } 
    else {        if(navigator.appName == "Netscape") 
          alert ("Presione Crtl+D para agregar este sitio en sus Bookmarks");     }  
} 	



