//<script language="JavaScript">

function page_print()
{
if (window.print)
  {
  window.print();
  }
else
  {
  alert('Please use the print functionality of your browser.');
}
return false;
}

//please use only these and do NOT use own javascript functions inside HTML
// if you need special functions or features declare a new function here.

function popup(theURL,features) {
  pop = window.open(theURL + "?savereferrer=no","popfenster",features);
	pop.focus();
}

//new popup script, used e.g. in video
function popp(theURL) {
	if(popp.arguments.length >1){
		features = popp.arguments[1];
	} else {
		features = "toolbar=0,location=0,directories=0,status=0,menuBar=0,resizable=1,top=0,left=0";
	}
	popWidth=0;
	popHeight=0;	
	popURL=theURL+"";
	popName="popup"
	if(theURL.target){
		popName=theURL.target+"";
	}
	pop = window.open(popURL + "?savereferrer=no",popName,features);
	if(popURL.indexOf(document.domain)>0){//resizing works only on pages of the same domain
		if(features.indexOf("width=")>=0){
			var re = /width=(\d*)/;
			re.exec(features);
			popWidth=Number(RegExp.$1);
		}
		if(features.indexOf("height=")>=0){
			var re = /height=(\d*)/;
			re.exec(features);
			popHeight=Number(RegExp.$1);
		}
		if(popWidth>0&&popHeight>0){
			pop.resizeTo(popWidth,popHeight);
		}
	}
	pop.focus();
	return false;
}
//</script>