function Browser() {
			var agent = navigator.userAgent.toLowerCase();
			this.ns = ( ( agent.indexOf( "mozilla" )!=-1 ) && ( ( agent.indexOf( "spoofer" ) == -1 ) && ( agent.indexOf( "compatible" ) == -1 ) ) );
			this.ie = ( agent.indexOf( "msie") != -1 );
			this.opera = ( agent.indexOf( "opera" ) != -1 );
			this.win = ( agent.indexOf( "win" ) != -1 );
			this.mac = ( agent.indexOf( "mac" ) != -1 );
			this.unix = ( agent.indexOf( "x11" ) != -1 );
		}
		
/*ClientBrowser = new Browser();		
if( ClientBrowser.ie ) {
	document.onmouseup = MouseUp;
} else {
	window.captureEvents( Event.MOUSEUP );
	window.onmouseup = MouseUp;
}

function MouseUp( Events ) {
	parent.onClick2()
	return true;
}*/

var usersDbPath="elux2/users.nsf";
var docsDbPath="html";
var newsDbPath="elux2/news.nsf";
var mainDbPath="electrolux/main.nsf";
var prodsDbPath="eleux2/products.nsf";
var lastDoc = ""

function openSiteDoc(doc,sec,target){
	  var url="";
	 /*//-----------------------------------------------
	  	var isNav = false
		var isIE = false
	  if (parseInt(navigator.appVersion) >= 4) {
		  	if (navigator.appName == "Netscape") {
				isNav = true
			}else{
				isIE = true
			}
		}
	//---------------------------------------------
	
		if (isNav) {
			if( doc=="" || doc=="nochoice"){
	    		return;
	  		}
			
			document.layers.reuseLayer.src= "http://lsgws.electrolux.se/files/LaundryKnowHow/HTML/" + doc;

		}
	//------------------------------------------------
	*/
	if(doc=="" && sec!=""){
		var cururl = document.location.href;
		var poundindex = cururl.lastIndexOf("#");
		if( poundindex==-1 ){
			url=cururl+"#"+sec;
		} else {
			url=cururl.substring(0,poundindex)+"#"+sec;
		}
		url = "#" + sec;
		location.href = url;
		return;
	}
	if( doc=="" ){
		return;
	}
	if(doc.charAt(0)=="/"){
		url=doc;
	} else {
		url="../HTML/"+doc+(sec==""?"":"#"+sec);
		//    url="../"+docsDbPath+"/"+doc+(sec==""?"":"#"+sec);
		//	url="../"+docsDbPath+"/d/"+doc+"/$file/"+doc+(sec==""?"":"#"+sec);
	}
	if(target==""){
		lastDoc = doc
		location.href = url;
	} else if(target=="_top"){
		top.location.href=url;
	} else {
		window.open(url,target);
	}
}

function rullselect(doc){
	
  if( doc=="" || doc=="nochoice"){
    return;
  }
 /* var isNav = false
	var isIE = false
  if (parseInt(navigator.appVersion) >= 4) {
	  	if (navigator.appName == "Netscape") {
			isNav = true
		}else{
			isIE = true
		}
	}
	
	if (isNav) {
		reuseLayer.src= "http://lsgws.electrolux.se/files/LaundryKnowHow/HTML/" + doc;
	}
	
	if (isIE){
		fillDivLKH("/files/LaundryKnowHow/HTML/" + doc);
		//location.href = "../HTML/" + doc;
	}
 */
 location.href = "../HTML/" + doc;
	
}


