";
var footstr = "
";
var newstr = document.all.item(printpage).innerHTML;
var oldstr = document.body.innerHTML;
document.body.innerHTML = headstr+newstr+footstr;
window.print();
window.location.reload();
document.body.innerHTML = oldstr;
return false;
}