window.status=" air projects ";

function selectTD(idTD,nowSelect,initMenu){

        if (nowSelect!='Estudio'){document.getElementById("tdEstudio").style.backgroundColor="#E8E8E8";}

        if (nowSelect!='Publicaciones'){document.getElementById("tdPublicaciones").style.backgroundColor="#E8E8E8";}

        if (nowSelect!='Contacta'){document.getElementById("tdContacta").style.backgroundColor="#E8E8E8";}

        if (nowSelect!='Servicios'){document.getElementById("tdServicios").style.backgroundColor="#E8E8E8";}

        if (nowSelect!='Proyectos'){document.getElementById("tdProyectos").style.backgroundColor="#E8E8E8";}

        //document.getElementById("imgIdioma").src="../IMAGES/idioma.jpg";

        if (initMenu==false){document.getElementById(idTD).style.backgroundColor="#F5F5F5";}

}

function scrollUp(idLayer){

        tmp = setTimeout("scrollUp('" + idLayer + "')",30);

        document.getElementById(idLayer).scrollTop        = parseInt((parseInt(document.getElementById(idLayer).scrollTop) - 1)) ;

}

function scrollDown(idLayer){

        tmp = setTimeout("scrollDown('" + idLayer + "')",30);

        document.getElementById(idLayer).scrollTop        = parseInt((parseInt(document.getElementById(idLayer).scrollTop) + 1)) ;

}

function scrollStop(){clearInterval(tmp);}

//function overIdioma(){document.getElementById("imgIdioma").src="../IMAGES/idiomas.jpg";}

//function outIdioma(){document.getElementById("imgIdioma").src="../IMAGES/idioma.jpg";}



function openCVInes(src){

        ancho=800;

         alto=600;

         showModalDialog(src,'','dialogWidth:' + ancho + 'px;dialogHeight:' + alto + 'px;status=no;scroll:no;help:no;edge:no');



}

function openVisor(src){

                   //  alert(src);





window.open(src,"visor","status=no,scrollbars=no,width=0px,height=0px,top=100,left=100");



//         showModalDialog(src,'','dialogWidth:0px;dialogHeight:0px;status=no;scroll:no;help:no;edge:no');



}


<!--
var iF_timer=null;
function stopScroll(){
clearTimeout(iF_timer)}
function Lvl_iFrameScroller(f,i,t,d,a){ //v1.0 4LevelWebs
 var r="frames['"+i+"']",ie=document.all,y,c=(f&&!i)?f:(f&&i)?r:i;
 var b=(!f)?r:f+"."+r,o=(eval("opener&&opener.parent."+b))?"opener.":'';
 var v=(f&&i)?y=o+"parent."+f+"."+c:y=o+"parent."+r;
 var e=(a==1)?'scrollLeft':'scrollTop',n =(a==1)?'pageXOffset':'pageYOffset';
 var x=(a==1)?'p,0':(a==2)?'10000,0':(a==3)?'0,10000':'0,p',s=(d==0)?(ie)?t:t+.9:(ie)?-t:-(t-.9);
 var p=(document.all)?eval(y+".document.body."+e+"")+s:eval(y+"."+n+"")+s;

var m =eval(y+".window.scrollTo("+x+")");
 iF_timer=setTimeout("Lvl_iFrameScroller('"+f+"','"+i+"',"+t+","+d+","+a+")",1)
}

//opener.parent.frames['iframe2'].document.body.scrollTop.pageXOffset
//Lvl_iFrameScroller('','iframe2',1, 1,0)"><

/*
function Lvl_iFrameScroller(f,i,t,d,a){ //v1.0 4LevelWebs
 var r="frames['"+i+"']",ie=document.all,y,c=(f&&!i)?f:(f&&i)?r:i;
 var b=(!f)?r:f+"."+r,o=(eval("opener&&opener.parent."+b))?"opener.":'';
 var v=(f&&i)?y=o+"parent."+f+"."+c:y=o+"parent."+r;
 var e=(a==1)?'scrollLeft':'scrollTop',n =(a==1)?'pageXOffset':'pageYOffset';
 var x=(a==1)?'p,0':(a==2)?'10000,0':(a==3)?'0,10000':'0,p',s=(d==0)?(ie)?t:t+.9:(ie)?-t:-(t-.9);
 var p=(document.all)?eval(y+".document.body."+e+"")+s:eval(y+"."+n+"")+s;
 var m =eval(y+".window.scrollTo("+x+")");
 iF_timer=setTimeout("Lvl_iFrameScroller('"+f+"','"+i+"',"+t+","+d+","+a+")",1)
}

*/

//-->
