function detectBrowser(){
	if(document.layers){
		thisBrowser="NS";
	}
	else if(document.all){
		thisBrowser="IE";
	}
	else if(!document.all&&document.getElementById){
		thisBrowser="NS6";
	}
	return thisBrowser;
}
	
function checkOS() {
	if(navigator.userAgent.indexOf('IRIX') != -1)
 		{ var OpSys = "Irix"; }
  		else if((navigator.userAgent.indexOf('Win') != -1) &&(navigator.userAgent.indexOf('95') != -1))
		{ 
			var OpSys = "Windows95"; 
		}
  		else if(navigator.userAgent.indexOf('Win') != -1)
		{ 
			var OpSys = "Windows3.1 or NT"; 
		}
  		else if(navigator.userAgent.indexOf('Mac') != -1){
			var OpSys = "Macintosh"; 
		}
  		else 
		{
			var OpSys = "other"; 
		}
  	return OpSys;
}
	
function nSReload(){
	if(thisBrowser=="NS"){
		history.go(0);
	}
}

function newWindow(strImg, strNewWindowTitle){
	open("lgimg.asp?title="+strNewWindowTitle+"&img="+strImg, "", "toolbar=yes, width=500, height=300, scrollbars=yes")
}