Response.Write("<script Language=javascript>window.opener=null;window.open(\"\",\"_self\");window.close(); window.open(\"index.aspx\",\"\",\"left=0,top=0,width=\"+screen.availwidth+\",height=\"+screen.availeheight+\",toolsbar=no,location=no,directories=no,titlebar=no,status=no,resizable=yes,menubar=no\");</script>");
<script type="text/javascript">
function showfrom(str) {
var num = Math.random();
window.open("../SchoolQuestion.aspx?tmp=" + num + "&id=" + str + "", "_blank", "height=280, center:yes ,status:no , width=420,toolbar=no, menubar=no, scrollbars=no,resizable=no,location=no,status:no,top=400,left=400")
}
</script>