function getPrint()
{
	myWindow = window.open("","_blank", "width=766,height=500,scrollbars=yes");
	myWindow.document.write("<html><head><title>Naropin - Printer Friendly</title>");
	myWindow.document.write("<script src=\"js/functions.js\"><\/script>");
	myWindow.document.write("<link href=\"style.css\" rel=\"stylesheet\" type=\"text\/css\" \/>");
	myWindow.document.write("</head><body>");
	myWindow.document.write("<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">");
	myWindow.document.write("   <tr><td>");
	myWindow.document.write("       <div style=\"position:relative\">");
	myWindow.document.write("           <img src=\"images/printer_template_top.gif\">");
	myWindow.document.write("           <div style=\"position:absolute;top:20px;right:10px;\">");
	myWindow.document.write("               <a href=\"javascript:;\" onclick=\"window.print();\"><img src=\"images/printer_template_printer.gif\" border=\"0\" /></a>");
	myWindow.document.write("           </div>");
	myWindow.document.write("       </div>");
	myWindow.document.write("<br/><br/>");
	
	var temp = dom("textNode");
	if(temp)
		myWindow.document.write("<font color=\"#666666\">" + temp.innerHTML + "</font>");	
	
	myWindow.document.write("	</td></tr></table>");
	myWindow.document.write("</body></html>");
	myWindow.document.close();
}

function dom(id)
{
    return document.getElementById(id);
}