function regenerate(){window.location.reload();}
function regenerate2(){if (document.layers){setTimeout("window.onresize=regenerate",450);intializemarquee();}}
function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write(marqueecontents);
document.cmarquee01.document.cmarquee02.document.close();
thelength=document.cmarquee01.document.cmarquee02.document.height;
scrollit();
}
function scrollit(){
if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.top-=speed;
setTimeout("scrollit()",100);
}
else{
document.cmarquee01.document.cmarquee02.top=marqueeheight;
scrollit();
}
}
function wakeUpNews(id, tipoNoticia){
	var w=540;
	var h=350;
	var x = (screen.width-w)/2;
	var y = (screen.height-h)/2;
	var winSize ='width='+w+',height='+h+',screenX='+x+',screenY='+y+',top='+y+',left='+x+',scrollbars=yes,status=no,resizable=yes';
	winPage='pag_not_vista_individual.asp?id='+id+'&tipo='+tipoNoticia;
	myWinNoticias=open(winPage,'winNoticias',winSize);
	myWinNoticias.location.href=winPage;
	if(myWinNoticias.opener==null) myWinNoticias.opener=self;
}