function custom_print() 
{
//var now = new Date()
	var DayOfWeek = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
    var MonthName = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
    var theDate = new Date();
	var url = document.location
  	mitHTML = (document.getElementById || document.all) ? (document.getElementById) ? document.getElementById("indhold").innerHTML : document.all.indhold.innerHTML : "Desværre! Din browser kan ikke klare denne handling!";
    allHTML = '<html><head><title>Udskrift fra www.alucluster.com</title><link rel="stylesheet" href="style/style.css" type="text_print/css"></head><body><table width="800" align="left" valign="top"><tr><td width="600" valign="top"><font style="family:Verdana; size:9px; color:#000000">Print from www.alucluster.com<br><% =Request.ServerVariables(URL) %> </font><br><br></td></tr><tr><td width="600" >' + mitHTML + '</td></tr></table></body></html>';
    nv = window.open("","nytVindue");
	nv.document.write('This page has the following address:  ' + url + '<br>');
    nv.document.write('Print date: ' + DayOfWeek[theDate.getDay()] + '   ' + theDate.getDate() + '. ' + MonthName[theDate.getMonth()] + ', ' + (theDate.getYear() < 100 ? theDate.getYear() + 1900 : theDate.getYear()) + '<br>');
	nv.document.write(allHTML);
    nv.document.close();
    nv.print();
    setTimeout("nv.close()",500);
}

