

var gAutoPrint = true;
function printSpecial()
{
	if (document.getElementById != null)
	{
		var html = '<HTML>\n';
		html += '<HEAD>\n';
		html += '<style>\n';
		html += '	body {\n';
		html += '		background-image:url(/fileadmin/templates/img/bkg-sidebar-b.gif);\n';
		html += '		background-repeat:no-repeat;\n';
		html += '		font-family:Verdana, Arial, Helvetica, sans-serif !important;\n';
		html += '		font-size:14px;\n';
		html += '		margin-top:150px;\n';
		html += '	}\n';
		html += '	h1 {\n';
		html += '	font-size:16px;\n';
		html += '	color:#AA2B15;\n';
		html += '	}\n';
		html += '</style>\n';

		html += '\n</HE' + 'AD>\n<BODY>\n';
		
		var printReadyElem = document.getElementById("printReady");
		
		if (printReadyElem != null)
		{
				html += printReadyElem.innerHTML;
				alert(printReadyElem);
		}
		else
		{
			alert("Could not find the printReady section in the HTML");
			return;
		}
			
		html += '\n</BO' + 'DY>\n</HT' + 'ML>';
		
		var printWin = window.open("","printSpecial");
		printWin.document.open();
		printWin.document.write(html);
		printWin.document.close();
		if (gAutoPrint)
			printWin.print();
	}
	else
	{
		alert("Sorry, the print ready feature is only available in modern browsers.");
	}
}

function bookmark(){
    var title="Hotel Kronhof: Südtirol Hotel Kronhof in Stuls im Passeiertal."
    var url="http://www.kronhof.com"

    if (window.sidebar) window.sidebar.addPanel(title, url,"");

    else if( window.opera && window.print )
    {
    var mbm = document.createElement('a');
    mbm.setAttribute('rel','sidebar');
    mbm.setAttribute('href',url);
    mbm.setAttribute('title',title);
    mbm.click();
    }

    else if( document.all ) window.external.AddFavorite( url, title);

}

