
var ns4=document.layers?1:0;
var ie=document.all?1:0;
var ns6=document.getElementById&&!document.all?1:0;

CAB_FontFamily="Verdana";
CAB_FontSize="2";
CAB_FontColor="white";
CAB_BGColor="#d50e8b";

linkFontFamily="Verdana";
linkFontSize="1";
linkBGColor="#e2e7ea";
linkOverBGColor="#CCCCCC";
linkTarget="_top";

Fondo_Tabla="#CCCCCC";
TITULO="PROYECTO 2010";
AltoMenu=180;
MasAlto=-100;

Tit_BarraBGColor="#d50e8b";
Tit_BarraFontFamily="Verdana";
Tit_BarraFontSize="2";
Tit_BarraFontColor="white";
Tit_BarraText="NO";

function Tururu(){
if (ns6 && document.getElementById('MiCapa').style.top<15){Muestra()}
if (ie && MiCapa.style.pixelTop<15){Muestra()}
if (ns4 && document.MiCapa.top<15){Muestra()}
}

function Muestra() {
if (ns6) {document.getElementById('MiCapa').style.top=15;}
if (window.cancel) {cancel="";}
if (window.moving2) {clearTimeout(moving2); moving2="";}
if ((ie && MiCapa.style.pixelTop<15)|| (ns4 && document.MiCapa.top<150)) {
if (ie) {MiCapa.style.pixelTop += (5%AltoMenu);}
if (ns4) {document.MiCapa.top += (5%AltoMenu);}

moving1 = setTimeout('Muestra()', 5)}
else {clearTimeout(moving1)}};

function Esconde() {cancel = Esconde1()}
function Esconde1() {
if (ns6) {document.getElementById('MiCapa').style.top=-AltoMenu+MasAlto;}
if (window.moving1) {clearTimeout(moving1)}
if ((ie && MiCapa.style.pixelTop>(-AltoMenu+MasAlto))||(ns4 && document.MiCapa.top>(-AltoMenu+MasAlto))) {
if (ie) {MiCapa.style.pixelTop -= (5%AltoMenu);}
if (ns4) {document.MiCapa.top -= (5%AltoMenu);}
moving2 = setTimeout('Esconde1()', 5)}
else {clearTimeout(moving2)}};

function init() {
if (ie) {
MiCapa.style.pixelTop = -AltoMenu+MasAlto;
MiCapa.style.visibility = "visible"}
else if (ns4) {MasAlto=-5;
document.MiCapa.top = -AltoMenu+MasAlto;
document.MiCapa.visibility = "show"}
else if (ns6){
document.getElementById('MiCapa').style.top=-AltoMenu+MasAlto;
document.getElementById('MiCapa').style.visibility="visible";
}
}

if (ie || ns6) {document.write('<DIV ID="MiCapa" style="visibility:hidden;Position : Absolute ;Left : 100px ;Top : 0px ;Z-Index : 20;width:1px" onmouseover="Muestra()" onmouseout="Esconde()">')}
if (ns4) {document.write('<LAYER visibility="hide" top="0" name="MiCapa" bgcolor="'+Fondo_Tabla+'" left="1" onmouseover="Muestra()" onmouseout="Esconde()">')}
document.write('<table border="0" cellpadding="0" cellspacing="1" width="250" bgcolor="'
+Fondo_Tabla+'"><tr><td bgcolor="'+CAB_BGColor+'" width="250" ALIGN="center">&nbsp;<font face="'+CAB_FontFamily
+'" Size="'+CAB_FontSize+'" COLOR="'+CAB_FontColor+'"><b>TOMOS PRESUPUESTOS</b></font></td></tr>')

function MiMenu(text, link, target) {
if (!target) {target=linkTarget}
document.write('<TR><TD BGCOLOR="'+linkBGColor+'" onmouseover="bgColor=\''+linkOverBGColor
+'\'" onmouseout="bgColor=\''+linkBGColor+'\'"><ILAYER><LAYER onmouseover="bgColor=\''
+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%"><FONT face="'
+linkFontFamily+'" Size="'+linkFontSize+'">&nbsp;<A HREF="'+link+'" target="'+target
+'" CLASS="MiCapaItems">'+text+'</LAYER></ILAYER></TD></TR>')}

function Cabecera(text) {
document.write('<tr><td bgcolor="'+CAB_BGColor+'" WIDTH="250" ALIGN="center">&nbsp;<font face="'+CAB_FontFamily
+'" Size="'+CAB_FontSize+'" COLOR="'+CAB_FontColor+'"><b>'+text+'</b></font></td></tr>')}

/*Cabecera('TOMOS PRESUPUESTOS ');*/

MiMenu('Tomo I   Proyecto de Ley', 'T1/i_ley.html', '');
MiMenu('Tomo II  Estructura por programas', 'T2/menu_epp.html', '');
MiMenu('Tomo III Anexo de ingresos y gastos', 'T3/i_ai.html', '');
MiMenu('Tomo IV  Anexo de datos de personal', 'T4/menu_adp.html', '');
MiMenu('Tomo V   Entidades Autónomas y Empresas', 'T5/i_eaeg.html', '');
MiMenu('Tomo VI  Liquidación', 'T6/liquida.html', '');
MiMenu('Tomo VII Informe Económico Financiero', 'T7/i_ief.html', '');
Cabecera('Otros enlaces');
MiMenu('Generalitat', 'http://www.gva.es', '');
MiMenu('E-mail', 'mailto:acedo_jor@gva.es;demiguel_jav@gva.es', '');
if (ns4){Cabecera('MENÚ PROYECTO 2010');}

Titulo=""
for (i=0;i<Tit_BarraText.length;i++) {
Titulo+=Tit_BarraText.substring(i, i+1)+""}
if (Titulo!="NO") {
document.write('<tr><td align="center" width="250" bgcolor="'+Tit_BarraBGColor
+'"><p align="center"><font face="'+Tit_BarraFontFamily+'" Size="'+Tit_BarraFontSize+'" COLOR="'
+Tit_BarraFontColor+'"><B>'+Titulo+'</B></font></p></TD></tr>')}

document.write('</td></TR></table>')
if (ie || ns6) {document.write('</DIV>')}
if (ns4) {document.write('</LAYER>')}
