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>nyceVenice.com - Your hotel in Venice</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 en2sp(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('accommodation/venice-hotels','alojamiento/hoteles-en-venecia');
this.location.href=nuovoindirizzo;}

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

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

function en2fr(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('accommodation/venice-hotels','logements/venise-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-venezia','alojamiento/hoteles-en-venecia');
this.location.href=nuovoindirizzo;}

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

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

function it2te(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alberghi/hotel-a-venezia','unterkunfte/venedig-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-venecia','alberghi/hotel-a-venezia');
this.location.href=nuovoindirizzo;}

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

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

function sp2te(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('alojamiento/hoteles-en-venecia','unterkunfte/venedig-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/venise-hotels','alberghi/hotel-a-venezia');
this.location.href=nuovoindirizzo;}

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

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

function fr2te(){
var indirizzo=document.URL;
nuovoindirizzo=indirizzo.replace('logements/venise-hotels','unterkunfte/venedig-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/venedig-hotels','alberghi/hotel-a-venezia');
this.location.href=nuovoindirizzo;}

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

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

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

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