// JavaScript Document

var newwindow = '';

function popWin(url, width, height) {
	if (!newwindow.closed && newwindow.location) {
		newwindow.location.href = url;
	}
	else {
		newwindow=window.open(url,'name','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,height=' + height + ',width=' + width);
		if (!newwindow.opener) newwindow.opener = self;
	}
	if (window.focus) {newwindow.focus()}
}


function closeAndGo (url){
	opener.location = url;
	self.close();
}

