/* - - - - - - - - - - - - - - - - - - - - - - -
 JavaScript
 Tuesday, October 16, 2007 3:00:27 PM
 HAPedit 3.1.11.111
 - - - - - - - - - - - - - - - - - - - - - - - */

 // 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  --> Modified by Anthony Ainsworth of Smart Serivces (http://www.SmartServicesEugene.com)

   var ie=document.all
   var dom=document.getElementById
   var ns4=document.layers
   var calunits=document.layers? "" : "px"
   var bouncelimit=8 //(must be divisible by 8)
   var direction="up"

   function initbox(){
   if (!dom&&!ie&&!ns4)
   return
   crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
   scroll_top=(ie)? truebody().scrollTop-611 : window.pageYOffset-611
   crossobj.top=scroll_top+calunits
   crossobj.visibility=(dom||ie)? "visible" : "show"
   dropstart=setInterval("dropin()",50)
   }

   function dropin(){
   scroll_top=(ie)? truebody().scrollTop-571 : window.pageYOffset -571
   if (parseInt(crossobj.top)<621+scroll_top)
   crossobj.top=parseInt(crossobj.top)+30+calunits
   else{
     clearInterval(dropstart)
     bouncestart=setInterval("bouncein()", 50)
     }
   }

   function bouncein(){
   crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits
   if (bouncelimit<0)
   bouncelimit+=8
   bouncelimit=bouncelimit*-1
   if (bouncelimit==0){
   clearInterval(bouncestart)
   }
   }

   function truebody(){
   return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
   }

   window.onload=initbox



