// Creates a Popup Window with pageurl loaded
// Passed Variables:
// 		pageurl : The URL of the page.  Include http://
//		pagetitle : The text you would like in the blue bar at the top
//		width : The width of the page
//		height : The height of the page
// Returns:
//		None
//
// Note: The Function creates and opens the pop-up window.  You must use
// 		 a url in the following format:
//				javascript:mypopup(example.html, "My Example Pop-Up", 300, 400);
// Example:
//		<a href="javascript:mypopup("example.html", "My Example Pop-Up", 300, 400);">Click Here</a>

function mypopup(pageurl, pagetitle, width, height) {
	var attributes = "menubar=0, resizeable=1, scrollbars=2, width=";
	width = width + 20;
	height = height + 20;
	attributes = attributes + width;
	attributes = attributes + ", height=";
	attributes = attributes + height;
	
   	mywindow = window.open (pageurl, pagetitle, attributes);
}