function toggleVis(el) {
if(document.getElementById){
o=document.getElementById(el);
o.style.display=o.style.display=='none'?'':'none';
}else{
alert('Wembox strongly recommend you to update your browser to Firefox');
}
}
// validar form registro
function registro(f) {
var e=0,p=0,a=0,reg=/^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i;
if(f.nombre.value.length==0)e++;
if(f.correo.value.length==0)e++;
if(!reg.test(f.correo.value))a++;
if(f.passwd.value.length==0)e++;
if(f.passwd2.value.length==0)e++;
if(f.passwd.value!=f.passwd2.value)p++;
if(e>0){alert('All current fields are required');return false;}
if(p>0){alert('Password fields does not match');return false;}
if(a>0){alert('The email address provided is not valid');return false;}
return true;
}
//mouseover linkset:
var menu1=new Array();
menu1[0]='
Select your e-mail service
';
menu1[1]='GMail';
menu1[2]='Yahoo! Mail';
menu1[3]='Hotmail';
var menu2=new Array();
menu2[0]='Select your Instant Messaging service
';
menu2[1]='Google Talk';
menu2[2]='Yahoo! Messenger';
menu2[3]='MSN Messenger';
var menu3=new Array();
menu3[0]='Select a site to start enjoying videos
';
menu3[1]='YouTube';
menu3[2]='Metacafe';
menu3[3]='Google Video';
var menuwidth='130px';
var menubgcolor='white';
var disappeardelay=250;
var hidemenu_onclick='yes';
var ie4=document.all;var ns6=document.getElementById&&!document.all;if(ie4||ns6){document.write('');}function getposOffset(what,offsettype){var totaloffset=(offsettype=="left")?what.offsetLeft:what.offsetTop;var parentEl=what.offsetParent;while(parentEl!=null){totaloffset=(offsettype=="left")?totaloffset+parentEl.offsetLeft:totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent;}return totaloffset;}function contains_ns6(a,b){while(b.parentNode){if((b=b.parentNode)==a){return true;}return false;}}function hidemenu(e){if(typeof dropmenuobj!="undefined"){if(ie4||ns6){dropmenuobj.style.visibility="hidden";}}}function delayhidemenu(){if(ie4||ns6){delayhide=setTimeout("hidemenu()",disappeardelay);}}function clearhidemenu(){if(typeof delayhide!="undefined"){clearTimeout(delayhide);}}function dynamichide(e){if(ie4&&!dropmenuobj.contains(e.toElement)){delayhidemenu();}else if(ns6&&e.currentTarget!=e.relatedTarget&&!contains_ns6(e.currentTarget,e.relatedTarget)){delayhidemenu();}}if(hidemenu_onclick=="yes"){document.onclick=hidemenu;}function showhide(obj,e,visible,hidden,menuwidth){if(ie4||ns6){dropmenuobj.style.left=dropmenuobj.style.top="-500px";}if(menuwidth!=""&&menuwidth!=undefined){dropmenuobj.widthobj=dropmenuobj.style;dropmenuobj.widthobj.width=menuwidth;}if(e.type=="click"&&obj.visibility==hidden||e.type=="mouseover"){obj.visibility=visible;}else if(e.type=="click"){obj.visibility=hidden;}}function iecompattest(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body;}function clearbrowseredge(obj,whichedge){var edgeoffset=0;if(whichedge=="rightedge"){var windowedge=ie4&&!window.opera?iecompattest().scrollLeft+iecompattest().clientWidth-15:window.pageXOffset+window.innerWidth-15;}dropmenuobj.contentmeasure=dropmenuobj.offsetWidth;if(windowedge-dropmenuobj.x