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/print.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:#000000;\n';
		html += '	}\n';
		html += '</style>\n';

		html += '\n</HE' + 'AD>\n<BODY>\n';
		
		var printReadyElem = document.getElementById("content");
		
		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="Camping Bungalows Adler"
    var url="http://www.campingadler.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);

}

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];}}
}