// JavaScript Document
function newWin(name, url, width, height, args) {
	var newWin = new Object();

	newWin.args = args;
	newWin.url = url;
	newWin.name = name;
	newWin.width = width;
	newWin.height = height;

	if (document.layers) {// browser is NN
		newWin.left = window.screenX + ((window.outerWidth - newWin.width) / 2);
		newWin.top = window.screenY + ((window.outerHeight - newWin.height) / 2);
		var attr = 'screenX=' + newWin.left + ',screenY=' + newWin.top + ',resizable=yes,width=' + newWin.width + ',height=' + newWin.height + ',' + newWin.args;
	}
	else {// browser is MSIE
		newWin.left = (screen.width - newWin.width) / 2;
		newWin.top = (screen.height - newWin.height) / 2;
		var attr = 'left=' + newWin.left + ',top=' + newWin.top + ',width=' + newWin.width + ',height=' + newWin.height + ',' + newWin.args;
	}

	newWin.win=window.open(newWin.url, newWin.name, attr);
	newWin.win.opener=self;
	newWin.win.focus();
}

popupwincount=0;
function imagepop (caption,url)

{

 popupwincount++;
 newwin='newwin' + '' + popupwincount;
 closebutton = "<DIV ALIGN='CENTER'><FORM><INPUT TYPE='BUTTON' ONCLICK='self.close()' VALUE=' Close '></FORM></DIV>"

 popupwin=window.open("",newwin,"toolbar=no,resizable=yes,location=no,directories=no,status=no,scrollbars=yes,menubar=no,width=630,height=470,left=0,top=0");

 popupwin.document.write("<HTML><HEAD><TITLE>Flowserve Pump Division | Close-up - knobs and handles</title></HEAD><BODY BGCOLOR='#FFFFFF'><font face='Arial, Helvetica, sans-serif'><CENTER><B><H1>" + caption + "</H1></B><P>&nbsp;</P><P><img alt="+ caption +" align='center' src="+ url +"></center>" + closebutton);

 popupwin.document.close();

}
