//v13
baynote_getMetaInfo();
function baynote_getUrlParam(B){var A="[\\?&]"+B+"=([^&#]*)";
var D=new RegExp(A);
var E=baynote_getPageUrl();
var C=D.exec(E);
if(C==null)
{return""}
else
{return C[1]}
}
function baynote_getPageUrl()
{var A=baynote_tag.url;
if((typeof (A)=="undefined")||(A==null)||(A==""))
{A=window.location.href}
return A}
if(window.location.href.search(/advancedsearch.motorola.com/i)!=-1)
{code=baynote_getUrlParam("cc")}
else
{var code=get_cc()}
if(typeof (code)&&code!="")
{baynote_tag.server="http://motorola-"+code+".baynote.net";
baynote_tag.code=code;baynote_tag.customerId="motorola";
baynote_tag.type="baynoteObserver";
baynote_globals.cookieDomain="motorola.com";
baynote_globals.cookieSubDomain= code;
if(typeof (language)&&language!="")
{baynote_tag.docAttrs.language=language}
if(typeof (country)&&country!=""){
baynote_tag.docAttrs.country=country
}
//BMS Meta Data

if(typeof (productLine)&&productLine!="")
{baynote_tag.docAttrs.ProductLine=productLine}
if(typeof (productCategory)&&productCategory!="")
{baynote_tag.docAttrs.ProductCategory=productCategory}
if(typeof (industries)&&industries!="")
{baynote_tag.docAttrs.Industries=industries}
if(typeof (pageType)&&pageType!="")
{baynote_tag.docAttrs.PageType=pageType}
if(typeof (businessUnit)&&businessUnit!="")
{baynote_tag.docAttrs.BusinessUnit=businessUnit}
if(typeof (documentType)&&documentType!="")
{baynote_tag.docAttrs.DocumentType=documentType}
if(typeof (solutionCategory)&&solutionCategory!="")
{baynote_tag.docAttrs.SolutionCategory=solutionCategory}
if(typeof (accessory)&&accessory!="")
{baynote_tag.docAttrs.Accessory=accessory}
//if(code == "b2c_apac"){
	
	//if(country=='Indonesia'|| country=='ID'){
	//	baynote_tag.attrs.motoLocale="Indonesia";
	//}else if(country=='New Zealand'||country== 'NZ'){
//		baynote_tag.attrs.motoLocale="New Zealand";
//	}else if(country=='Philippines' ||country== 'PH'){		
////		baynote_tag.attrs.motoLocale="Philippines";
	//}else if(country=='Thailand'||country== 'TH'){
		//baynote_tag.attrs.motoLocale="Thailand";
	//}else if(country=='Vietnam'||country== 'VN'){
		//baynote_tag.attrs.motoLocale="Vietnam";		
	//}else if(country=='Asia Pacific' ||country=='AP'){
		//baynote_tag.attrs.motoLocale="Asia Pacific";
	//}else if(country=='Hong Kong' ||country=='HK'){
		//baynote_tag.attrs.motoLocale="Hong Kong";		
	//}else if(country=='Taiwan' ||country=='TW'){
		//baynote_tag.attrs.motoLocale="Taiwan";
	//}
//}


if (window.location.href.search(/business/i) != -1){
	baynote_tag.attrs.motoLocale = locale + "-b2b";
}else if (window.location.href.search(/consumer/i) != -1){
	baynote_tag.attrs.motoLocale = locale + "-b2c";
}else if ((window.location.href.search(/support/i) != -1) || (window.location.href.search(/custhelp/i) != -1)) {
	baynote_tag.attrs.motoLocale = locale + "-Support";
}else{
	baynote_tag.attrs.motoLocale = locale + "-corp";
}

if(typeof (description)&&description!="")
{baynote_tag.summary=description}
baynote_tag.show()};