// WEITEREMPFEHLEN-POPUP *****************************************************************************************************************************************

function suggest_page(url) {
	//alert (url);
    pWin = open("popups/weiterempfehlen/index.php?p="+url,"Weiterempfehlen","menubar=no,toolbar=no,directories=no,scrollbars=no,resizable=no,status=no,location=no,width=320,height=500");
    pWin.moveTo(screen.width/2-160,screen.height/2-250);
    pWin.path = url;
    pWin.focus();
}


// UEBERSICHTSKARTE-POPUP *****************************************************************************************************************************************

function overview_map() {
	pWin = open("popups/uebersichtskarte/index.html","Uebersicht","menubar=no,toolbar=no,directories=no,scrollbars=no,resizable=no,status=no,location=no,width=980,height=420");
    pWin.moveTo(screen.width/2-505,screen.height/2-240);
    pWin.focus();
}

// BUCHUNGSMODUL-POPUP *****************************************************************************************************************************************

function online_booking() {
	pWin = open("popups/buchung/index.html","Buchung","menubar=no,toolbar=no,directories=no,scrollbars=no,resizable=no,status=no,location=no,width=820,height=650");
    pWin.moveTo(screen.width/2-410,screen.height/2-325);
    pWin.focus();
}

//*******************************************************************************************************************************************************

// ENCODE-EMAIL

function encode_email(name,domain) {
	// noch mehr sicherheit wenn variablen uni-code chiffriert gesendet werden
	document.write('<a href=\"mailto:'+name+'@'+domain+'\" style=\"color:#000; font-weight: normal;\">');
	document.write(name+'@'+domain+'</a>');
}
//*******************************************************************************************************************************************************
