function limite(c,a,b){if(c.value.length>a){c.value=c.value.substring(0,a)}else{document.getElementById(b).innerHTML=(a-c.value.length)}}function NewWindow(f,d,b,c,a,e){if(e=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-b)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-c)-75)):100}if(e=="center"){LeftPosition=(screen.width)?(screen.width-b)/2:100;TopPosition=(screen.height)?(screen.height-c)/2:100}else{if((e!="center"&&e!="random")||e==null){LeftPosition=300;TopPosition=150}}settings="width="+b+",height="+c+",top="+TopPosition+",left="+LeftPosition+",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(f,d,settings)}function slideToggle(b){var a=document.getElementById(b);a.style.display=(a.style.display=="none")?"inline":"none"};
