function daysLeft()
{
 today = new Date()
 nextDate = new Date("January 1, 2020")
 msPerDay = 24*60*60*1000;
 daysLeft = Math.round((nextDate.getTime() - today.getTime())/msPerDay);
 dayname="";
 ds=""+daysLeft;
 dd=parseInt(ds.substr(ds.length-1));
 if(daysLeft>4&&daysLeft<21)dayname=" days"
 else
  if(dd==1)dayname=" day"
  else
   if(dd==2||dd==3||dd==4)dayname=" day"
   else dayname=" days"
}

  var gright=220;
  var gbottom=40;
  var n = (document.layers) ? 1:0;
  var ie = (document.all) ? 1:0;

  function makeObj(obj,nest){
        nest=(!nest) ? '':'document.'+nest+'.'
        this.css=(n) ? eval(nest+'document.'+obj):eval(obj+'.style')
        this.moveIt=b_moveIt;
  }
  function b_moveIt(x,y){
        this.x=x; this.y=y
        this.css.left=this.x
        this.css.top=this.y
  }
  var pageWidth,pageHeight
  function Init(){
        oTest=new makeObj('divBottom')
        pageWidth=(ie)?document.body.offsetWidth-4:innerWidth;
        pageHeight=(ie)?document.body.offsetHeight-2:innerHeight;
        checkIt()
        onresize=resized
        if(ie) window.onscroll=checkIt;
  }
  function checkIt(){
        if(ie) oTest.moveIt(document.body.scrollLeft +pageWidth-gright,
                             document.body.scrollTop+pageHeight-gbottom)
        else if(n){
                oTest.moveIt(window.pageXOffset+pageWidth-gright,
                 window.pageYOffset+pageHeight-gbottom)
                setTimeout('checkIt()',20)
                }
  }
  function resized(){
        pageWidth=(ie)?document.body.offsetWidth-4:innerWidth;
        pageHeight=(ie)?document.body.offsetHeight-2:innerHeight;
        if(ie) checkIt()
  }
