/**
 * pop up window function that can be used through any website
 * @param url - the utl to open
 * @param s - 1 = scrollbars required, 0 = not required
 * @param r - 1 = window can be resized, 0 = not resizable
 * @param w - the width in pixels for the window
 * @param h - the height in pixels for the window
 */
function popUpWindow(url, s, r, w, h) {
	if(s == 1)
		s = "yes";
	if(r == 1)
		r = "yes";
	
	var win = window.open(url, 'PopUpWindow', 'scrollbars=' + s + ',resizable=' + r + ',width=' + w + ',height=' + h);
	win.focus(); //give focus to the window
	
	return false;
}//end of function popUpWindow