function twoWinPop (win1, win2) {

	/*
	*	get current client width and height
	*/
	var currClientW;
	var currClientH;
	if (navigator.appName == "Netscape") { // if Netscape, determine browser size this way
		currClientW = window.innerWidth;
		currClientH = window.innerHeight;
	} else { // else if IE, do this
		currClientW = document.body.clientWidth;
		currClientH = document.body.clientHeight;
	}


	/*
	*	get user's current screen settings
	*/
	var screenW = screen.width;
	var screenH = screen.height;


	/*
	*	open the main windows and the small search window.
	*	main window will open up to the size of what the user's current browser width/heigth is.
	*	smaller 'search' window will always be 250x300 and should sit directly on the top right corner of the main window
	*/
	var mainWin = window.open(win1, "window1","top=0,left=0,height=" + currClientH + ",width=" + currClientW + ",toolbar,status,resizable,menubar,title,titlebar,location,scrollbars");
	var smallWin = window.open(win2, "window2", "top=0,left=" + (screenW - (screenW - currClientW) - 300) + ",height=250,width=300,resizable,title,scrollbars");

	/*
	* 	if there is a popup blocker on the main popup page, smallWin will return a null; therefore, we must do a null check on that window before attempting to put it in focus
	*/
	if (smallWin != null) {
		smallWin.focus();
	}

}