function removebackground(){
//Make the document background white
document.bgColor="white"
//Set the document's background image to null
document.body.style.background=''
}

function revertback(){
//Reload the window
setTimeout("window.location.reload()",50)
}

window.onbeforeprint=removebackground
window.onafterprint=revertback










