$(function(){$('#txtmail').focus(function(){if($(this).val()=='e-mail')$(this).val('')});
$('#txtmail').blur(function(){if($(this).val()=='')$(this).val('e-mail')})});
function assoc(a){var b='none';if(a!='s'){b='block';document.getElementById('int1').checked=true}else desAll();
document.getElementById('naosoc').style.display=b}function desAll(){for(i=1;i<=3;i++)document.getElementById('int'+i).checked=false}
function LP(a,b){var v=a.value.replace(/[^0-9]/g,'');for(i=0;i<a.value.length;i++){
if(a.value.substr(i,1)=='0'||a.value.substr(i,1)==b)v=a.value.substr(i+1,a.value.length);
else break}return v}function TL(o){var t=LP(o,'');
o.value=t;var n=t.length;o.value='('+t.substr(0,2)+')'+' '+t.substr(2,4)+'-'+t.substr(6,4)}
function DT(o){var t=LP(o,'');var n=t.length;if(n==2){o.value=o.value+'/'}if(n==4){o.value=t.substr(0,2)+'/'+t.substr(2,2)+'/'}
if(n==8){o.value=t.substr(0,2)+'/'+t.substr(2,2)+'/'+t.substr(4)}}