<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}


/*function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=pathCompleto+a[i+2]}
}*/

function MM_openBrWindow(theURL,winName,features) { //v2.0
   //window.open("idiomes/"+idioma_actual+"/continguts/"+theURL,winName,features);
   window.open(theURL,winName,features);
   
}

function openPopUp(theURL,winName,features) { 
  window.open(theURL,winName,features);
}


function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
	
function magnify(imgurl){
	magnifysyspath = "/de/popup/magnify.htm";
	magnurl=magnifysyspath+"?link="+imgurl;
	window.open(magnurl,'magnify','resizable=yes,width=625,height=406');
	}
	
function popFrame(url,name,params){
	popsyspath = "/de/popup/popup.htm";
	theurl=popsyspath+"?link="+url;
	window.open(theurl,name,params);
	}

function popRebuild(){
	if(top.document.location==document.location){
		popsyspath = "/de/popup/popup.htm";
		//alert("no se ha llamado desde popup frame: "+top.document.location);
		window.location=popsyspath+"?link="+document.location;
		}
	}

function pintaToolPagina() {
	document.write('<!-- ToolPagina - INI -->');
	document.write('	<a href="/de/index.htm" class="toolbar">Startseite</a>');
	document.write(' &nbsp;<img src="/img_comun/separadores.gif" width="3" height="3" vspace="1">&nbsp;');
	document.write('	<a href="/de/contacto.htm" class="toolbar">Kontakt</a>');
	document.write(' &nbsp;<img src="/img_comun/separadores.gif" width="3" height="3" vspace="1">&nbsp;');
	
	
	document.write('	<a href="https://bookings.ehbox.com/step2.php?hotel=179&src=HOTEL&l=de"  class="toolbar" target="_blank">Buchen</a>');
	document.write(' &nbsp;<img src="/img_comun/separadores.gif" width="3" height="3" vspace="1">&nbsp;');
	document.write('	<a href="/de/tentaciones/tentaciones.htm" class="toolbar">Verlockende Angebote</a>');
	document.write(' &nbsp;<img src="/img_comun/separadores.gif" width="3" height="3" vspace="1">&nbsp;');
	document.write('	<a href="/de/situacion/situacion.htm" class="toolbar">Lageplan</a>');
	document.write(' &nbsp;<img src="/img_comun/separadores.gif" width="3" height="3" vspace="1">&nbsp;');
	document.write('	<a href="javascript:void(null)" onClick="MM_openBrWindow(\'/de/photogallery/photogallery.asp\',\'pop\',\'scrollbars=yes,width=730,height=530\')" class="toolbar">Fotogalerie</a>');
	document.write('<!-- ToolPagina - FIN -->');
}

function pintaIdiomaPagina() {
	document.write('<!-- ToolPagina - INI -->');
	document.write('	<a href="/es/index.htm" class="toolbarGris">ESP</a>');
	document.write('	-');
	document.write('	<a href="/en/index.htm" class="toolbarGris">ENG</a>');
	document.write('	-');
	document.write('	<a href="/de/index.htm" class="toolbarGris">DE</a>');
	document.write('	-');
	document.write('	<a href="/fr/index.htm" class="toolbarGris">FR</a>');
	document.write('<!-- ToolPagina - FIN -->');
}

function pintaIdiomaPaginaImg() {
	document.write('<!-- IdiomaPagina - INI -->');
	document.write('	<a href="/es/index.htm"><img src="/img_comun/bot07_a.gif" alt="Espa&ntilde;ol" name="Image8" width="28" height="22" border="0" id="Image8" onMouseOver="MM_swapImage(\'Image8\',\'\',\'/img_comun/bot07_b.gif\',1)" onMouseOut="MM_swapImgRestore()"></a>');
	document.write('	<a href="/en/index.htm"><img src="/img_comun/bot08_a.gif" alt="English" name="Image9" width="28" height="22" border="0" id="Image9" onMouseOver="MM_swapImage(\'Image9\',\'\',\'/img_comun/bot08_b.gif\',1)" onMouseOut="MM_swapImgRestore()"></a>');
	document.write('	<a href="/de/index.htm"><img src="/img_comun/bot09_a.gif" alt="Deutsch" name="Image10" width="23" height="22" border="0" id="Image10" onMouseOver="MM_swapImage(\'Image10\',\'\',\'/img_comun/bot09_b.gif\',1)" onMouseOut="MM_swapImgRestore()"></a>');
	document.write('	<a href="/fr/index.htm"><img src="/img_comun/bot10_a.gif" alt="Fran&ccedil;ais" name="Image11" width="23" height="22" border="0" id="Image11" onMouseOver="MM_swapImage(\'Image11\',\'\',\'/img_comun/bot10_b.gif\',1)" onMouseOut="MM_swapImgRestore()"></a>');
	document.write('<!-- IdiomaPagina - FIN -->');
}

function pintaPiePagina() {
	document.write('<!-- PiePagina - INI -->');
	document.write(' &copy; Grand Hotel Central&nbsp;·&nbsp;');
	document.write('	<a href="javascript:void(null)" onClick="MM_openBrWindow(\'/de/popup/popup.htm\',\'pop\',\'scrollbars=yes,width=550,height=450\')" class="toolbar">Rechtliche Hinweise</a>');	
	document.write('<!-- PiePagina - FIN -->');
}

//-->