var thisLoc;
function advance() {
	this.location.href = thisLoc;
}
function procradv(loc) {
	thisLoc = loc;
	advId = setTimeout("advance()",7000);
}
function popit(url, popWidth, popHeight) {
	if (popWidth < 760) {
		popWidth = 760;
	}
  	slideWin = window.open(url, 'popup', "width=" + popWidth + ",height=" + popHeight + ",toolbar=0,resizable=1,scrollbars=1");
	slideWin.focus()
}

function go(url) {
	if (opener != null) {
		opener.location = url;
		opener.focus();
	} else {
		this.location = url;
	}
}

function closeWindow() {
        window.close()
}
        
function popitVar(url, popWidth, popHeight) {
        newWin = window.open(url, 'neWindow', "width=" + popWidth + ",height=" + popHeight + ",toolbar=0,resizable=1,scrollbars=1");
        newWin.focus();
}
function docdowrite(s) {
        document.write(s);
}
