function resetbut(){}; function codeCopied(msg){ alert(msg); } function draw(url){ var bid=url.substr(url.length-11,7); var w=document.user.w.value; var h=document.user.h.value; if(isNaN(w)||!w||w.length>4||w.length<2||w/h<3){w = '468';} if(isNaN(h)||!h||h.length>3||h.length<2||w/h<3){h = '60';} var bs=document.user.bstyle.value; var bw=document.user.bwidth.value; var bc=document.user.bcolor.value; if(document.user.bord.checked){ var divstyle='
'; var divclose='
'; var stystr='style="width:'+w+'px;border: '+bs+' '+bw+bc+'"'; }else{ var divstyle=''; var divclose=''; var stystr=''; } var codelink='
Get my banner code | Your own flash banner
'; //var str1=divstyle+''+codelink+divclose; str1=divstyle+''+codelink+divclose; if(url.indexOf("imageshack.us")!=-1){ codelink='
Get my banner code | Your own flash banner
'; } if(w/h<3){alert('Invalid width:height aspect ratio.');} document.code.select.value=str1; var banner='
'+codelink+'
'; document.getElementById("showBanner").innerHTML=banner; document.getElementById("codeout").style.display='block'; //document.getElementById("dlb").innerHTML=''; location.hash = 'codegen'; window.status="The banner HTML code has been updated! Now reloading your banner." setTimeout("window.status=''",4800); var pconf={ widgetTitle: 'Free Flash banner at FlashBannerNow.com', CID: 'Free Flash banner', defaultContent: 'select', UIConfig: '' }; Wildfire.initPost('134811', 'divWildfirePost', 800, 300, pconf); }