// Class Page
function Page() {

}

// ========================
// Private Static variables
// ========================

Page._defaultStatus = "Buffalo.Com - Everything Buffalo!";


// =====================
// Public Static methods
// =====================

Page.DefaultStatus = function() {
	Page.ChangeStatus(Page._defaultStatus);
}

// Changes the status bar text
Page.ChangeStatus = function(copy) {
			// Change status if there is one, else use the default
	if (copy != null && copy.length > 0) {
		window.status = copy;
	} else {
		Page.DefaultStatus();
	}
}

Page.OpenWindow = function(pg, name, options, closeCurrent) {
	var win = window.open(pg, name, options);
	
	if (closeCurrent) {
		window.close();
	}
	
	return win;
}

Page.CenterWindow = function(win) {
	win.moveTo(self.screen.width/4, self.screen.height/4);
}

// Will check for platform and browser type
Page.UserAgentCheck = function (
	item)
{
	return navigator.userAgent.toLowerCase().indexOf(item);
}
// Class WindowOptions
// Serves as an enum - shortcut to options for window.open
function WindowOptions() {

}
WindowOptions.STANDARD = 'location=yes,menubar=yes,scrollbars=yes,titlebar=yes,toolbar=yes';