function pop(URL, dW, dH) {
	day = new Date();
	id = day.getTime();
	var dH;
	var dW;
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=" + dW + ",height=" + dH + ",left = 312,top = 184');");
}

function submitForm(theform) {
  	docString = eval("document." + theform);
	docString.submit();
}

function doValidation (theform, thecookie) {
	submitForm(theform);
	createCookie(thecookie,'yes',365);
}
