butDeselect= new Array();
butDeselect[0] = new Image(1,20);
if(ie||ns6)
butDeselect[0].src = "/img/menuout.gif";
else
butDeselect[0].src = "/img/menuout.jpg";
butDeselect[1] = new Image(1,20);
if(ie||ns6)
butDeselect[1].src = "/img/menuout.gif";
else
butDeselect[1].src = "/img/menuout.jpg";
butDeselect[2] = new Image(2,20);
butDeselect[2].src = "/img/menuoutend.gif";
butSelect= new Array();
butSelect[0] = new Image(1,20);
if(ie||ns6)
butSelect[0].src = "/img/menuover.gif";
else
butSelect[0].src = "/img/menuover.jpg";
butSelect[1] = new Image(1,20);
if(ie||ns6)
butSelect[1].src = "/img/menuover.gif";
else
butSelect[1].src = "/img/menuover.jpg";
butSelect[2] = new Image(2,20);
butSelect[2].src = "/img/menuoverend.gif";
tamanhoMenuButon = 585;
document.write("")
//if(ie)
if(ie || ns6) {
var botaoRoll = 'botaoRollIE'
var botaoMenu = 'botaoIE'}
else
if(ns6) {var botaoRoll = 'botaoRollNS6'
var botaoMenu = 'botaoNS6'}
else{
var botaoRoll = 'botaoRollNE'
var botaoMenu = 'botaoNE'
}
j=0
menuButon[j]=new buton('Company','/img/menuout.gif',butDeselect[1].src,'/img/menuoutend.gif',botaoMenu,'')
menuRoll[j]= new Array()
t=0
menuRoll[j][t]= new roll('Who we are','http://www.tapvirtual.com/index.php?p=34',botaoRoll)
t++
menuRoll[j][t]= new roll('Staff','http://www.tapvirtual.com/index.php?p=10',botaoRoll)
t++
menuRoll[j][t]= new roll('News','http://www.tapvirtual.com/index.php?p=32',botaoRoll)
t++
menuRoll[j][t]= new roll('Support and Partners','http://www.tapvirtual.com/index.php?p=35',botaoRoll)
t++
menuRoll[j][t]= new roll('Contacts','http://www.tapvirtual.com/index.php?p=43',botaoRoll)
t++
j++
menuButon[j]=new buton('Operations','/img/menuout.gif',butDeselect[1].src,'/img/menuoutend.gif',botaoMenu,'')
menuRoll[j]= new Array()
t=0
menuRoll[j][t]= new roll('Medium Range Fleet','http://www.tapvirtual.com/index.php?p=2',botaoRoll)
t++
menuRoll[j][t]= new roll('Long Range Fleet','http://www.tapvirtual.com/index.php?p=3',botaoRoll)
t++
menuRoll[j][t]= new roll('Nostalgy Fleet','http://www.tapvirtual.com/index.php?p=4',botaoRoll)
t++
menuRoll[j][t]= new roll('Operations Manual','http://www.tapvirtual.com/index.php?p=23',botaoRoll)
t++
menuRoll[j][t]= new roll('Membership Regulation','http://www.tapvirtual.com/index.php?p=101',botaoRoll)
t++
j++
menuButon[j]=new buton('Aircrafts','/img/menuout.gif',butDeselect[1].src,'/img/menuoutend.gif',botaoMenu,'')
menuRoll[j]= new Array()
t=0
menuRoll[j][t]= new roll('Medium Range','http://www.tapvirtual.com/index.php?p=44',botaoRoll)
t++
menuRoll[j][t]= new roll('Long Range','http://www.tapvirtual.com/index.php?p=45',botaoRoll)
t++
menuRoll[j][t]= new roll('Nostalgy','http://www.tapvirtual.com/index.php?p=46',botaoRoll)
t++
j++
menuButon[j]=new buton('Statistics','/img/menuout.gif',butDeselect[1].src,'/img/menuoutend.gif',botaoMenu,'http://ifps.tapvirtual.com/pub_flying_pilots.php')
menuRoll[j]= new Array()
t=0
menuRoll[j][t]= new roll('Aircrafts','http://ifps.tapvirtual.com/pub_aircraft_list.php',botaoRoll)
t++
menuRoll[j][t]= new roll('Pilots','http://ifps.tapvirtual.com/pub_complete_roster.php',botaoRoll)
t++
menuRoll[j][t]= new roll('Pilots in Flight','http://ifps.tapvirtual.com/pub_flying_pilots.php',botaoRoll)
t++
menuRoll[j][t]= new roll('Pilots - TOP 10','http://ifps.tapvirtual.com/pub_stats_pilots_top10.php',botaoRoll)
t++
j++
menuButon[j]=new buton('Gallery','/img/menuout.gif',butDeselect[1].src,'/img/menuoutend.gif',botaoMenu,'http://gallery.tapvirtual.com')
menuRoll[j]= new Array()
t=0
j++
menuButon[j]=new buton('Forum','/img/menuout.gif',butDeselect[1].src,'/img/menuoutend.gif',botaoMenu,'http://forum.tapvirtual.com')
menuRoll[j]= new Array()
t=0
j++
var nBotoes = 6
//if(ie)
if(ie || ns6)
{
if(ie) {
texto="
"
} else
texto="
"
// texto="
";
}
else
{
texto="
"
texto +="
"
texto +="";
texto +="";
texto +="
";
texto +="
"
}
if(ie)
{
var tamanhoMaximo = new Array()
if(ie || ns6)
texto += "
"
else
texto += "
"
tamanhoTodasDivs=110
for (j=0;j
tamanhoMaximo[j])
tamanhoMaximo[j]=menuRoll[j][i].nome.length
}
tamanhoMaximo[j]=tamanhoMaximo[j] * 8
if(ie || ns6)
{
texto +=""
texto +="
"
}
else
{
texto +=""
texto +=""
}
tamanhoTodasDivs=tamanhoTodasDivs+100
for (i=0; i"
texto +=" | "
texto +=""
}
else
{
texto +="| "
texto +=""
texto +=" |
"
}
}
texto +="
"
if(ie || ns6)texto +=""
else texto +=""
}
texto += ""
texto += ""
document.write(texto)
if(ie || ns6)
{
}
else
{
var i = 780 - document.divbotoes.layers["teste"].pageX
document.divbotoes.layers["teste"].resizeTo(i,19)
document.divbotoes.resizeTo(800,30)
}
if(ie){
compID="divBotoes"
var thisMenu = document.all(compID)
thisMenu.style.visibility='visible'
}
}
else
{
var tamanhoMaximo = new Array()
if(ie)
texto += ""
else
texto += "
"
tamanhoTodasDivs=110
for (j=0;j
tamanhoMaximo[j])
tamanhoMaximo[j]=menuRoll[j][i].nome.length
}
tamanhoMaximo[j]=tamanhoMaximo[j] * 8
/*
if(ie || ns6)
{
texto +=""
texto +="
"
}
*/
if(ie || ns6)
{
//texto +=""
texto +="
"
texto +="
"
}
else
{
texto +=""
texto +=""
}
tamanhoTodasDivs=tamanhoTodasDivs+130
for (i=0; i"
//texto +=" | "
texto +=" | "
texto +=""
}
else
{
texto +="| "
texto +=""
texto +=" |
"
}
}
texto +="
"
if(ie || ns6)texto +=""
else texto +=""
}
texto += ""
texto += ""
document.write(texto)
if(ie || ns6)
{
}
else
{
var i = 780 - document.divbotoes.layers["teste"].pageX
document.divbotoes.layers["teste"].resizeTo(i,19)
document.divbotoes.resizeTo(800,30)
}
}