function newWindow(theURL,winName,features){
	winName = window.open(theURL,winName,features);
}
function refreshWindow(){
	history.go(0);
}
var timerOn = false;
function newWin(theURL,winName,features){
	winName = window.open(theURL,winName,features);
}
function newWindowDownload(theURL,winName,features){
	doc = window.open(theURL,winName,features);
	if (timerOn) {
		clearTimeout(timerID);
		timerOn = false
	}
	timerID = setTimeout('closeWin(doc)',5000)
}
function closeWin(theWin){
	if (doc.closed){
		clearTimeout(timerID)
		timerOn = false
	}
	else {
		theWin.close()
		timerID = setTimeout('closeWin(doc)',5000)
		timerOn = true
	}
}
function showView(theView){
	window.location.href=theView
}