function popup(page,name,prefix,nivel,widthR,heightR){if(nivel)nivel=(nivel-1);backward="";bName=navigator.appName;bVer=parseInt(navigator.appVersion);bAgent=navigator.userAgent
ponerlo=false
if(bName=="Microsoft Internet Explorer"){br="ms";}else{br="ns";}
if(br=="ns"||(br=="ms"&&bAgent.indexOf("Mac")!=-1)||(br=="ms"&&bAgent.indexOf("MSIE 6")!=-1)){ponerlo=true}
if(ponerlo==true){if(br=="ms"&&bAgent.indexOf("MSIE 6")!=-1){for(k=0;k<=nivel;k++){backward=backward+"../";}}}
window.name="Parent"
if(!widthR==''){Ancho=widthR}else{Ancho=600}
availH=document.body.clientHeight;if(heightR!=''&&availH>heightR){Alto=heightR}else{Alto=400}
if(widthR=='fullpg'){Ancho=screen.width}
if(heightR=='fullpg'){Alto=screen.height}
DistArriba=((screen.height/2)-Math.round(Alto/2))
DistIzq=((screen.width/2)-Math.round(Ancho/2))
params="toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=1"
params=params+",width="+Ancho+",height="+Alto
params=params+",top="+DistArriba+",left="+DistIzq+", screenY="+DistArriba+", screenX="+DistIzq
popwindow=open(page,name,params);popwindow.focus();return false;}
function urlbk(pre,post){bName=navigator.appName;bVer=parseInt(navigator.appVersion);bAgent=navigator.userAgent
ponerlo=false
if(bName=="Microsoft Internet Explorer"){br="ms";}else{br="ns";}
if(br=="ns"||(br=="ms"&&bAgent.indexOf("Mac")!=-1)){ponerlo=true}
if(ponerlo==true){urlbk2=pre+post}else{urlbk2=post}
return urlbk2}
function placeIt(capa,distop){bAgent=navigator.userAgent
if(bAgent.indexOf("MSIE 6")!=-1){capaPuntero=document.getElementById(capa);capaPuntero.style.top=distop-5;}}
function centerLayer(how,lySize){if(how=="ancho"){document.write(screen.width/2)-Math.round(lySize/2);}
if(how=="alto"){document.write(screen.height/2)-Math.round(lySize/2);}}