portion pp.document.writeln('') //pp.document.writeln('') //pp.document.writeln('') pp.document.writeln('') //Adding Body Tag pp.document.writeln(''); //Adding form Tag pp.document.writeln(''); //Creating two buttons Print and Close within a table pp.document.writeln('
'); //Writing print area of the calling page pp.document.writeln(document.getElementById(print_area).innerHTML); //Ending Tag of , and pp.document.writeln(''); }