name="Lotus Technical Information";
inwidth = 210;
inheight = 300;

if (window.location.protocol == "https:") {
var host = window.location.hostname;
var pathname = window.location.pathname;
var search = window.location.search;
var url = "http://" + host + pathname + search;
location.replace(url);
}

function writeStat(pth,page,xhtml,subject){
var docurl=document.URL;
docurl=docurl.split("#")[0];
document.write("<img alt='Statistics' style='position:absolute;left:1px;top:1px;visibility:hidden' width='1' height='1' src='http://"+pth+"/fLog?CreateDocument&t="+docurl+"&r="+document.referrer+"&s="+subject+"&p="+page+"' "+xhtml+">");
}

function goToURL(link)
  {
      
    if(!link=="")
      {
        window.location.href=link
    }
}

function catNavURL(link,type,h){

	var prefix;
	var sURL = window.location.href;
	if(sURL.indexOf("xpViewCategories") >= 0) {
		prefix = "";
	}else if(sURL.indexOf("/dx/") >= 0){
		prefix = "../";	
	}else{
		prefix = h + ".nsf/";
	}

	if(type === "external"){
		window.location.href=link	
	}else if(type === "article" || type === 'category'){
			window.location.href = prefix + link;
	}
	
}

