function openWindow(dir, name, width, height, scroll, toolbar, resizable) {
	dirName=dir
	param= "width="+width+",height="+height+",screenX=0,screenY=0, top=0, left=0, menubar=no, locationbar=no, status=no";
	
	if(toolbar)
		param+=",toolbar=yes"
	
	if(scroll)
		param+=",scrollbars=yes"
		
	if(resizable)
		param+=",resizable=yes"
	else
		param+=",resizable=no"
		
	winName= name.replace(/ /,"_")
	
	if(winName!='popup' && winName !='manager')
		winName+= Math.floor(Math.random()*100000);
	
	window.open(dirName, winName, param);
}



function reload() {
	history.go(0);
}

function getHelp(){
	window.open("http://www.aquantum.net/syndicat/default.asp?id=help","syndicat_help");
}


function check_client() {      
    var client = "";
    var bName = navigator.appName;
    var bVer = parseInt(navigator.appVersion);

    if(bName == "Netscape" && bVer > 4) client = "n6";
    else if(bName == "Netscape" && bVer == 4) client = "n4";
    else if(bName == "Netscape" && bVer == 3) client = "n3";
    else if(bName == "Netscape" && bVer == 2) client = "n2";
    
    else if(bName == "Microsoft Internet Explorer" && bVer >= 4) client="e4";
    else if(bName == "Microsoft Internet Explorer" && bVer >= 2) client="e3";
    else client = "x";
    
    return client;
}
