// Drop-in content box- By Dynamic Drive // For full source code and more DHTML scripts, visit http://www.dynamicdrive.com // This credit MUST stay intact for use
var ie=document.all var dom=document.getElementById var ns4=document.layers
var bouncelimit=32 //(must be divisible by 8) var direction="left"
function dropin(){ scroll_top=(ie)? document.body.scrollTop : window.pageYOffset if (parseInt(crossobj.top)<125+scroll_top) crossobj.top=parseInt(crossobj.top)+40 else{ clearInterval(dropstart) bouncestart=setInterval("bouncein()",50) } }
function staton(st) { window.status='Contact Us'; return true; } function statoff() { window.status=''; }
function bouncein(){ crossobj.top=parseInt(crossobj.top)-bouncelimit if (bouncelimit<0) bouncelimit+=8 bouncelimit=bouncelimit*-1 if (bouncelimit==0){ clearInterval(bouncestart) } }
function dismissbox(){ if (window.bouncestart) clearInterval(bouncestart) crossobj.visibility="hidden" }
function doPopup() {
var info='<TABLE WIDTH=310 BGCOLOR="#000000" CELLPADDING=4 CELLSPACING=0><TR><TD><TABLE BGCOLOR="#FFFFCC" CELLSPACING=0 CELLPADDING=5><TR><TD>' + '<DIV CLASS="header" ALIGN="center">Join Tek-Tips<SUP>®</SUP> Today!</DIV>' + '<P ALIGN="Center">Join your peers on the Internet\'s largest technical computer professional community.<BR>It\'s easy to <a href="#"><B>join</B></A> and it\'s free.</P>' + '<P><B>Here\'s Why Members Love Tek-Tips Forums:</B>' + '<UL>' + '<LI>Talk To Other Members</LI>' + '<LI>Notification Of Responses To Questions</LI>' + '<LI>Favorite Forums One Click Access</LI>' + '<LI>Keyword Search Of All Posts, And More...</LI>' + '</UL></P>' + '<P ALIGN="Center"><a href="#"><b>Register</b></a> now while it\'s still free!</p>' + '<P ALIGN="Center">Already a member? <a href=javascript:dismissbox()><b>Close</b></a> this window and log in.</P>' + '<P ALIGN="Center"><font size=3><a href="#"><B>Join Us</B></A> <a href=javascript:dismissbox()><b>Close</b></a></font></p>' + '</TD></TR></TABLE></TD></TR></TABLE>'; if (ie) { document.all.dropin.innerHTML = info; document.all.dropin.left='200'; } else if (ns4) { document.layers['dropin'].document.open(); document.layers['dropin'].document.write(info); document.layers['dropin'].document.close(); } else if (dom) { document.getElementById('dropin').innerHTML= info; }