/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var POS_TARGET=8;
var theSitetree=[ 
	['PAGE','10201',jdecode('Home'),jdecode(''), jdecode('%2F10201.html'), 'true',[],'',''],
	['PAGE','10252',jdecode('Hose+%26+Tubing'),jdecode(''), jdecode('%2F10252.html'), 'true',[],'',''],
	['PAGE','10273',jdecode('Flow+Components'),jdecode(''), jdecode('%2F10273.html'), 'true',[],'',''],
	['PAGE','10294',jdecode('Clamps+%26+Gaskets'),jdecode(''), jdecode('%2F10294.html'), 'true',[],'',''],
	['PAGE','10315',jdecode('Valve+Diaphragms'),jdecode(''), jdecode('%2F10315.html'), 'true',[],'',''],
	['PAGE','10336',jdecode('Heat+Exchangers'),jdecode(''), jdecode('%2F10336.html'), 'true',[],'',''],
	['PAGE','17401',jdecode('Temp-Sensitive+Lab+Tools'),jdecode(''), jdecode('%2F17401.html'), 'true',[],'','']];
var siteelementCount=7;
theSitetree.topTemplateName='Card';
theSitetree.paletteFamily='330099';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='427';
theSitetree.graphicsetId='475';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'grp32-tnz',
  product: 'WSCVWLSSSLYTC2IW'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Card',
				paletteFamily: 	'330099',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'427',
				graphicsetId: 	'475',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10201',
internalId:  '',
customField: '20100426-203739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10252',
internalId:  '',
customField: '20100424-033700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10273',
internalId:  '',
customField: '20100426-204706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10294',
internalId:  '',
customField: '20100709-014433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10315',
internalId:  '',
customField: '20100715-220404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10336',
internalId:  '',
customField: '20100715-211329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17401',
internalId:  '',
customField: '20100719-014607'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVF340I7C8QT';
var companyName   = 'NZ+Supplier+of+Sterile+Process+Components';
var htmlTitle	  = 'Bio-Logic+Solutions+Ltd+-+NZ+supplier+of+sterile+process+components';
var metaKeywords  = '13LAH%0D%0A13MHP%0D%0Abolted+clamps%0D%0Aaccess+services%0D%0A%0D%0AAdvance+fittings%0D%0A%0D%0AAdvance+Fittings%0D%0A%0D%0Aadvantaflex%0D%0A%0D%0Aadvantaflex+bp%0D%0A%0D%0AAdvantapure%0D%0A%0D%0AAdvantaPure%0D%0A%0D%0Aaervent%0D%0A%0D%0Aaervent+50%0D%0A%0D%0AAffinity+Chromatography+media%0D%0A%0D%0Aaflex%0D%0A%0D%0Aair+filtration%0D%0A%0D%0AAlbumin%0D%0A%0D%0Aamicon+millidisk%0D%0A%0D%0Aantibody+processing%0D%0A%0D%0AAPEWF%0D%0A%0D%0AAPFOS%0D%0A%0D%0AAPFRC%0D%0A%0D%0Aapo+transerrin%0D%0A%0D%0AAPSH%0D%0A%0D%0AAPSH-DB%0D%0A%0D%0AAPSM%0D%0A%0D%0Aapspg%0D%0A%0D%0Aapst%0D%0A%0D%0AAPSW%0D%0A%0D%0Aautomated+integrity+testing%0D%0A%0D%0ABall+Valves%0D%0A%0D%0ABioCision%0D%0A%0D%0ABioCision%0D%0A%0D%0ABioConnexx%0D%0A%0D%0ABioConnexx%0D%0A%0D%0ABio-Logic+Solutions+Ltd%0D%0A%0D%0Abiological+clarification%0D%0A%0D%0Abiological+filtation%0D%0A%0D%0Abiological+purification%0D%0A%0D%0Abioprocess%0D%0A%0D%0Abioprocess+containers%0D%0A%0D%0ABio-processing%0D%0A%0D%0ABioPure%0D%0A%0D%0ABioPure%0D%0A%0D%0Abioreactor%0D%0A%0D%0Abovine+cholesterol+supertrate%0D%0A%0D%0Abovine+gamma+globulins%0D%0A%0D%0ABovine+Serum+Albumin%0D%0A%0D%0Abovine+thrombin%0D%0A%0D%0Abovine+transferrin%0D%0A%0D%0ABSA%0D%0A%0D%0Abuffer+exchanage%0D%0A%0D%0Abuffor+filtration%0D%0A%0D%0Abuffor+preparation%0D%0A%0D%0AButterfly+Valves%0D%0A%0D%0Acarbon+contacting%0D%0A%0D%0Acarbon+filtration%0D%0A%0D%0Acell+culture%0D%0A%0D%0Acell+culture+medisspreparation%0D%0A%0D%0Acell+culture+supplimentations%0D%0A%0D%0Acell+culture+suppliments%0D%0A%0D%0Acellprime%0D%0A%0D%0Acellprime+Af%0D%0A%0D%0Acellready%0D%0A%0D%0AChromasorb%0D%0A%0D%0AChromatography%0D%0A%0D%0AChromatography+%0D%0A%0D%0Achromatography+control+systems%0D%0A%0D%0Achromatography+systems%0D%0A%0D%0AClamps%0D%0A%0D%0Aclarification%0D%0A%0D%0Aclarifiers%0D%0A%0D%0Aclarifying+filters%0D%0A%0D%0Aclarigard%0D%0A%0D%0Acogent%0D%0A%0D%0Acogent+M1%0D%0A%0D%0Acogent+microscale%0D%0A%0D%0AColumns%0D%0A%0D%0Acrimping+tool%0D%0A%0D%0Adepyrogenation%0D%0A%0D%0ADesalting%0D%0A%0D%0Adiafiltration%0D%0A%0D%0Adiagnostic+suppliments%0D%0A%0D%0Adiaphragm%0D%0A%0D%0Adiaphragm%0D%0A%0D%0Adiaphragm+valves%0D%0A%0D%0ADisposable%0D%0A%0D%0Adisposable+bioreactor%0D%0A%0D%0Adisposable+process%0D%0A%0D%0Adurapore%0D%0A%0D%0Adurapore+II%0D%0A%0D%0AEnd+Caps%0D%0A%0D%0AEPDM%0D%0A%0D%0Aexcyte%0D%0A%0D%0AExergy%0D%0A%0D%0AExergy%0D%0A%0D%0Aexpress%0D%0A%0D%0Aexpress+shc%0D%0A%0D%0Aexpress+shf%0D%0A%0D%0Aexpress+shr%0D%0A%0D%0Afacilities+water%0D%0A%0D%0Afilter+integrity+testing%0D%0A%0D%0Afilterability%0D%0A%0D%0Afilterability+testing%0D%0A%0D%0Afilters%0D%0A%0D%0Afiltration%0D%0A%0D%0Afortis%0D%0A%0D%0Afortis+sl%0D%0A%0D%0Agas+filtration%0D%0A%0D%0Agasket%0D%0A%0D%0AGaskets%0D%0A%0D%0Agmp+mixer%0D%0A%0D%0AHAS%0D%0A%0D%0Aheat+exchanger%0D%0A%0D%0AHeat+Exchanger%0D%0A%0D%0Aholo+transferrin%0D%0A%0D%0Ahose%0D%0A%0D%0Ahs+mixer%0D%0A%0D%0AHuman+Serum+Albumin%0D%0A%0D%0AHuman+transferrin%0D%0A%0D%0Ahybri-cyte%0D%0A%0D%0Ahydrophilic+filters%0D%0A%0D%0Ahydrophobic+filters%0D%0A%0D%0Aincelligent%0D%0A%0D%0Aincelligent+AF%0D%0A%0D%0Aincelligent+insulin%0D%0A%0D%0Aincelligent+sg%0D%0A%0D%0AInsulin%0D%0A%0D%0Aintegritest%0D%0A%0D%0Aintegritest+it4%0D%0A%0D%0Aintegritest+it4n%0D%0A%0D%0Aintegritest+it4s%0D%0A%0D%0Aintegrity+tester%0D%0A%0D%0Aintegrity+testing%0D%0A%0D%0AIsopak%0D%0A%0D%0AJL+Industrial%0D%0A%0D%0AJL+Industries%0D%0A%0D%0Ak-prime%0D%0A%0D%0ALaboratory%0D%0A%0D%0Alaboratory+equipment%0D%0A%0D%0Alabscale%0D%0A%0D%0Alabscale+tff%0D%0A%0D%0Alitegard%0D%0A%0D%0Alucratone%0D%0A%0D%0ALuer+Fittings%0D%0A%0D%0Alynx%0D%0A%0D%0Alynx+s2s%0D%0A%0D%0Alynx+st%0D%0A%0D%0Amab%0D%0A%0D%0Amabs%0D%0A%0D%0Amagnetic+agitators%0D%0A%0D%0Amagnetic+mixers%0D%0A%0D%0Amagnetically+-coupled+agitators%0D%0A%0D%0Amagnetically+coupled+mixers%0D%0A%0D%0Amammalian+cell+culture%0D%0A%0D%0Amammalian+cell+culture+clarification%0D%0A%0D%0Amedia+suppliments%0D%0A%0D%0Amembrane+chromatography%0D%0A%0D%0Amembrane+integrity+testing%0D%0A%0D%0Amicrobial+cell+cultrue+suppliments%0D%0A%0D%0Amicrobial+cell+culture%0D%0A%0D%0Amicrobial+cell+culture+clarification%0D%0A%0D%0Amicrobial+cell+culture+supplimentation%0D%0A%0D%0Amicrofiltration%0D%0A%0D%0Amillibarrier%0D%0A%0D%0Amilligard%0D%0A%0D%0Amillipore%0D%0A%0D%0AMillipore%0D%0A%0D%0Amillipore+biopharmeceutical%0D%0A%0D%0Amillipore+bioprocess%0D%0A%0D%0Amillipore+process%0D%0A%0D%0Amillistak%0D%0A%0D%0Amillistak%2B%0D%0A%0D%0Amillistak%2B+pod%0D%0A%0D%0Amillistak%2BCE%0D%0A%0D%0Amillistak%2Bcr%0D%0A%0D%0Amillistak%2Bde%0D%0A%0D%0Amillistak%2Bhc%0D%0A%0D%0Amobius%0D%0A%0D%0Amobius+flexready%0D%0A%0D%0Amod-u-cyte%0D%0A%0D%0Amonoclonal+antibodies%0D%0A%0D%0Amonoclonals%0D%0A%0D%0ANewage%0D%0A%0D%0ANewAge%0D%0A%0D%0ANewman%0D%0A%0D%0ANewman%0D%0A%0D%0ANFP%0D%0A%0D%0ANFR%0D%0A%0D%0Anmwl%0D%0A%0D%0Anova+seal%0D%0A%0D%0Anovaseal%0D%0A%0D%0Anovaseptum%0D%0A%0D%0AOnco-cyte%0D%0A%0D%0Aopthalmic+solutions%0D%0A%0D%0Aopthalmics%0D%0A%0D%0Aopticap%0D%0A%0D%0Aopticap+xl%0D%0A%0D%0Aopticap+xlt%0D%0A%0D%0Aoptiseal%0D%0A%0D%0Aorifice+plates%0D%0A%0D%0Ao-ring%0D%0A%0D%0Aoutlet+valves%0D%0A%0D%0Apellicon%0D%0A%0D%0Apellicon+maxi+%0D%0A%0D%0Apellicon+mini%0D%0A%0D%0Apellicon+mini+cassette%0D%0A%0D%0Apellicon2%0D%0A%0D%0Apellicon3%0D%0A%0D%0ApelliconXL%0D%0A%0D%0Apelliconxl+50%0D%0A%0D%0Aplasma+diagnostic+base%0D%0A%0D%0Aplasma+fractionation%0D%0A%0D%0Apolygard%0D%0A%0D%0Apolygard+CN%0D%0A%0D%0Apolygard+CR%0D%0A%0D%0Apolygard+CT%0D%0A%0D%0Apolymeric%0D%0A%0D%0APolymeric%0D%0A%0D%0APolysep+11%0D%0A%0D%0Aprefilters%0D%0A%0D%0Aprefiltration%0D%0A%0D%0APreparative+chromatography%0D%0A%0D%0Aprobumin%0D%0A%0D%0Aprosep%0D%0A%0D%0Aprosep+a%0D%0A%0D%0Aprosep+g%0D%0A%0D%0Aprosep+ultraplus%0D%0A%0D%0Aprosep+up%0D%0A%0D%0Aprostak%0D%0A%0D%0Aprostak+MF%0D%0A%0D%0Aprostak+UF%0D%0A%0D%0AProtein+A+affinity+media%0D%0A%0D%0AProtein+A+media%0D%0A%0D%0Aprotein+processing%0D%0A%0D%0Aptfe%0D%0A%0D%0Apureflex%0D%0A%0D%0Apurification%0D%0A%0D%0APurification%0D%0A%0D%0Apvdf%0D%0A%0D%0Aquikscale%0D%0A%0D%0ArAlbumin%0D%0A%0D%0Areplacement+diaphragms%0D%0A%0D%0ArTransferrin%0D%0A%0D%0Asanitary%0D%0A%0D%0Asanitary+clamps%0D%0A%0D%0ASanitary+gaskets%0D%0A%0D%0Ascreen+gaskets%0D%0A%0D%0Aserum%0D%0A%0D%0Aserum+processing%0D%0A%0D%0Asight+glasses%0D%0A%0D%0ASilicone%0D%0A%0D%0Asilicone+%0D%0A%0D%0Asock+gasket%0D%0A%0D%0Asolvex+%0D%0A%0D%0AStainless+Elbows%0D%0A%0D%0Astainless+fittings%0D%0A%0D%0Astainless+steel%0D%0A%0D%0Astainless+steel+fittings%0D%0A%0D%0AStainless+Tee%0D%0A%0D%0Asterile+connectors%0D%0A%0D%0Asterile+filtration%0D%0A%0D%0Asterile+sampling%0D%0A%0D%0Asterilising+grade+filters%0D%0A%0D%0Asterilising+grade+membranes%0D%0A%0D%0ASuprene%0D%0A%0D%0Atank+components%0D%0A%0D%0Atank+connections%0D%0A%0D%0Atank+filters+%0D%0A%0D%0Atank+mixers%0D%0A%0D%0Atank+outlet+valves%0D%0A%0D%0Atank+vent+filtration%0D%0A%0D%0Atank+venting%0D%0A%0D%0Atank+vents%0D%0A%0D%0Atemperature-sensitive%0D%0A%0D%0ATransferrin%0D%0A%0D%0Atubing%0D%0A%0D%0Aucoe%0D%0A%0D%0AUF%0D%0A%0D%0Aultrafinltration%0D%0A%0D%0AUSP+Class+VI%0D%0A%0D%0Avalve%0D%0A%0D%0Avalve+diaphragms%0D%0A%0D%0Avalves%0D%0A%0D%0Avantage%0D%0A%0D%0AVantage+A2%0D%0A%0D%0AVantage+L%0D%0A%0D%0AVantage+S%0D%0A%0D%0Avent+filters%0D%0A%0D%0Avessel+connections%0D%0A%0D%0Avessel+filters%0D%0A%0D%0Avessel+filtration%0D%0A%0D%0Avessel+mixers%0D%0A%0D%0Avessel+outlet+valves%0D%0A%0D%0Aviral+clearance%0D%0A%0D%0Aviral+filters%0D%0A%0D%0Aviresolve%0D%0A%0D%0Avirus+concentration%0D%0A%0D%0Avirus+filters%0D%0A%0D%0AViton';
var metaContents  = 'Bio-Logic+Solutions+Ltd+-+NZ+supplier+of+sterile+process+components+to+the+pharmaceutical%2C+food%2C+beverge+and+related+industries.';
theSitetree.getById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		if (ar[i][POS_ID] == id){
			return ar[i];
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getParentById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {
			if (ar[i][POS_CHILDS][j][POS_ID] == id) {
				// child found
				return ar[i];
			}
			var result=this.getParentById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getName = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAME];
	}
	return null;
};

theSitetree.getNavigationText = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAVIGATIONTEXT];
	}
	return null;
};

theSitetree.getHREF = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_HREF];
	}
	return null;
};

theSitetree.getIsNavigation = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_ISNAVIGATION];
	}
	return null;
};

theSitetree.getTemplateName = function(id, lastTemplateName, ar) {
	if (typeof(lastTemplateName) == 'undefined'){
		lastTemplateName = this.topTemplateName;
	}
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		var actTemplateName = ar[i][POS_TEMPLATENAME];
		if (actTemplateName == ''){
			actTemplateName = lastTemplateName;
		}
		if (ar[i][POS_ID] == id) {
			return actTemplateName;
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getByXx = function(lookup, xx, ar) {
    if (typeof(ar) == 'undefined'){
    	ar = this;
    }
    for (var i=0; i < ar.length; i++) {
        if (ar[i][xx] == lookup){
        	return ar[i];
        }
        if (ar[i][POS_CHILDS].length > 0) {
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);
            if (result != null){
                return result;
               }
        }
    }
    return null;
};

function gotoPage(lookup) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	var page = theSitetree.getHREF(lookup);
	if (!page) {
		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];
		for (var i=0 ; i < testFor.length ; i++) {
			var p = theSitetree.getByXx(lookup, testFor[i]);
			if (p != null) {
				page = p[POS_HREF];
				break;
			}
		}
	}
	document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
};

