function writeToDiv() { // passing new width and height var htmlCode = '
'; if(!document.all && document.getElementById) { obj=document.getElementById("adunit1"); obj.innerHTML=htmlCode; } else if(document.layers) { with(document.layers.adunit1.document) { open("text/html","replace"); write(htmlCode); close(); } } else if(document.all) { document.all.adunit1.innerHTML = htmlCode; } } function clickthru1() { document.clickthru1.submit(); }