//  javascript function which opens a window 
//  syntax
//  openWin('../elements/ElementDrillDown.cfm?ElementID=#Val(application.TopLeftMenuID)#','ElementEdit','width=950,height=600,toolbar=0,location=0,directories=0,status=1,menuBar=0,scrollBars=1,resizable=1');
//  WAB 28/11/05 added test for pop up blocking
	function openWin( windowURL, windowName, windowFeatures ) { 
		var browserName = navigator.appName;
		var browserVersion = parseInt(navigator.appVersion);
		newWindow=window.open( windowURL, windowName, windowFeatures );
		if (newWindow == null) {
			alert ('Please enable Pop-ups for this site')
		} else {
			newWindow.focus();		
		}
		return newWindow;
	} 
