// Set global variable newwin so it can be referred to by other functions
var newWin; 

// BEGIN Open Window 
function popup(filePath,winName,winWidth,winHeight) {

	newWin = window.open("",winName,"toolbar=no,directories=no,menubar=yes,scrollbars=yes,width=" + winWidth + ",height=" + winHeight + ",left=10,top=10,resizable=yes");
	newWin.location = filePath;
	newWin.focus();

} // END popup(file_path,win_name,win_width,win_height)


