var newWindow;
var quoteWindow;
var chasm = screen.availWidth;
var mount = screen.availHeight;

function childwin(URL) {
		if (!newWindow || newWindow.closed) {
				newWindow = window.open(URL,"childwin","status=no,menubar=no,scrollbars=no,resizable=no,width=290,height=530,left=" + ((chasm - 400) * .5) + ",top=15");
		}
		else {
				newWindow.resizeTo(305,560)
				newWindow.location=URL
				newWindow.focus()
			}
}



function quotewin(URL) {
		if (!quoteWindow || quoteWindow.closed) {
				quoteWindow = window.open(URL,"quotewin","status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=580,left=5,top=0");
		}
		else {
				
				quoteWindow.focus()
			}
}



function ipixwin(URL) {
		window.location=URL
		window.resizeTo(450,430)
		window.focus()	
}

function resizewin(URL) {
		window.location=URL
		window.resizeTo(305,530)
		window.focus()	
}