// Scrolling Drop-Down Thingie
//
// Origin unkown (mods by Bill)
// Touch this script and die! :)

var negativeTop = -302; // height of image - 30 pixels (arrow)
var moveStep = 50;  //scrolling speed (the lazy way :)
var timing = 25

var curY = negativeTop;
var stepTimer1;
var stepTimer2;
var ie = 0;
var ns = 0;
var switching=0;

if (parseInt(navigator.appVersion) >= 4) {
  ns = (navigator.appName == "Netscape") ? true : false;
  ie = (navigator.appName.indexOf("Microsoft") != -1) ? true : false;
}

if(ie || ns){
  document.write('<style type="text\/css">\n');
  document.write('#rollout { position: absolute; top: '+negativeTop+'px; left: 0px; margin-top: 0px; margin-left: 0px; }\n');
  document.write('BODY { margin-top: 120px }\n');
  document.write('<\/style>\n');
}  


function doNothing(){
return true;
}


function switch_on(){
switching=1
clearTimeout("bring()");
  if(window.stepTimer2)
    clearTimeout(stepTimer2);
  if(curY < 0){
    curY += moveStep;
    if(curY > 0)
      curY = 0;
    if(ie)
      rollout.style.top = curY+"px";
    if(ns)
      document.layers["rollout"].top = curY+pageYOffset;
    stepTimer1 = setTimeout("switch_on()",timing);
  } 
  else if(window.stepTimer1){
    clearTimeout(stepTimer1);
  }
}

function switch_off(){
  if(window.stepTimer1)
    clearTimeout(stepTimer1);
  if(curY > negativeTop){
    curY -= moveStep;
    if(curY < negativeTop)
      curY = negativeTop;
    if(ie)
      rollout.style.top = curY+"px";
    if(ns)
      document.layers["rollout"].top = curY+pageYOffset;
    stepTimer2 = setTimeout("switch_off()",timing);
  } 
  else if(window.stepTimer2){
    clearTimeout(stepTimer2);
    switching=0;
    setTimeout("bring()",10)
   }
}

if(ie || ns){
t1=('<div id="rollout"><MAP name="related"><AREA shape="rect" coords="42,46,170,66" href="http://www.paradigm.nu/popupsmustdie/"><AREA shape="rect" coords="42,68,170,87" href="http://popbusters.cjb.net/"><AREA shape="rect" coords="42,91,170,109" href="http://zip.to/getridofpopups"><AREA shape="rect" coords="42,113,170,130" href="http://smog.cjb.net/html/adkill.htm"><AREA shape="rect" coords="42,203,170,220" href="http://wwwwin.wplus.net/pp/fsc/"><AREA shape="rect" coords="42,224,170,243" href="http://www.intercantech.com/popoff.htm"><AREA shape="rect" coords="42,247,170,265" href="http://members.aol.com/helhasan/"></MAP>');

t2=('<a href="javascript:" onMouseOver="switch_on()" onMouseOut="switch_off()"><img src="r_diepop.gif" width=310 height=331 usemap="#related" border=0></a><\/div>\n');

thingie=t1+t2;
  document.write(thingie);

}

setTimeout("bring()",10)

function bring(){
document.layers["rollout"].top=pageYOffset+negativeTop;
if (switching==0){ setTimeout("bring()",10);}
}