var thisLoc;
function advance() {
	this.location.href = thisLoc;
}

function procradv(loc) {
	thisLoc = loc;
	advId = setTimeout("advance()",4000);
}

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);
}


function pop_me_up(pURL,features){ 
		new_window = window.open(pURL, "popup_window", features);
		new_window.focus();
	}

function pop_me_up2(pURL,name,features){
		new_window = window.open(pURL,name,features);
		new_window.focus();
	}
	
	



