var myref=window.location.href
var today = new Date()
var ayear = new Date()
ayear.setTime(today.getTime( ) + 1000*60*60*24*365)
var anhour = new Date( )
anhour.setTime(today.getTime( ) + 1000*60*60)
var killit = new Date( )
killit.setTime(today.getTime( ) + -1)

function popsee(pass)
{ window.open(pass,'','scrollbars=yes, toolbar=no, resizeable=yes, location=no, height=550 width=750')
}

function gosee(pass)
{ window.open(pass)
}

function setCookie(cookLbl, value, expire) 
{  document.cookie=cookLbl + "=" + escape(value) 
   + ((expire==null) ? "" : ("; expires=" + expire.toGMTString( )))
}


function getCookie(cookLbl) 
{  var search=cookLbl + "="
   if (document.cookie.length>0)
   {  offset=document.cookie.indexOf(search)
      if (offset!=-1) 
      {  offset +=search.length
         end=document.cookie.indexOf(";",offset)
         if (end==-1)
            end=document.cookie.length
            return unescape(document.cookie.substring(offset, end))       
       }
   }
}

