function openWin(url)
			{	
					//LeftPosition and TopPosition include the small amount of chrome and the header within the measurement.  
					//experiment with these numbers until your window is centered as you prefer
				LeftPosition = (screen.width) ? (screen.width-690)/2 : 0; //update this to reflect your popupu window size
				TopPosition = (screen.height) ? (screen.height-588)/2 : 0; //update this to reflect your popup window height 
					
					//this is the method that opens the window
					//change the width and height values to fit your content
				window.open(url, 'popup', 'width=408,height=507,top='+TopPosition+',left='+LeftPosition+',screenY='+TopPosition+',screenX='+LeftPosition+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no');
				
					//in order to popup a window use the following HTML
					
					//in the head of your document include the following:
					//make sure the source points to this .js file
					//<head>
					//<title>Untitled</title>
					//<script language="javascript" type="text/javascript" src="popup.js"></script>
					//<link rel="shortcut icon" href="jcas_favicon.gif"></head>
					
					//in the body of your document replace yourpage.html with the name of your page
					//<a href="javascript: openWin('yourpage.html');">testing</a>
				
			}
		

