  function GetCookie(name){
      var arg = name + "=";
      var alen = arg.length;
      var clen = document.cookie.length;
      var i = 0;

      while(i < clen){
          var j = i + alen;
          if(document.cookie.substring(i, j) == arg)
          return getCookieVal(j);
          i = document.cookie.indexOf(" ", i) + 1;
          if(i == 0) break;
      }
      return null;
  }

  function getCookieVal(offset){
      var endstr = document.cookie.indexOf(";", offset);
      if(endstr == -1)
          endstr = document.cookie.length;
      return unescape(document.cookie.substring(offset, endstr));
  }


function pop_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function setCookie( name, value, expiredays ) {
  var todayDate = new Date();
  todayDate.setDate( todayDate.getDate() + expiredays );
  document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + "; domain=" + "www.wbsfm.com"+";";
}

var cookieval = new Date();
cookieval = cookieval.getTime();
var rStr_1 = "" + Math.random();
var rStr_2 = "" + Math.random();
var rStr_3 = "" + Math.random();
var rStr_4 = "" + Math.random();
var rStr_5 = "" + Math.random();
rStr_1 = rStr_1.charAt(2);
rStr_2 = rStr_2.charAt(2);
rStr_3 = rStr_3.charAt(2);
rStr_4 = rStr_4.charAt(2);
rStr_5 = rStr_5.charAt(2);

cookieval = cookieval + rStr_1 + rStr_2 + rStr_3 + rStr_4 + rStr_5;