agt = navigator.userAgent.toLowerCase(); bgt = navigator.platform.toLowerCase(); win = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) ); mac = (navigator.appVersion.indexOf("Macintosh")!=-1); macos = (agt.indexOf("MacOS X")!=-1); linux = (agt.indexOf("inux")!=-1); d = document; ns4 = (d.layers)? true: false; ns6 = (navigator.userAgent.indexOf("Gecko")!=-1)? true: false; ns61=(parseInt(navigator.productSub)>=20010726)? true: false; ns62=(parseInt(navigator.productSub)>=20011128)? true: false; opera=(navigator.userAgent.indexOf("opera")!=-1)? true: false; safari=(navigator.userAgent.indexOf("safari")!=-1)? true: false; MacPPC = (bgt.indexOf("MacPPC")!=-1); appVer = navigator.appVersion.toLowerCase(); minor = parseFloat(appVer); major = parseInt(minor); iePos = appVer.indexOf('msie'); if (iePos !=-1) { minor = parseFloat(appVer.substring(iePos+5,appVer.indexOf(';',iePos))) major = parseInt(minor); } ie = (iePos!=-1); browserTop = 167; browserLeft = 25; if(mac && ns6)browserTop = 167; if(win && ns4)browserTop = 167; if(mac && ns4)browserTop = 173; if(mac && ie)browserTop = 167; if(linux)browserTop = 140; if(ns6)browserTop = 167; if(ns6 && win)browserTop = 173; if(ns61 && win)browserTop = 173; if(ns62 && win)browserTop = 173; if(ns6 && linux)browserTop = 173; if(ns61 && linux)browserTop = 173; if(ns62 && linux)browserTop = 173; if(MacPPC)browserTop = 10; if(opera)browserTop = 140; timegap=500 followspeed=5 followrate=40 suboffset_top=0; suboffset_left=0; i = screen.width; effect = 0 //"Shadow(color='#777777', Direction=135, Strength=6)" prop1=[ // prop1 is an array of properties you can have as many property arrays as you need "000000", // 0- Off Font Color "CADDD7", // 1- Off Back Color "ffffcc", // 2- On Font Color "8399B1", // 3- On Back Color "306FBF", // 4- Border Color 13, // 5- Font Size "normal", // 6- Font Style "normal", // 7- Font Weight "Verdana, Tahoma, Arial, Helvetica, sans-serif", // 8- Font 3, // 9- Padding "/menu/seta.gif", // 10- Sub Menu Image 0, // 11- 3D Border & Separator "66ffff", // 12- 3D High Color "66ffff" // 13- 3D Low Color ] prop2=[ // prop1 is an array of properties you can have as many property arrays as you need "000000", //"", Off Font Color "CADDD7", //"CCCC66", Off Back Color "ffffcc", // On Font Color "8399B1", // On Back Color "FFFFFF", //"003366", Border Color 10, // Font Size "normal", // Font Style "normal", // Font Weight "Verdana, Tahoma, Arial, Helvetica, sans-serif", // Font 4, // Padding "/menu/seta.gif", // Sub Menu Image 0, // 3D Border & Separator "66ffff", // 3D High Color "000099" // 3D Low Color ] hlp=[ // hlp is an array of properties you can have as many property arrays as you need "666666", // Off Font Color "ffffff", // Off Back Color "000000", // On Font Color "ff9933", // On Back Color "666666", // Border Color 9, // Font Size "normal", // Font Style "normal", // Font Weight "comic sans ms,verdana,helvetica", // Font 3, // Padding ".", // Sub Menu Image , // 3D Border & Separator "cccccc", // 3D High Color "000000" // 3D Low Color ] menu1=[ // This is the array that contains your menu properties and details browserTop, //0- Top browserLeft, //1- left , //2- Width - **** KEY TO DYNAMIC **** - WH 0, //3- Border Width , //4- Screen Position - here you can use "center;middle;right" prop1, //5- Properties Array - this is set higher up, as above 1, //6- Always Visible - allows the menu item to be visible at all time , //7- Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center , //8- Filter - Text variable for setting transitional effects on menu activation 0, //9- Follow Scrolling - Tells the menu item to follow the user down the screen 1, //10- Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style , //11- Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page , //12- Reserved for future use , //13- Reserved for future use , //14- Reserved for future use "DMA","show-menu2","/",,1, // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar" "","#",,,1, // bar "Ensino","show-menu3","/licenciaturas/indice.html",,1, "","#",,,1, // bar "Investigação","show-menu5","/investigacao/indice.html",,1, "","#",,,1, // bar "Formação Contínua","show-menu12","",,1, "","#",,,1, // bar "Serviços de Apoio","show-menu13","",,1, "","#",,,1, // bar "Contactos","show-menu6","",,1 ] menu2=[ 0,0,150,0,"",prop2,,"left",effect,,,,,,, "Informação Geral","/index.php",,,1, "Funcionários","/inicio/funcionario.php",,,1, "Docentes/Investigadores","/inicio/docentes.php",,,1, "Docentes convidados","docconvidados.php",,,1 ] menu3=[ 0,0,170,0,"",prop2,,"left",effect,,,,,,, "Cursos adequados (Bolonha)","show-menu8","",,1, "Licenciaturas","show-menu17","",,1, "Mestrados","show-menu9","/mestrados/indice.html",,1, "Cursos de Pós-graduação","show-menu10","",,1, "Programas Doutorais","show-menu14","",,1, "Doutoramentos","/doutoramentos/indice.html",,,1 ] menu4=[ 0,0,250,0,"",prop2,,"left",effect,,,,,,, "Mestrados","show-menu9","/mestrados/indice.html",,1, "Cursos de Pós-graduação","show-menu10","",,1, "Programas Doutorais","show-menu14","",,1, "Doutoramentos","/doutoramentos/indice.html",,,1 ] menu5=[ 0,0,150,0,"",prop2,,"left",effect,,,,,,, "Areas","show-menu11","/investigacao/indice.html",,1, "Publicações","show-menu7","/investigacao/indice.html#publicacoes",,1 ] menu6=[ 0,0,250,0,"",prop2,,"left",effect,,,,,,, "Morada, Telefone e Fax","#contactos",,,1, "Serviços Administrativos e Informações","show-menu15","mailto:dma.sec@fc.up.pt",,1, "Biblioteca","show-menu16","mailto:dma.bib@fc.up.pt",,1, "Acessos e mapa do local","/mapa/",,,1, "","",,,1, "Presidente do Departamento","mailto:dma.presidente@fc.up.pt",,,1, "Comissão Executiva","mailto:dma.ce@fc.up.pt",,,1 ] //Not in use menu7=[ 0,0,150,0,"",prop2,,"left",effect,,,,,,, '2010','/investigacao/publicacoes.php?ano=2010',,,1, '2009','/investigacao/publicacoes.php?ano=2009',,,1, '2008','/investigacao/publicacoes.php?ano=2008',,,1, '2007','/investigacao/publicacoes.php?ano=2007',,,1, '2006','/investigacao/publicacoes.php?ano=2006',,,1, '2005','/investigacao/publicacoes.php?ano=2005',,,1, '2004','/investigacao/publicacoes.php?ano=2004',,,1, '2003','/investigacao/publicacoes.php?ano=2003',,,1, '2002','/investigacao/publicacoes.php?ano=2002',,,1, '2001','/investigacao/publicacoes.php?ano=2001',,,1, '2000','/investigacao/publicacoes.php?ano=2000',,,1, '1999','/investigacao/publicacoes.php?ano=1999',,,1, '1998','/investigacao/publicacoes.php?ano=1998',,,1, '1997','/investigacao/publicacoes.php?ano=1997',,,1, '1996','/investigacao/publicacoes.php?ano=1996',,,1, '1995','/investigacao/publicacoes.php?ano=1995,',,,1 ] menu8=[ 0,0,170,0,"",prop2,,"left",effect,,,,,,, "1º Ciclo (grau de licenciado)","show-menu19",,,1, "2º Ciclo (grau de mestre)","show-menu18",,,1, "3º Ciclo (grau de doutor)","show-menu20",,,1 ] menu18=[ 0,0,450,0,"",prop2,,"left",effect,,,,,,, "Astronomia","/ensino/astro_2ciclo/",,,1,"Desenvolvimento Curricular pela Astronomia","/ensino/astro_ensino_2ciclo/",,,1,"Engenharia Geográfica","/ensino/eng_geograf_2ciclo/",,,1,"Engenharia Matemática","/ensino/eng_mat_2ciclo/",,,1,"Matemática","/ensino/mat_2ciclo/",,,1,"Modelação, Análise e Optimização de Processos Industriais","/ensino/maopi_2ciclo/",,,1,"Sistemas de Informação Geográfica ","/ensino/sig_2ciclo/",,,1] menu19=[ 0,0,350,0,"",prop2,,"left",effect,,,,,,, "Astronomia","/ensino/astro_1ciclo/",,,1,"Matemática","/ensino/mat_1ciclo/",,,1] menu20=[ 0,0,450,0,"",prop2,,"left",effect,,,,,,, "Astronomia","/ensino/astro_3ciclo/",,,1,"Astronomy","/ensino/astro_uk_3ciclo/",,,1] //Not in use //For our Partners menu17=[ 0,0,250,0,"",prop2,,"left",effect,,,,,,, "Engenharia Geográfica","/licenciaturas/l_eg",,,1, "Física/Matemática Aplicada (Astronomia)","/licenciaturas/l_ast",,,1, "Matemática","/licenciaturas/l_m",,,1, "Matemática Aplicada à Tecnologia","/licenciaturas/l_mat",,,1 ] //] //Not in use menu9=[ 0,0,250,0,"",prop2,,"left",effect,,,,,,, "Astronomia","/mestrados/m_ast",,,1, "Detecção Remota","/mestrados/detrem/ ",,,1, "Engenharia Matemática","/mestrados/m_engm",,,1, "Ensino de Astronomia","/mestrados/m_east",,,1, "Estatística","/mestrados/m_est/",,,1, "Matemática Aplicada","/mestrados/m_ma/",,,1, "Métodos Computacionais em Ciências e Engenharia","/mestrados/metodos/",,,1, "Posicionamento e Navegação por Satélite","/mestrados/m_pns",,,1 ] //menu10=[ //0,0,250,0,"",prop2,,"left",effect,,,,,,, //] //Not in use menu10=[ 0,0,250,0,"",prop2,,"left",effect,,,,,,, "Astronomia","/posgrad/pg_a/",,,1, "Detecção Remota","http://www.fc.up.pt/pg_dr/",,,1, "Ensino de Astronomia","/posgrad/pg_east",,,1, "Estatística","/posgrad/pg_e",,,1 //"Posicionamento e Navegação por Satélite","",,,1 ] //About our Partners menu11=[ 0,0,150,0,"",prop2,,"left",effect,,,,,,, "Astronomia
 
Engenharia Geográfica
 
Matemática
 
Matemática Aplicada","/investigacao/indice.html",,,1 ] menu12=[ 0,0,150,0,"",prop2,,"left",effect,,,,,,, "Bad","http://www.ma.fc.up.pt/formacao/bad",,,1 ] menu13=[ 0,0,170,0,"",prop2,,"left",effect,,,,,,, "Biblioteca","/servicos/biblioteca/index.html",,,1 ] menu14=[ 0,0,150,0,"",prop2,,"left",effect,,,,,,, "Astronomia","http://www.ma.fc.up.pt/doutoramentos/astronomia/indice.html",,,1 ] menu15=[ 0,0,300,0,"",prop2,,"right",effect,,,,,,, "Atendimento: 10h às 12h m e 14h 30m às 16h (dias úteis)","",,,1, "Muitos assuntos podem ser resolvidos por correio electrónico. Use esta facilidade no seu próprio interesse","",,,1 ] menu16=[ 0,0,300,0,"",prop2,,"left",effect,,,,,,, " Sala de atendimento e documentação:9h às 17h 45m (dias úteis)","",,,1, "Sala de leitura, acesso www, impressões e reprografia, 8h às 20 horas (dias úteis), Sábado 9h às 13 horas","",,,1 ]