// Focus on the main window
var ord=100000+Math.floor( 1000000*Math.random() );
function mainView() {
		ataMain = window.open("","ataMain");
		ataMain.focus();
		return true;
}

// Pop a new window, in a tight frame
var ord=100000+Math.floor( 1000000*Math.random() );
function popView(W, H) {
		popUp = window.open("", "popUp", "height=" + H + ",width=" + W + ",location=no,scrollbars=no,toolbar=no,resizable=yes,hotkeys=yes");
		popUp.focus();
		return true;
}