//o = parent;
 function reCalcular() {

   var oBody = Pagina2.document.body;

   var oFrame = document.all("Pagina2");

   oFrame.style.height = oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight);

   parent.scrollTo(1,1);

 }

 function loadContenido(PaginaCarga,ContenidoFrame) {

  document.getElementById(ContenidoFrame).src = PaginaCarga;

 }

 function loadContenido2(PaginaCarga2,ContenidoFrame2) {

  document.getElementById(ContenidoFrame2).src = PaginaCarga2;

 }


<!--
//** Seleccionamos el fichero de estilos dependiendo del navegador

if ((navigator.userAgent.indexOf("MSIE")!=-1) && navigator.appVersion.substring(0,1) >= 4)
	document.write("<link rel='stylesheet' type='text/css' href='indexIE.css'>")	;
else
	document.write("<link rel='stylesheet' type='text/css' href='indexNN.css'>")	;
//-->

//abre la pantalla principal
function activarpag(dato) {
    window.open(dato,'contenido')
	}


//abre la pantalla principal
function abridor(dato) {
    //window.open(dato,'flota','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=795,height=530,top=1,left=0')
      mywinname05=openIT2(dato, 795, 530, 1,1, 'mywinname05','BAR ROGELIO LEON');
 

	}

//amplia el mapan especificado
function ampliarfoto(daturl,winH,winW,posx,posy,titul) {

//window.open(daturl,'_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width='+winW+',height='+winH+',left=110,top=10');
//window.open(daturl,'_blank','toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,width='+winW+',height='+winH+',left=110,top=10,screenX=0,screenY=0,alwaysRaised=yes');
mywinname04=openIT2(daturl, winW-20, winH-20, posx, posy, 'mywinname04',titul);

}

//amplia el mapan especificado
function ampliar(daturl,winH,winW,Nombre) {

//window.open(daturl,'_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width='+winW+',height='+winH+',left=110,top=10');
//window.open(daturl,'_blank','toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,width='+winW+',height='+winH+',left=110,top=10,screenX=0,screenY=0,alwaysRaised=yes');
mywinname04=openIT2(daturl, winW-20, winH-20, 140,140, 'mywinname04',Nombre);

}



function valor_galleta (offset) {
  var endstr = document.cookie.indexOf (";", offset);
  if (endstr == -1)
    endstr = document.cookie.length;
  return unescape(document.cookie.substring(offset, endstr));
}

function leer_galleta(name) {
  var arg = name + "=";
  var alen = arg.length;
  var clen = document.cookie.length;
  var i = 0;
  while (i < clen) {
    var j = i + alen;
    if (document.cookie.substring(i, j) == arg)
      return valor_galleta (j);
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break; 
  }
  return null;
}

function poner_galleta(name, value) {
  var argv = poner_galleta.arguments;
  var argc = poner_galleta.arguments.length;
  var expdate = new Date();
  //expdate.setTime (expdate.getTime() +  1000); // 1 segundo
  expdate.setTime (expdate.getTime() + (12 * 60 * 60 * 1000)); // medio dia
  var expires = (argc > 2) ? argv[2] : expdate;
  var path = (argc > 3) ? argv[3] : "/";
  var domain = (argc > 4) ? argv[4] : null;
  var secure = (argc > 5) ? argv[5] : false;
  document.cookie = name + "=" + escape (value) +
    ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
    ((path == null) ? "" : ("; path=" + path)) +
    ((domain == null) ? "" : ("; domain=" + domain)) +
    ((secure == true) ? "; secure" : "");
}


//FUNCIONES DE CAMBIO DE LOOK POP HISPAVISTA
function openchromeless(theURL,wname,W,H,X,Y,NONEgrf,CLOSEdwn,CLOSEup,CLOSEovr,MINIdwn,MINIup,MINIovr,CLOCKgrf,titHTML,titWIN,winBORDERCOLOR,winBORDERCOLORsel,winBGCOLOR,winBGCOLORsel){
var isie=false
var isv55=false
var iswin=false
if(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)>=4){isie=true;if(navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE ")+5,navigator.appVersion.indexOf("MSIE ")+8)>=5.5)isv55=true}
if(navigator.userAgent.toLowerCase().indexOf("win")!=-1)iswin=true
if(X==null)X=Math.ceil((window.screen.width-W)/ 2)
if(Y==null)Y=Math.ceil((window.screen.height-H)/ 2)
if(isie){H=H+20+3;W=W+2;}
var s=",width="+W+",height="+H;
if(isie&&iswin){
var chromeTIThtml=''+
'<html>\n'+
'<head>\n'+
'<style type="text/css">\n'+
'#crtMOVE {position:absolute;left:0px;top:0px;z-index:2;}\n'+
'#txtTITLE {position:absolute;left:0px;top:0px;width:100%;height:20px;z-index:1;clip:rect(0,100%,20,0);}\n'+
'#btnCLOSE {position:absolute;left:-20px;top:4px;width:11px;height:11px;z-index:3;clip:rect(0,11,11,0);}\n'+
'#btnMINI {position:absolute;left:-20px;top:4px;width:11px;height:11px;z-index:3;clip:rect(0,11,11,0);}\n'+
'#grfCLOCK {position:absolute;left:-20px;top:4px;width:11px;height:11px;z-index:3;clip:rect(0,11,11,0);}\n'+
'</style>\n'+
'<script language="javascript">\n'+
'var imgCLOSEdwn=new Image();imgCLOSEdwn.src="'+CLOSEdwn+'"\n'+
'var imgCLOSEup=new Image();imgCLOSEup.src="'+CLOSEup+'"\n'+
'var imgCLOSEovr=new Image();imgCLOSEovr.src="'+CLOSEovr+'"\n'+
'var imgMINIdwn=new Image();imgMINIdwn.src="'+MINIdwn+'"\n'+
'var imgMINIup=new Image();imgMINIup.src="'+MINIup+'"\n'+
'var imgMINIovr=new Image();imgMINIovr.src="'+MINIovr+'"\n'+
'var CLOCKgrfImg=new Image();CLOCKgrfImg.src="'+CLOCKgrf+'"\n'+
'document.onselectstart=new Function("return false;")\n'+
'document.ondragstart=new Function("moveWIN();return false;")\n'+
'document.oncontextmenu=new Function("return false;")\n'+
'document.onmousemove=moveWIN\n'+
'winSTATUS="up"\n'+
'function setLAYOUT() {\n'+
'document.all["btnCLOSE"].style.pixelLeft=document.body.clientWidth-18\n'+
'if ( top.mainloaded ) {\n'+
'document.all["grfCLOCK"].style.visibility="hidden"\n'
if(isv55){
chromeTIThtml+=''+
'document.all["btnMINI"].style.visibility="visible"\n'+
'document.all["btnMINI"].style.pixelLeft=document.body.clientWidth-38\n'
}
chromeTIThtml+=''+
'}\n'+
'else {\n'+
'document.all["btnMINI"].style.visibility="hidden"\n'+
'document.all["grfCLOCK"].style.pixelLeft=document.body.clientWidth-38\n'+
'setTimeout("setLAYOUT()",500)\n'+
'}\n'+
'}\n'+
'function minimizeWIN() {\n'+
'top.window.moveTo(0,-4000)\n'+
'if ( (top.opener) && (!top.opener.closed) ) { top.opener.window.focus();}\n'+
'top.window.blur()\n'+
'}\n'+
'function moveWIN() {\n'+
'if ( winSTATUS=="down") {\n'+
'document.body.bgColor="'+winBGCOLORsel+'"\n'+
'parent.bordeM.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+
'parent.bordeT.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+
'parent.bordeB.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+
'parent.bordeL.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+
'parent.bordeR.document.body.bgColor="'+winBORDERCOLORsel+'"\n'+
'ofx=event.x\n'+
'ofy=event.y\n'+
'winSTATUS="drag"\n'+
'}\n'+
'else if ( winSTATUS=="drag") {\n'+
'px=event.screenX-ofx-1\n'+
'py=event.screenY-ofy-1\n'+
'top.window.x=px\n'+
'top.window.y=py\n'+
'top.window.moveTo(px,py)\n'+
'} else {\n'+
'document.body.bgColor="'+winBGCOLOR+'"\n'+
'parent.bordeM.document.body.bgColor="'+winBORDERCOLOR+'"\n'+
'parent.bordeT.document.body.bgColor="'+winBORDERCOLOR+'"\n'+
'parent.bordeB.document.body.bgColor="'+winBORDERCOLOR+'"\n'+
'parent.bordeL.document.body.bgColor="'+winBORDERCOLOR+'"\n'+
'parent.bordeR.document.body.bgColor="'+winBORDERCOLOR+'"\n'+
'winStatus="up"\n'+
'}\n'+
'}\n'+
'</script>\n'+
'</head>\n'+
'<body onresize="setLAYOUT()" bgcolor='+winBGCOLOR+'>\n'+
'<div id=crtMOVE><img onmousedown="winSTATUS=\'down\';moveWIN()" onmouseup="winSTATUS=\'up\';moveWIN()" border=0 src="'+NONEgrf+'" width=110% height=500></div>\n'+
'<div id=txtTITLE>'+'<table width=100% height=20 border=0 cellpadding=0 cellspacing=0><tr><td valign=middle align=left>'+titHTML+'</td></tr></table>'+'</div>\n'+
'<div id=btnCLOSE><img name=imgCLOSE src="'+CLOSEup+'" border=0 width=11 height=11 onmouseover="this.src=imgCLOSEovr.src" onmouseout="btnSTATUS=false;this.src=imgCLOSEup.src" onmouseup="this.src=imgCLOSEup.src" onmousedown="this.src=imgCLOSEdwn.src" onclick="top.window.close()"></div>\n'+
'<div id=btnMINI><img name=imgMINI src="'+MINIup+'" border=0 width=11 height=11 onmouseover="this.src=imgMINIovr.src" onmouseout="btnSTATUS=false;this.src=imgMINIup.src" onmouseup="this.src=imgMINIup.src" onmousedown="this.src=imgMINIdwn.src" onclick="minimizeWIN()"></div>\n'+
'<div id=grfCLOCK><img name=imgCLOCK src="'+CLOCKgrf+'" border=0 width=11 height=11></div>\n'+
'<script>setLAYOUT()</script>\n'+
'</body>\n'+
'</html>\n'
var chromeFRMhtml=''+
'<HTML>\n'+
'<HEAD>\n'+
'<TITLE>'+titWIN+'</TITLE>\n'+
'</HEAD>\n'+
'<script>\n'+
'top.mainloaded=false\n'+
'function generatetitle() {\n'+
'if( window.frames["frmTIT"] && window.frames["bordeL"] && window.frames["bordeB"] && window.frames["bordeR"] && window.frames["bordeM"] ) {\n'+
'frmTIT.document.bgColor="'+winBGCOLOR+'"\n'+
'frmTIT.document.open()\n'+
'frmTIT.document.write( "'+quitasaltolinea(chromeTIThtml)+'" )\n'+
'frmTIT.document.close()\n'+
'bordeM.document.bgColor="'+winBORDERCOLOR+'"\n'+
'bordeL.document.bgColor="'+winBORDERCOLOR+'"\n'+
'bordeR.document.bgColor="'+winBORDERCOLOR+'"\n'+
'bordeB.document.bgColor="'+winBORDERCOLOR+'"\n'+
'bordeT.document.bgColor="'+winBORDERCOLOR+'"\n'+
'} else {\n'+
'setTimeout("generatetitle()",20)\n'+
'}\n'+
'}\n'+
'top.window.h='+H+'\n'+
'top.window.w='+W+'\n'+
'top.window.x='+X+'\n'+
'top.window.y='+Y+'\n'+
'generatetitle()\n'+
'</script>\n'+
'<frameset onload="top.mainloaded=true" onfocus="top.window.moveTo(top.window.x,top.window.y)" border=0 framespacing=0 frameborder=0 cols="1,100%,1">\n'+
'<frame name=bordeL src="about:blank" scrolling=no noresize>\n'+
'<frameset border=0 framespacing=0 frameborder=0 rows="1,20,1,100%,1">\n'+
'<frame name=bordeT src="about:blank" scrolling=no noresize>\n'+
'<frame name=frmTIT src="about:blank" scrolling=no noresize>\n'+
'<frame name=bordeM src="about:blank" scrolling=no noresize>\n'+
'<frame name=main src="'+theURL+'">\n'+
'<frame name=bordeB src="about:blank" scrolling=no noresize>\n'+
'</frameset>\n'+
'<frame name=bordeR src="about:blank" scrolling=no noresize>\n'+
'</frameset>\n'+
'</HTML>'
var CWIN=window.open("",wname,"fullscreen=1"+s)
CWIN.resizeTo(Math.ceil(W),Math.ceil(H))
CWIN.moveTo(Math.ceil(X),Math.ceil(Y))
CWIN.document.open()
CWIN.document.write(chromeFRMhtml)
CWIN.document.close()
}else{
var CWIN=window.open(theURL,wname,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0"+s,true)
CWIN.moveTo(Math.ceil(X),Math.ceil(Y))
}
CWIN.focus()
return CWIN
}
function quitasaltolinea(txt){
var salida=txt.toString()
var re=/\\/g;var salida=salida.replace(re,"\\\\");
re=/\//g;var salida=salida.replace(re,"\\\/");
re=/\"/g;var salida=salida.replace(re,"\\\"");
re=/\'/g;var salida=salida.replace(re,"\\\'");
re=/\n/g;var salida=salida.replace(re,"\\n");
return salida
}



//POP UNDER HISPAVISTA
function openIT(theURL,W,H,X,Y, wname) {
	CLOSEdwn 		= "http://www.portalmix.com/publicidad/flot_hisp_img/close_dwn.gif"
	CLOSEup 		= "http://www.portalmix.com/publicidad/flot_hisp_img/close_up.gif"
	CLOSEovr 		= "http://www.portalmix.com/publicidad/flot_hisp_img/close_ovr.gif"
	MINIdwn 		= "http://www.portalmix.com/publicidad/flot_hisp_img/mini_dwn.gif"
	MINIup 			= "http://www.portalmix.com/publicidad/flot_hisp_img/mini_up.gif"
	MINIovr 		= "http://www.portalmix.com/publicidad/flot_hisp_img/mini_ovr.gif"
	NONEgrf 		= "http://www.portalmix.com/publicidad/flot_hisp_img/none.gif"
	CLOCKgrf		= "http://www.portalmix.com/publicidad/flot_hisp_img/clock.gif"
	titHTML 	    	= "<font face=verdana size=1>&nbsp;<b>Trabajos.com</b>: encuentra tu trabajo del futuro</font>"
	titWIN			= "&nbsp;Trabajos.com"
	winBORDERCOLOR   	= "#990000"
	winBORDERCOLORsel	= "#990000"
	winBGCOLOR    		= "#990000"
	winBGCOLORsel 		= "#990000"
	return openchromeless(theURL, wname, W, H, X, Y, NONEgrf, CLOSEdwn, CLOSEup, CLOSEovr, MINIdwn, MINIup, MINIovr, CLOCKgrf, titHTML, titWIN, winBORDERCOLOR, winBORDERCOLORsel, winBGCOLOR, winBGCOLORsel)
}

function HispavistaPopUnder () {
poner_galleta("PMX_Trabajos_PopUnder_1","Abierta");
self.focus();
mywinname03=openIT('public.htm', 780, 380, 10, 150, 'mywinname03');
self.focus();
}

function checkHispavistaPopUnder () {
var abiertoHoy = leer_galleta("PMX_Trabajos_PopUnder_1");
if (abiertoHoy == null)
	HispavistaPopUnder();
}

//POP UP PANTALLAFLOTANTE
function openIT2(theURL,W,H,X,Y, wname,titulo) {
	CLOSEdwn 		= "FIGURAS/CERRARVOLANTE.gif"
	CLOSEup 		= "FIGURAS/CERRARVOLANTE.gif"
	CLOSEovr 		= "FIGURAS/CERRARVOLANTE.gif"
	MINIdwn 		= "FIGURAS/CERRARVOLANTE3.gif"
	MINIup 	      = "FIGURAS/CERRARVOLANTE3.gif"
	MINIovr 		= "FIGURAS/CERRARVOLANTE3.gif"
	NONEgrf 		= "FIGURAS/CERRARVOLANTE3.gif"
	CLOCKgrf		= "FIGURAS/CERRARVOLANTE2.gif"
	titHTML 	    	= "<font face=verdana size=1>&nbsp;"+titulo+"</font>"
	titWIN			= "&nbsp;BAR ROGELIO LEON"
	winBORDERCOLOR   	= "#000000"
	winBORDERCOLORsel	= "#000000"
	winBGCOLOR    		= "#990000"
	winBGCOLORsel 		= "#990000"
	return openchromeless(theURL, wname, W, H, X, Y, NONEgrf, CLOSEdwn, CLOSEup, CLOSEovr, MINIdwn, MINIup, MINIovr, CLOCKgrf, titHTML, titWIN, winBORDERCOLOR, winBORDERCOLORsel, winBGCOLOR, winBGCOLORsel)
}

function MovilistoPopUp (daturl) {
//poner_galleta("PMX_Movilisto_PopUp_1","Abierta");
mywinname04=openIT2(daturl, 550, 289, 150,150, 'mywinname04','CALENDARIO');
}

function checkMovilistoPopUp () {
//var abiertoHoy = leer_galleta("PMX_Movilisto_PopUp_1");
//if (abiertoHoy == null)
	MovilistoPopUp();
//else
	//checkHispavistaPopUnder();
}

var domain='';//Este valor cambia para páginas en otros servidores
function drawServices() {
       document.writeln('<select name="select_humor" size="0" onChange="MM_jumpMenu(\'detalle\',this,1)"><option>Informacion empresarial<option target="detalle">-----------<option value="http//www.foroempresarial.com/paginas/QuienesSomos.htm">Portada</select>');
}

function drawAreas() {
	document.writeln('');
}
function drawFoot() {
document.writeln('<table cellspacing=0 cellpadding=0 border=0 width=100%><tr><td bgcolor=#ffffff><img src="/img/tb.gif" width=400 height=7 aling=center><br><table border=0 height=30 bgcolor=#ffcc00 cellpadding=0 cellspacing=0 align=center><tr><FORM ACTION="http://service.bfast.com/bfast/click/goto" ><INPUT TYPE="hidden" NAME="bfsiteid" VALUE="446383"><INPUT TYPE="hidden" NAME="bfpage" VALUE="hs10"><td width=35 height=30><a href="http://www.goto.com"><img src="http://www.goto.com/images-affiliates/befree/gotologo2.gif" border=0 alt=www.goto.com width=35 height=30></a></td><td height=30>&nbsp;<input type=text size=12 name=Keywords></td><td>&nbsp;<input type=image src="http://www.goto.com/images-affiliates/befree/flatarrow2.gif" align=absmiddle width=22 height=22 name=Submit alt="Buscar" border=0><input type=hidden name=Promo value=befree></td><td width=10 height=30 align=center><img src="http://www.goto.com/images-affiliates/befree/vert.gif" border=0 alt="" width=2 height=30></td><td height=30><font face="verdana,sans-serif" size=1 color="#ffffff">&nbsp;           <a href="http://service.bfast.com/bfast/click/goto?bfsiteid=446383&bfpage=hs11"><font face="verdana,sans-serif" size=1 color="#ffffff">Coches</font></a>&nbsp;|&nbsp;<a href="http://service.bfast.com/bfast/click/goto?bfsiteid=446383&bfpage=hs4"><font face="verdana,sans-serif" size=1 color="#ffffff">Juegos</font></a>&nbsp;|&nbsp;<a href="http://service.bfast.com/bfast/click/goto?bfsiteid=446383&bfpage=hs15"><font face="verdana,sans-serif" size=1 color="#ffffff">Banca</font></a>&nbsp;|&nbsp;<a href="http://service.bfast.com/bfast/click/goto?bfsiteid=446383&bfpage=hs7"><font face="verdana,sans-serif" size=1 color="#ffffff">Musica</font></a>&nbsp;|&nbsp;<a href="http://service.bfast.com/bfast/click/goto?bfsiteid=446383&bfpage=hs9"><font face="verdana,sans-serif" size=1 color="#ffffff">Viajes</font></a>&nbsp;|&nbsp;<a href="http://service.bfast.com/bfast/click/goto?bfsiteid=446383&bfpage=hs13"><font face="verdana,sans-serif" size=1 color="#ffffff">Salud</font></a>&nbsp; </font></td></tr></form></table></td></tr></table>');
document.writeln('<STYLE>.PIEFOOT {color : White; font-family : Verdana; font-size : 10px; font-weight : normal; }</STYLE><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="1" height="35" bgcolor=#ffffff><img src="/img/tb.gif" width=1 height=35 border=0 alt=""></td><td ALIGN=center class="PIEFOOT" bgcolor="Black"><a href="'+domain+'/index.htm" target="_top"><span class="PIEFOOT">Inicio</span></A> |  <a href="'+domain+'/humor.htm" target="_top"><span class="PIEFOOT">Humor</span></a> | <a href="'+domain+'/juegos.htm" target="_top"><span class="PIEFOOT">Juegos</span></a> | <a href="'+domain+'/ocio.htm" target="_top"><span class="PIEFOOT">Ocio</span></a> | <a href="'+domain+'/cosas.htm" target="_top"><span class="PIEFOOT">Cosas</span></a> | <a href="'+domain+'/gente.htm" target="_top"><span class="PIEFOOT">Gente</span></a> | <a href="'+domain+'/triunfo/" target="_top"><span class="PIEFOOT">Operación Triunfo</span></a> | <a href="'+domain+'/misterios/" target="_top"><span class="PIEFOOT">Misterios</span></a> | <a href="'+domain+'/fotos/" target="_top"><span class="PIEFOOT">Fotos</span></a> | <a href="'+domain+'/famosos/" target="_top"><span class="PIEFOOT">Famosos</span></a> | <a href="'+domain+'/comunidad.htm" target="_top"><span class="PIEFOOT">Comunidad</span></a> | <a href="'+domain+'/shopcenter/" target="_blank"><span class="PIEFOOT">ShopCenter</span></a> | <a href="'+domain+'/servicios.shtml" target="_top"><span class="PIEFOOT">Servicios</span></a><br><a href="'+domain+'/copyright.htm" target="_top"><span class="PIEFOOT">Copyright</span></a> © <a href=mailto:info@portalmix.com><span class="PIEFOOT">Portalmix</span></A> 2000-2001 · Reservados todos los derechos · <a href="'+domain+'/contacto.htm"><span class="PIEFOOT">Contacta</span></a> · <a href="/contacto.htm#publicidad"><span class="PIEFOOT">Publicidad</span></a> · <a href='+domain+'/ayuda.htm target="_top"><span class="PIEFOOT">Ayuda</span></a> · <a href='+domain+'/mapaweb.htm target="_top"><span class="PIEFOOT">Mapa Web</span></a> · <a href='+domain+'/webs/asociadas.htm target="_top"><span class="PIEFOOT">Webs Asociadas</span></a></td></tr></table>');
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
var selected = selObj.options[selObj.selectedIndex].value;
if(selected=="http://www.foroempresarial.com/") {
	targ="parent.mid";
	parent.up.location="index_sup.htm";
	}

if(selected.indexOf("/shopcenter/")==0) {
	var date = new Date();
	var seconds = date.getSeconds();
	window.open('http://www.foroempresarial.com'+selected,seconds,'width='+(screen.width-20)+',target=detalle ,height='+(screen.height-10)+',toolbar=yes,scrollbar=yes,menubar=yes,location=yes');
	if (restore) selObj.selectedIndex=0;
	return 0;
 }
 
if(selected.indexOf("mixplorer/")==1) {
	var date = new Date();
	var seconds = date.getSeconds();
	window.open('http://www.foroempresarial.com'+selected,seconds,'width='+(screen.width-20)+',height='+(screen.height-10)+',toolbar=yes,scrollbar=yes,menubar=yes,location=yes');
	if (restore) selObj.selectedIndex=0;
	return 0;
 } 

eval(targ+".location='"+selected+"'");  if (restore) selObj.selectedIndex=0; }

//checkMovilistoPopUp();

//permite no poder hacer click para ver codigo
function opcionclick () {
 function click() {
 if (event.button==2) {
    alert('No es posible esta acción..restringido'); }
 }
document.onmousedown=click}

opcionclick();

//impprimir una pagina determinada

function imprimir(pag_imprimir){
window.open(pag_imprimir,'Impresion','toolbar=yes,location=no,directories=no,status=no, menubar=no,scrollbars=yes,resizable=no,width=640,height=520');
}


var txt="BAR ROGELIO LEON      BAR ROGELIO LEON      BAR ROGELIO LEON      BAR ROGELIO LEON        ";
function scroll()
{
window.status = txt;
txt=txt.substring(1,txt.length)+txt.charAt(0);
window.setTimeout("scroll()",100);
}
