function newWin(myFile, myID, winSpecs) {
	activityWin = window.open(myFile, myID, winSpecs);
}

function activity_win_close() {
	window.opener = top;
	window.close();
}

function readit() {
  cookString = "?";
  if(document.cookie != "") {
    theCook = document.cookie.split("; ");
    for (i = 0; i < theCook.length; i ++) {
      cookString += theCook[i] + "&";
    }
  }
  alert(cookString);
}

function cookit() {
  exDate = new Date;
  exDate.setMonth(exDate.getMonth() + 9);
  for(i = 0; i < cookit.arguments.length; i++) {
    ckThing = cookit.arguments[i] + '=' + cookit.arguments[i + 1];
    i++;
    document.cookie = ckThing + '; expires=' + exDate.toGMTString();
  }
}