";
var newstr = document.getElementById("context_div").innerHTML;
var oldstr = document.body.innerHTML;
document.body.innerHTML = headstr+newstr+footstr;
window.print();
document.body.innerHTML = oldstr;
return false;
}
function SetWinHeight(obj)
{
var win=obj;
if (document.getElementById)
{
if (win && !window.opera)
{
if (win.contentDocument && win.contentDocument.body.offsetHeight)
{win.height = win.contentDocument.body.offsetHeight; }
else if(win.Document && win.Document.body.scrollHeight)
{win.height = win.Document.body.scrollHeight;}
}
}
}