var docbody

docbody ='<TABLE class = "tpttableoutside" width="95%"  cellspacing="10" cellpadding="15" >'
docbody+='   <TR><TD class = "tpttdoutside" >'
docbody+='   <TABLE class = "tpttableinside" width="90%" cellpadding="10" cellspacing="10"  >'
docbody+='  <TR><TD class = "tpttdinside"  >'
docbody+='   <BR><BR><TABLE class = "tpttabletitleimage" width="80%" cellpadding="3" cellspacing="0" >'
docbody+='  <TR><TD class = "tpttdtitle"  >'
docbody+='  <H2 id="titletop">titletextgoeshere</H2></TD>'
docbody+='  </TR><TR><TD align="center"><TABLE class="tpttableimage" cellspacing="5" cellpadding="5" width="600" >'
docbody+='  <script type="text/javascript" language="javascript">document.write(imagetable);</script>'
docbody+='  </TABLE></TD></TR><TR><TD class = "tpttddesctitle">'
docbody+='  <H2 id="titlebottom">titletextgoeshere2</H2>'
docbody+='  <TABLE class = "tpttabledesc" width="90%" >'
docbody+='  <TR><TD class = "tpttddesc" >'
docbody+='  <script type="text/javascript" language="javascript">document.write(descriptiontext);document.write(jstags);</script>'
docbody+='  </TD></TR></TABLE><br></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE>'
docbody+='  <script type="text/javascript" language="javascript" src= "copywrite.js"></script>'

document.write(docbody);


window.onload = changehtml();
function changehtml() {
document.getElementById("titletop").innerHTML=newtitle;
if (imagetable >""){
document.getElementById("titlebottom").innerHTML=newtitle;
}
else{document.getElementById("titlebottom").innerHTML="";
}


}


