function limpa(_1){if(_1.defaultValue==_1.value){_1.value="";}};function ApenasNumeros(e){if(window.event){tecla=e.keyCode;}else{if(e.which){tecla=e.which;}}if((tecla>=48&&tecla<=57)||(tecla==8)){return true;}else{return false;}};function ApenasLetrasENumeros(e){if(window.event){tecla=e.keyCode;}else{if(e.which){tecla=e.which;}}if((tecla>=48&&tecla<=57)||(tecla==8)||(tecla==45)||(tecla>=65&&tecla<=90)||(tecla>=97&&tecla<=122)||(tecla==95)||(tecla==127)||(tecla==255)){return true;}else{return false;}};function show(id){document.getElementById("resp"+id+"link").innerHTML="&nbsp;&nbsp;<a onclick=\"hide("+id+");\" onmouseover=\"this.style.cursor='pointer';\">[Esconder resposta]</a>";document.getElementById("resp"+id+"a").style.display="block";};function hide(id){document.getElementById("resp"+id+"link").innerHTML="&nbsp;&nbsp;<a onclick=\"show("+id+");\" onmouseover=\"this.style.cursor='pointer';\">[Mostrar resposta]</a>";document.getElementById("resp"+id+"a").style.display="none";};function janela(_2,_3,_4,_5){window.open(_2,_5,"width="+_3+", height="+_4+", top=50, left=50, scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no");};function setCookie(_6,_7,_8){var _9=new Date();_9.setDate(_9.getDate()+_8);document.cookie=_6+"="+escape(_7)+((_8==null)?"":";expires="+_9.toGMTString());};function painel(_a,_b){setCookie("painel",_a,365);document.getElementById("menu2").style.cssFloat=_a;document.getElementById("menu2").style.styleFloat=_a;document.getElementById("main").style.cssFloat=_b;document.getElementById("main").style.styleFloat=_b;document.getElementById("muda_painel").innerHTML="<a href=\"#\" onclick=\"painel('"+_b+"','"+_a+"'); return false;\"><img src=\"images/sidebar/tothe"+_b+".jpg\" alt=\"Mudar de lado\" width=\"41\" height=\"19\" /></a>";};