function printWindow(){
browserVersion = parseInt(navigator.appVersion)
if (browserVersion >= 4) window.print()
else window.alert('Your browser does not support this feature');
}



var bookmarkurl="http://www.barcelonarelocation.com"
var bookmarktitle="Barcelona Relocation Services"

function bookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
else window.alert('Netscape browsers do not support this feature. Pressing Ctrl + D will bookmark this page.');
}


function Item(){

  this.length = Item.arguments.length 

  for (var i = 0; i < this.length; i++)

    this[i] = Item.arguments[i]

}

function Fecha() {

  var ndia  = new Item('Domingo', 'Lunes', 'Martes', 'Miercoles', 'Jueves', 'Viernes', 'Sábado')

  var nmes  = new Item('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 

                          'Julio', 'Agosto', 'Setiembre', 'Octubre', 'Noviembre', 'Diciembre')

  var ahora

  var fecha = new Date()

  var ano   = fecha.getYear()

  var mes   = fecha.getMonth()

  var dia   = fecha.getDay()

  var aux   = "" + fecha

  

  if (ano<10) {

    ano2 = "200" + eval(ano)

  }

  else if (ano<80) {                // ano tiene 2 dí§Štos 19xx (máł de 80)

    ano2 = "20" + ano

  } 

  else if (ano<=99) {               // ano tiene 2 dí§Štos 20xx (menor de 80)

    ano2 = "19" + ano

  }

  else if (ano<1000) {              // ano tiene 3 dí§Štos (100 es 2000)

    ano2 = eval(ano) + eval(1900)

  }

  else {

    ano2 = ano                      // ano tiene 4 dí§Štos

  }

  

  ahora = "&nbsp;&nbsp;&nbsp;&nbsp;" + ndia[dia] + ", " + eval(aux.substring(7, 10)) + " " + nmes[mes] + " " + ano2

  return ahora

}



function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}