function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) { // if the cookie exists
      offset += search.length
      end = document.cookie.indexOf(";", offset); // set the index of beginning value
      
    if (end == -1) // set the index of the end of cookie value
         end = document.cookie.length;
         returnvalue=unescape(document.cookie.substring(offset, end))
      }
   }
  return returnvalue;
}


if (get_cookie('ghunkroot')==''){
// falsely tell the popunder code it has already run to stop it from running again
document.cookie="popunder=yes"
win2=window.open("/","ghunkroot")
win2.blur()
window.focus()
document.cookie="ghunkroot=yes"
}
