function PopUp(_url,x,y,scroll) {

	if (_url=="") {
		return false;
	}
	else {
		winOpts = "status=no,menubar=no,toolbar=no,resizable=yes,scrollbars=" + scroll;
		PopWin = window.open("", "popup", winOpts);
		PopWin.document.write('<html>');
		PopWin.document.write('<head>');
		PopWin.document.write('<title>nyceAmsterdam.com - Your hotel in Amsterdam</title>');
		PopWin.document.write('</head>');
		PopWin.document.write('<body bgcolor="#ffffff" topmargin="0" leftmargin="0">');
		PopWin.document.write('<table border="0" cellspacing="0" cellpadding="10" width="100%" height="100%">');
		PopWin.document.write('<tr><td valing="middle"><p align="center"><a href="javascript:close()"><img src="'+_url+'" border="0"></p></td></tr>');
		//PopWin.document.write('<tr><td><p align="center"><a href="javascript:close()" style="font-family:verdana 10 px bold">Close window</a></td></tr>'); 
		PopWin.document.write('</body>');
		PopWin.document.write('</html>');
		PopWin.resizeTo(x,y+40);
		PopWin.moveTo(200,50);
		PopWin.focus();
		PopWin.document.close();

	}
}

function PopMap(url,x,y,scroll) {

	if (url=="") {
		return false;
	}
	else {
		winOpts = "status=no,menubar=no,toolbar=no,resizable=yes,scrollbars=" + scroll;
		PopWin = window.open(url, "popup", winOpts);
		PopWin.resizeTo(x,y);
		PopWin.moveTo(200,50);
		PopWin.focus();
	}
}
//-------------------------------------------------------------------------------------------------------------------------------//
function en2sp(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('accommodation/rome-hotels','alojamiento/hoteles-en-roma');
this.location.href=nuovoindirizzo;}

function en2te(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('accommodation/rome-hotels','unterkunfte/rom-hotels');
this.location.href=nuovoindirizzo;}

function en2it(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('accommodation/rome-hotels','alberghi/hotel-a-roma');
this.location.href=nuovoindirizzo;}

function en2fr(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('accommodation/rome-hotels','logements/rome-hotels');
this.location.href=nuovoindirizzo;}

function en2en(){
var indirizzo=document.URL;
this.location.href=indirizzo;}

//----------------------ITALIANO

function it2sp(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alberghi/hotel-a-roma','alojamiento/hoteles-en-roma');
this.location.href=nuovoindirizzo;}

function it2en(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alberghi/hotel-a-roma','accommodation/rome-hotels');
this.location.href=nuovoindirizzo;}

function it2fr(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alberghi/hotel-a-roma','logements/rome-hotels');
this.location.href=nuovoindirizzo;}

function it2te(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alberghi/hotel-a-roma','unterkunfte/rom-hotels');
this.location.href=nuovoindirizzo;}

function it2it(){
var indirizzo=document.URL;
this.location.href=indirizzo;}

//--------------------------SPAGNOLO----------------//

function sp2it(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alojamiento/hoteles-en-roma','alberghi/hotel-a-roma');
this.location.href=nuovoindirizzo;}

function sp2en(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alojamiento/hoteles-en-roma','accommodation/rome-hotels');
this.location.href=nuovoindirizzo;}

function sp2fr(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alojamiento/hoteles-en-roma','logements/rome-hotels');
this.location.href=nuovoindirizzo;}

function sp2te(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alojamiento/hoteles-en-roma','unterkunfte/rom-hotels');
this.location.href=nuovoindirizzo;}

function sp2sp(){
var indirizzo=document.URL;
this.location.href=indirizzo;}

//------------------FRANCESE-------------------//

function fr2it(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('logements/rome-hotels','alberghi/hotel-a-roma');
this.location.href=nuovoindirizzo;}

function fr2en(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('logements/rome-hotels','accommodation/rome-hotels');
this.location.href=nuovoindirizzo;}

function fr2sp(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('logements/rome-hotels','alojamiento/hoteles-en-roma');
this.location.href=nuovoindirizzo;}

function fr2te(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('logements/rome-hotels','unterkunfte/rom-hotels');
this.location.href=nuovoindirizzo;}

function fr2fr(){
var indirizzo=document.URL;
this.location.href=indirizzo;}

//--------------TEDESCO--------------------//

function te2it(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('unterkunfte/rom-hotels','alberghi/hotel-a-roma');
this.location.href=nuovoindirizzo;}

function te2en(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('unterkunfte/rom-hotels','accommodation/rome-hotels');
this.location.href=nuovoindirizzo;}

function te2sp(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('unterkunfte/rom-hotels','alojamiento/hoteles-en-roma');
this.location.href=nuovoindirizzo;}

function te2fr(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('unterkunfte/rom-hotels','logements/rome-hotels');
this.location.href=nuovoindirizzo;}

function te2te(){
var indirizzo=document.URL;
this.location.href=indirizzo;}