var newWindow;
function makeNewWindow(received, height, width)
{			

		var wf
		if(width==null) width="450";
		if(height==null) height="180";		
		wf = "width="+width;
		wf += ",height="+height;
		wf += ",scrollbars=false"
		wf += ",menubar=false"
		wf += ",toolbar=false"
		wf += ",location=false"
		wf += ",status=false"
		wf += ",header=false"
		wf += ",left=100"
		wf += ",top=30"
		
		if (newWindow && newWindow.open) newWindow = newWindow.close();

		if (newWindow == null || newWindow.closed) {			
			newWindow = window.open(received,"",wf)
			if (newWindow) {
				newWindow.resizeTo(width, height);
				if (!newWindow.opener) newWindow.opener = window
			}		
		} else {
			// window's already open; bring to front 
			newWindow.focus()
		}

}

function Nothing(){};