function countDays() {
	
	var now = new Date();
	var endDate = new Date();
	endDate.setMonth(10,8);
	endDate.setHours(0,0,1,0);
	
	var countdown = Math.round(((((endDate - now)/60)/60)/24)/1000);
	
	if(countdown > 1) {
	
		countdown += " DAYS";
		
	} else if (countdown == 1) {
	
		countdown += " DAY";
		
	} else {
	
		//no more days
		countdown = "NOW";
		
	}
	
	document.write(countdown);
	}
	
 function openPopWin(windowURL,windowName,windowWidth,windowHeight) {

	// Modify the values in quotation marks to control window characteristics.
	var windowLeft = "100";  // Window x-coordinate in pixels
	var windowTop = "200";  // Window y-coordinate in pixels
	var windowLocation = "no";  // Boolean; enables input field for entering URLs
	var windowMenubar = "no";  // Boolean; enables window Menubar
	var windowStatus = "no";  // Boolean; enables window Status line
	var windowToolbar = "no";  // Boolean; enables window Toolbar (e.g. Back, Forward buttons)
	var windowResizable = "no";  // Boolean; enables window resizing
	var windowScrollbars = "yes";  // Boolean; enables window scrollbars

	// DO NOT MODIFY ANY OF THE CODE BELOW THIS LINE
	var winHt = "height=" + windowHeight, winWd = "width=" + windowWidth, winLft = "left=" + windowLeft, winTop = "top=" + windowTop, winLoc = "location=" + windowLocation, winMenu = "menubar=" + windowMenubar, winSts = "status=" + windowStatus, winBar = "toolbar=" + windowToolbar, winSiz = "resizable=" + windowResizable, winScrl = "scrollbars=" + windowScrollbars;
	var windowFeatures = winHt + "," + winWd + "," + winLft + "," + winTop + "," + winLoc + "," + winMenu + "," + winSts + "," + winBar + "," + winSiz + "," + winScrl;

	window.open(windowURL,windowName,windowFeatures)
}