// JavaScript to create the print link

createPrintLink();


function createPrintLink() {
	var curUrl;
	
	curUrl = location.href;
//	curUrl = curUrl+"druck/";
	curLen = curUrl.length;
	if(curUrl.charAt(curLen-1) == "/") {
		curUrl = curUrl+"?&print=1&no_cache=1";
	} else {
		curUrl = curUrl+"/?&print=1&no_cache=1";
	}
	//add the string, defined in realurl_autoconf.php to replace &print=1
	
	document.write('<a class="print-link" href="' + curUrl + '">');
//	return curUrl;
}