// begin: browser detection

var thisBrowser = null;
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);

if ((bName == "Netscape") && (bVer <= 4))
  thisBrowser = "ns4";
else
  thisBrowser = "ie";

// write the css
switch(thisBrowser)
{
  case "ns4":
    document.writeln("<link href='css/ns.css' rel='stylesheet' type='text/css'>");
    break;
  default:
    document.writeln("<link href='css/ie.css' rel='stylesheet' type='text/css'>");
    break;
}
// end


<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function opensitemap_es(){
sitemapWin = window.open('sitemap.html','PopUp','scrollbars=yes,toolbars=no,resizable=yes,fullscreen=no,width=500,height=600,top=0,left=0')
sitemapWin.focus()
}

// change the address on this function to point to the correct phone page(when available)
function openPhonePage(){

// address should be the full address including the http:// part
addressToPhonePage = "http://www.nokia.pt/telefones/Modelos/7260/legal.html"
phonewindow = window.open(addressToPhonePage,'PhonepagePopUp','location,menubar,status,toolbar,scrollbars=yes,toolbars=yes,resizable=yes,fullscreen=no,width=780,height=600,top=5,left=5')
phonewindow.focus()
}



