function testFunction(title, id){
	var printjob = window.open("javascript:",title,"status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=870;height=480,directories=no,location=no");
	printjob.location.href = "print.php";
	var doc = printjob.document;
	var obj = document.getElementsByTagName("table")[0];
	var d = new Date();
	doc.open();
	var timestr = ((d.getDay()>=10) ? d.getDay() : "0"+d.getDay())+"."+((d.getMonth()>=10) ? d.getMonth() : "0"+d.getMonth())+"."+d.getFullYear()+" "+((d.getHours()>=10) ? d.getHours() : "0"+d.getHours())+":"+((d.getMinutes()>=10) ? d.getMinutes() : "0"+d.getMinutes());
	doc.write("<html><head><link href=\"stylesprint.css\" rel=\"stylesheet\" type=\"text/css\"/><title>Drucken</title><meta name=\"author\" content=\"DonkeyArts\"/></head><body><div class=\"main\" id=\"main\"><div><img src=\"http://schulemarcusallee.de/img/logo.jpg\"><br/><span id=\"time\" style=\"width:100%;margin-left:0px;margin-right:0px;\"><span style=\"float:left;\"><a href=\"javascript:window.print();\">[DRUCKEN]</a></span>&nbsp;&nbsp;&nbsp;<span style=\"float:right;\">"+timestr+"</span></span><br/><br/><h1>"+title+"</h1></div><div class=\"content\" id=\"content\">"+obj.innerHTML+"</div></div></body></html>");
}
