function myPop(myFile, myWidth, myHeight, myToolbar, myStatusbar, myScrollbars, myResizeable, myLocationbar, myMenubar) {
	myInsert="";
	if (myWidth == null) {myWidth = 480;}
	if (myHeight == null) {myHeight = 310;}
	if (myStatusbar==1) {myInsert+="status=1,";} else {myInsert+="status=0,";}
	if (myLocationbar==1) {myInsert+="location=1,";} else {myInsert+="location=0,";}
	if (myScrollbars==1) {myInsert+="scrollbars=1,";} else {myInsert+="scrollbars=0,";}
	if (myMenubar==1) {myInsert+="menubar=1,";} else {myInsert+="menubar=0,";}
	if (myResizeable==1) {myInsert+="resizable=1,";} else {myInsert+="resizable=0,";}
	if (myToolbar==1) {myInsert+="toolbar=1,";} else {myInsert+="toolbar=0,";}
	myInsert += "width="+myWidth+",height="+myHeight;
	newWin = window.open(myFile,'newWin',myInsert);
	newWin.focus();
}