function poponload()
{

my_window = window.open ("printpage.asp", "","status=1,scrollbars=1,width=550,height=400");
var val1,val2,valcss;
val1=document.getElementById("story").innerHTML;
val2=document.getElementById("links").innerHTML;
valcss="<link href='css/printpopup.css' rel='stylesheet' type='text/css' media='screen, projection' />";
my_window.document.write(valcss+'<div style="margin-left:10px;"><div "story"><p>'+val1+'</p></div>'+"<br>"+'<div id="links"><p>'+val2+'</p></div></div>'+"<br>"+"<center><input type=\"button\" "
+"value=\"Print\" onClick=\"javascript:window.print();\"></center>");
my_window.document.close();
}
