// common.js
// Geoff Pack, October 2005
function popIt(height, width) {
	
	if (height && width ) {
		popup = window.open('', 'popup', 'width=' + width + ',height=' + height + ',,top=20,left=20,resizable=yes,status=yes,toolbar=yes,scrollbars=yes');
	 }
	else {
	popup = window.open('', 'popup', 'width=520,height=700,,top=20,left=20,resizable=yes,status=yes,toolbar=yes,scrollbars=yes');
	
	}
	popup.focus();
}

function popItWide(height, width) {
	
	if (height && width ) {
		popup = window.open('', 'popup', 'width=' + width + ',height=' + height + ',,top=20,left=20,resizable=yes,status=yes,toolbar=yes,scrollbars=yes');
	 }
	else {
	popup = window.open('', 'popup', 'width=660,height=500,,top=20,left=20,resizable=yes,status=yes,toolbar=yes,scrollbars=yes');
	
	}
	popup.focus();
}




function newwindow() {
	
	 {
	popup = window.open('', 'popup', 'fullscreen=yes');
	
	}
	popup.focus();
}



function hide(id) {
	if (document.getElementById && document.getElementById(id)) document.getElementById(id).style.display = "none";
}
function show(id) {
	if (document.getElementById && document.getElementById(id)) document.getElementById(id).style.display = "block";
}

// ------------------------------------------

