// Function to open a new browser window, of a specific type:
//
//	small	-	No toolbar, no title, no address box, no resize, nada, nothing
//	medium	-	A bit bigger than small, but still with no gadgets or widgets
//	large	-	A reasonable size window (640x480) but with all the trimmings
//
//
<!-- hide from old browsers
function OpenWindow(wTYPE,sURL) {

	if ( wTYPE == "large") {
		var sName = "w_large"
		var sFeatures = "height=375, width=650, \
			menubar=yes, toolbar=yes, location=yes, resizable=yes, scrollbars=yes, status=yes, \
			left=50,top=25"
		var wOpen = window.open(sURL, sName, sFeatures)
	} else if ( wTYPE == "large2") {
		var sName = "w_large2"
		var sFeatures = "height=500, width=650, \
			menubar=no, toolbar=no, location=no, resizable=no, status=no, scrollbars=no, \
			left=1, top=1"
		var wOpen = window.open(sURL, sName, sFeatures)
	} else if ( wTYPE == "medium") {	
		var sName = "w_medium"
		var sFeatures = "height=250, width=400, \
			menubar=no, toolbar=no, location=no, resizable=no, status=no, scrollbars=no, \
			left=50, top=25"
		var wOpen = window.open(sURL, sName, sFeatures)
        } else if ( wTYPE == "medium2") {	
		var sName = "w_medium2"
		var sFeatures = "height=250, width=400, \
			menubar=no, toolbar=no, location=no, resizable=no, status=no, scrollbars=yes, \
			left=50, top=25"
		var wOpen = window.open(sURL, sName, sFeatures)
        } else if ( wTYPE == "medium3") {	
		var sName = "w_medium3"
		var sFeatures = "height=325, width=400, \
			menubar=no, toolbar=no, location=no, resizable=no, status=no, scrollbars=no, \
			left=50, top=25"
		var wOpen = window.open(sURL, sName, sFeatures)
	} else {
		var sName = "w_small"
		var sFeatures = "height=100, width=200, \
			menubar=no, toolbar=no, location=no, resizable=no, status=no, scrollbars=no, \
			left=50, top=25"
		var wOpen = window.open(sURL, sName, sFeatures)
	}	
}
//-->