
function printsmcs()
{
var printsmcs = window.open('','','width=1500,height=1000');
printsmcs.document.open("text/html");
printsmcs.document.write(document.getElementById('printArea').innerHTML);
printsmcs.document.close();
printsmcs.print();
}
text area for prin...