// JavaScript Document
var newWin = null;
function openBrowserWindow(linkUrl){
    var browserName = navigator.appName;
	var browserOptions = "menubar=yes, resizable=yes, location=yes, status=yes, scrollbars=yes";
	
	var w = screen.width;
	var h = screen.height;
	if(w > 800) w -= 200;
	if(h > 600) h -= 300;
	
	var clWidth = ", width= " + w.toString();
	var clHeight = ", height= " + h.toString();
	
	browserOptions += clWidth + clHeight;
	
	if(browserName != "Microsoft Internet Explorer"){
		if(newWin == null)
			newWin= window.open(linkUrl, "NewWindow", browserOptions);
		else{
			newWin.location.href = linkUrl;
			newWin.focus();
		}
	}
	else
		window.open(linkUrl, "", browserOptions);
}
