	//popup window.... right smack dab in the middle!
	var win = null;
	function openWin(url,name,w,h,scroll){
		LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; // this...
		TopPosition = (screen.height) ? (screen.height-h)/2 : 0; // ...and this is for centering the popup on your screen
		settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=false'

		win = window.open(url,name,settings)
	}
	
	function pogoToString(object) {
		if (typeof(object) === 'object') {
			if ((typeof(JSON) != 'undefined') && (typeof(JSON.stringify) == 'function')) {
				return JSON.stringify(object);
			}
		}
		return new String(object);
	}

	function pogoLog() {
		if ((typeof(console) == 'object') && (typeof(console.info) == 'function')) {
			var now = new Date();
			var message = '[' + now.toLocaleString() + '] ';
			for (var i = 0; i < arguments.length; i++) {
				message += pogoToString(arguments[i]);
			}
			console.info(message);
		}
	}
