



<!--------------------------------Favoritos--------------------->

//configure the two variables below to match yoursite's own info
var bookmarkurl="http://www.sodesp.com.br/"
var bookmarktitle="SODESP - Documentos de Veiculos"

function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}



//javascript:addbookmark()//


<!--------------------------------Favoritos--------------------->




<!--------------------------------POP--------------------->


<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizeable=no';
win=window.open(mypage,myname,settings);}
// -->


<!--------------------------------POP--------------------->








<!--------------------------------Status--------------------->


//window.defaultStatus="WebMaster Grupo Ribas - www.gruporibas.com.br - webmaster@gruporibas.com.br"//



<!--------------------------------Status--------------------->



<!--------------------------------Idade Auto--------------------->


 

function calcage(mm,dd,yy) {
    thedate = new Date()
    mm2 = thedate.getMonth() + 1
    dd2 = thedate.getDate()
    yy2 = thedate.getYear()
    if (yy2 < 100) {
        yy2 = yy2 + 1900 }
    yourage = yy2 - yy
    if (mm2 < mm) {
        yourage = yourage - 1; }
    if (mm2 == mm) {
        if (dd2 < dd) {
                yourage = yourage - 1; }
        }
    agestring = yourage + " "
    document.write(agestring)
}
 
// To call the script type:
// calcage("MM","DD","YYYY")
// example: calcage("12","26","1971")
 





///<b>Tenho <SCRIPT>calcage("07", "26", "1980")<\SCRIPT>anos.</b>///

 
 
<!--------------------------------Idade Auto--------------------->