
	// Used to obtain the screen size...
	function getScreenSize() {
		var x=0;
		var y=0;
		var coords = new Object();
		x=screen.width ? screen.width : screen.availWidth;
		y=screen.height ? screen.height : screen.availHeight;
		coords.x=x;
		coords.y=y;
		return coords;
	}

 	screenSize = getScreenSize();


	// Used to update the character count in the unsubscribe form...
	function updateCharCount() {
	
		var reasonText = document.getElementById('reason_other_text').innerHTML;
	
		charsLeft = 250 - reasonText.length;
		if (charsLeft != 250) {
			newText = charsLeft+' characters remaining.';
			if (charsLeft < 0) {
				newText = '<b style="color:#FF0000;">'+newText+'</b>';
				document.getElementById('unsubdiv').style.display ="none";
			}
			else document.getElementById('unsubdiv').style.display="block";
	
			document.getElementById('charcounter').innerHTML = newText;
		}
	}
