var n4 = (document.layers) ? 1:0;
var ie4 = (document.all) ? 1:0;

/*
function save() {
	document.Save.submit()
}

function del() {
	document.Delete.submit()
}
*/

function calWindow(loc) {
	// if( n4 || ie4) {
		var x=640;
		var y=473;
		var xPos = Math.round( (screen.width/1.8) - (x/2) );
		var yPos = Math.round( (screen.height/2.35) - (y/2) );
		var winIntro = window.open(loc,'popup','location=no,menubar=no,toolbar=no,resizable=no,scrollbars=yes,width=' + x + ',height=' + y + ',left=' + xPos + ',top=' +yPos + ',screenX=' + xPos + ',screenY=' + yPos, true);
	// } else
	// 	window.open(loc,'popup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=280,height=410');
}