/* general functions
   © 2003 Cobolt NetServices
*/

/*
   browser & os detection : original function from DynAPI-Project


function Browser() {
	var b=navigator.appName;
	if (b=="Netscape") this.b="ns";
	if (navigator.userAgent.indexOf("Opera")>0) this.b = "opera";
	else if (b=="Microsoft Internet Explorer") this.b="ie";
	else if (navigator.userAgent.indexOf("Konqueror")>0) this.b = "konqueror"; // added
	if (!b) alert('Unidentified browser./nThis browser is not supported,');
	this.version=navigator.appVersion;
	this.v=parseInt(this.version);
	this.l=navigator.userLanguage;
	this.ns=(this.b=="ns" && this.v>=4);
	this.ns4=(this.b=="ns" && this.v==4);
	this.ns5=(this.b=="ns" && this.v==5);
	this.ie=(this.b=="ie" && this.v>=4);
	this.ie4=(this.version.indexOf('MSIE 4')>0);
	this.ie5=(this.version.indexOf('MSIE 5')>0);
	this.ie55=(this.version.indexOf('MSIE 5.5')>0);
	this.ie6=(this.version.indexOf('MSIE 6')>0); // added
	this.opera=(this.b=="opera");
	this.kon=(this.b=="konqueror"); // added 
    this.dom=document.getElementById?1:0
	var ua=navigator.userAgent.toLowerCase();
	if (ua.indexOf("win")>-1) this.platform="win32";
	else if (ua.indexOf("mac")>-1) this.platform="mac";
	else this.platform="other";
}
is = new Browser();
*/
/*
   login function
*/

function showLogin(){
    elm = document.getElementById("login");
    vis = (elm.style.display == 'block')? 'none': 'block';
    elm.style.display = vis;    
}

