var ele = "";
var lpUnit="";

var currentScript = (function (e) { if(e.nodeName.toLowerCase() == 'script') return e; return arguments.callee(e.lastChild) })(document);

ele = document.createElement("script");

if (ibmCommonDynamicNavReadIBMSource().indexOf("v16") > -1) {
	ele.setAttribute("src","/jp/info/common/lp/lp-all-v16-invite.js");
} else {
	ele.setAttribute("src","/jp/info/common/lp/lp-all-v15-invite.js");
}

ele.setAttribute("type","text/javascript");
currentScript.parentNode.appendChild(ele);


try{
	if ( location.href.match("/jp/software/lotus") ) {
		lpUnit='lotus';
	}else if (location.href.match("/software/jp/lotus") ) {
		lpUnit='lotus';
	}else if (location.href.match("/jp/software/tivoli") ) {
		lpUnit='tivoli';
	}else if (location.href.match("/software/jp/tivoli") ) {
		lpUnit='tivoli';
	}else if (location.href.match("/jp/software/websphere") ) {
		lpUnit='websphere';
	}else if (location.href.match("/software/jp/websphere") ) {
		lpUnit='websphere';
	}else if (location.href.match("/jp/software/data") ) {
		lpUnit='infomgmt';
	}else if (location.href.match("/software/jp/data") ) {
		lpUnit='infomgmt';
	}else if (location.href.match("/jp/software/rational") ) {
		lpUnit='rational';
	}else if (location.href.match("/software/jp/rational") ) {
		lpUnit='rational';
	}else if (location.href.match("/jp/software/") ) {
		lpUnit='crosssw';
	}else if (location.href.match("/software/jp/") ) {
		lpUnit='crosssw';
	}else if (location.href.match("/jp/shop/ibm/direct/software/") ) {
		lpUnit='crosssw';
	}else if (location.href.match("/industries/jp/shop/direct/software/") ) {
		lpUnit='crosssw';
	}
	
	if(typeof(lpAddVars)!="undefined")	lpAddVars('page','unit',lpUnit);
	var lpLanguage='japanese';
	if(typeof(lpAddVars)!="undefined")	lpAddVars('session','language',lpLanguage);

//	alert("lpUnit=" + lpUnit + " lpLanguage=" + lpLanguage);

}catch(e){}

// LIVEPerson v Code End
