// ################ Popup-Funktion fuer Bildmaterial ##############
    function open_img_details(f_url){
	f_name = "popup";
	f_props = "width=400,height=540,scrollbars=yes,resizable=yes";
	f = open(f_url,f_name,f_props);
	f.focus(); 
}

// ################ Druckfunktion ##############
   function printPage(){
    
	var page_url = location.href;
	var html_text,head,headline,stylesheet,footer;
	
	
	if(navigator.appName == "Netscape"){
		window.print()
		return
	}
	
	if(navigator.appVersion.indexOf("MSIE 5") == -1 && navigator.appVersion.indexOf("MSIE 6") == -1 ){
		alert("F&uuml;r die optimierte Druckversion ben&ouml;tigen Sie mindestens Internet Explorer 5.0. Bitte benutzen Sie die Standard-Druckfunktion Ihres Browsers.");
		return;
	}
	if(typeof(page_url) == "undefined" || page_url == ""){
		page_url = "http://po.talkabout.de";
	}

	
	head = "<head>"
	head +='<link rel="stylesheet" href="/fileadmin/template/system/style.css">';
	head +='<title>' + document.title + ' - optimierte Druckversion&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/title>'
	
	head += "<\/head><body><span class='bodytext'>"

	
	html_text = document.all["MainContent"].innerHTML;
	

	footer = ' ';
	nf = open ("/leer.htm","drucken","width=450,height=300");
	nf.focus();
	with (nf.document){
		
		open();
		write(head)
		//write(headline)
		write(html_text)
		write(footer)
		write("<\/body>")
		close()
	}
	//document.onclick=nf.focus;
	nf.print();
	nf.close();
	//window.focus();
}

