/* [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','54612',jdecode('Wire+and+Band+Saws'),jdecode(''), jdecode('%2F54612%2Findex.html'), 'true',[ 
		['PAGE','66812',jdecode('Meyer+Burger+BS805'),jdecode(''), jdecode('%2F54612%2F66812.html'), 'true',[],'',''],
		['PAGE','67512',jdecode('Meyer+Burger+BS800'),jdecode(''), jdecode('%2F54612%2F67512.html'), 'true',[],'',''],
		['PAGE','66833',jdecode('HCT+E500SD'),jdecode(''), jdecode('%2F54612%2F66833.html'), 'true',[],'',''],
		['PAGE','66854',jdecode('Applied+Materials'),jdecode(''), jdecode('%2F54612%2F66854.html'), 'true',[],'',''],
		['PAGE','12812',jdecode('Takatori+MWS-610+'),jdecode(''), jdecode('%2F54612%2F12812.html'), 'true',[],'',''],
		['PAGE','69912',jdecode('Takatori+MWS-610SN'),jdecode(''), jdecode('%2F54612%2F69912.html'), 'true',[],'',''],
		['PAGE','12833',jdecode('Diamond+Wire+'),jdecode(''), jdecode('%2F54612%2F12833.html'), 'true',[],'','']
	],'',''],
	['PAGE','12875',jdecode('Meyer+Burger+Slicing+Saw'),jdecode(''), jdecode('%2F12875.html'), 'true',[],'',''],
	['PAGE','5736',jdecode('Double-side+Polishers'),jdecode(''), jdecode('%2F5736%2Findex.html'), 'true',[ 
		['PAGE','12612',jdecode('SpeedFam+DSP+9B+5P'),jdecode(''), jdecode('%2F5736%2F12612.html'), 'true',[],'',''],
		['PAGE','12633',jdecode('SpeedFam+DSP+18B+5P'),jdecode(''), jdecode('%2F5736%2F12633.html'), 'true',[],'',''],
		['PAGE','12654',jdecode('Polishing+Pads'),jdecode(''), jdecode('%2F5736%2F12654.html'), 'true',[],'',''],
		['PAGE','12675',jdecode('Polishing+Carriers+'),jdecode(''), jdecode('%2F5736%2F12675.html'), 'true',[],'','']
	],'',''],
	['PAGE','12854',jdecode('STC+ID+Saws'),jdecode(''), jdecode('%2F12854.html'), 'true',[],'',''],
	['PAGE','5694',jdecode('Grinders+'),jdecode(''), jdecode('%2F5694%2Findex.html'), 'true',[ 
		['PAGE','13012',jdecode('Grinders+of+Several+Types'),jdecode(''), jdecode('%2F5694%2F13012.html'), 'true',[],'','']
	],'',''],
	['PAGE','37012',jdecode('Annealing+Tube+Furnaces++'),jdecode(''), jdecode('%2F37012.html'), 'true',[],'',''],
	['PAGE','5757',jdecode('Testing+Equipments'),jdecode(''), jdecode('%2F5757.html'), 'true',[],'',''],
	['PAGE','5778',jdecode('Verteq+Rinser+%26+Dryer'),jdecode(''), jdecode('%2F5778.html'), 'true',[],'',''],
	['PAGE','5715',jdecode('Bake+Ovens+%26+Incubators'),jdecode(''), jdecode('%2F5715.html'), 'true',[],'',''],
	['PAGE','13112',jdecode('Airborne+Particle+Removal+System'),jdecode(''), jdecode('%2F13112.html'), 'true',[],'',''],
	['PAGE','13212',jdecode('Residual+Gas+Analyzer'),jdecode(''), jdecode('%2F13212.html'), 'true',[],'',''],
	['PAGE','36312',jdecode('Other+Equipment'),jdecode(''), jdecode('%2F36312%2Findex.html'), 'true',[ 
		['PAGE','35212',jdecode('DC+Power+Supply'),jdecode(''), jdecode('%2F36312%2F35212.html'), 'true',[],'','']
	],'',''],
	['PAGE','42612',jdecode('Si+Solar+Cell+MFR+Euqipment'),jdecode(''), jdecode('%2F42612%2Findex.html'), 'true',[ 
		['PAGE','42633',jdecode('1.+Manz+Automation+IWT2400'),jdecode(''), jdecode('%2F42612%2F42633.html'), 'true',[],'',''],
		['PAGE','44812',jdecode('2.+Despatch+DCF-3630+Diffusion+Furnace+%281%29'),jdecode(''), jdecode('%2F42612%2F44812.html'), 'true',[],'',''],
		['PAGE','44833',jdecode('3.+Despatch+DCF-3630+Diffusion+Furnace+%282%29'),jdecode(''), jdecode('%2F42612%2F44833.html'), 'true',[],'',''],
		['PAGE','44854',jdecode('4.+Manz+Automation+IBB6000+%281%29'),jdecode(''), jdecode('%2F42612%2F44854.html'), 'true',[],'',''],
		['PAGE','44875',jdecode('5.+Rena+InOx+Clean'),jdecode(''), jdecode('%2F42612%2F44875.html'), 'true',[],'',''],
		['PAGE','44896',jdecode('6.+Roth+%26+Rau++XXL+SiN+Coating+System'),jdecode(''), jdecode('%2F42612%2F44896.html'), 'true',[],'',''],
		['PAGE','51812',jdecode('7.+Manz+Automation+IBB6000+%282%29'),jdecode(''), jdecode('%2F42612%2F51812.html'), 'true',[],'',''],
		['PAGE','52412',jdecode('8.+Applied+Materials+Baccini+Loader'),jdecode(''), jdecode('%2F42612%2F52412.html'), 'true',[],'',''],
		['PAGE','53012',jdecode('9.+Applied+Materials+Baccini+Screen+Printer'),jdecode(''), jdecode('%2F42612%2F53012.html'), 'true',[],'',''],
		['PAGE','55012',jdecode('10.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F55012.html'), 'true',[],'',''],
		['PAGE','55054',jdecode('11.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F55054.html'), 'true',[],'',''],
		['PAGE','56812',jdecode('12.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F56812.html'), 'true',[],'',''],
		['PAGE','57912',jdecode('13.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F57912.html'), 'true',[],'',''],
		['PAGE','58512',jdecode('14.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F58512.html'), 'true',[],'',''],
		['PAGE','58912',jdecode('15.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F58912.html'), 'true',[],'',''],
		['PAGE','59812',jdecode('16.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F59812.html'), 'true',[],'',''],
		['PAGE','60512',jdecode('17.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F60512.html'), 'true',[],'',''],
		['PAGE','61012',jdecode('18.+Despatch+CDF-7210'),jdecode(''), jdecode('%2F42612%2F61012.html'), 'true',[],'',''],
		['PAGE','62112',jdecode('19.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F62112.html'), 'true',[],'',''],
		['PAGE','62612',jdecode('20.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F62612.html'), 'true',[],'',''],
		['PAGE','63912',jdecode('21.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F63912.html'), 'true',[],'',''],
		['PAGE','65112',jdecode('22.+Applied+Materials+Baccini'),jdecode(''), jdecode('%2F42612%2F65112.html'), 'true',[],'','']
	],'',''],
	['PAGE','5601',jdecode('Company+'),jdecode(''), jdecode('%2F5601.html'), 'true',[],'',''],
	['PAGE','23412',jdecode('Contacts'),jdecode(''), jdecode('%2F23412.html'), 'true',[],'',''],
	['PAGE','5799',jdecode('Terms+and+Conditions'),jdecode(''), jdecode('%2F5799.html'), 'true',[],'','']];
var siteelementCount=51;
theSitetree.topTemplateName='Sale';
theSitetree.paletteFamily='A387AE';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10495';
theSitetree.graphicsetId='11092';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'endurance',
  product: 'WSCSYSSSSLY0XRN4'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Sale',
				paletteFamily: 	'A387AE',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10495',
				graphicsetId: 	'11092',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'674B72',
				e_color: 		'674B72',
				f_color: 		'674B72',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5601',
internalId:  '',
customField: '20110917-023719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42612',
internalId:  '',
customField: '20110918-183330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5799',
internalId:  '',
customField: '20110212-022707'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5601',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54612',
internalId:  '',
customField: '20111123-022727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5694',
internalId:  '',
customField: '20111123-012838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5715',
internalId:  '',
customField: '20110212-022230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5736',
internalId:  '',
customField: '20110212-021741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5757',
internalId:  '',
customField: '20100605-234839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5778',
internalId:  '',
customField: '20110212-022213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12812',
internalId:  '',
customField: '20110212-022132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12833',
internalId:  '',
customField: '20110212-022151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12854',
internalId:  '',
customField: '20111123-020319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12612',
internalId:  '',
customField: '20110212-021643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12633',
internalId:  '',
customField: '20110212-021706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12654',
internalId:  '',
customField: '20101213-204727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12675',
internalId:  '',
customField: '20110212-021621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12875',
internalId:  '',
customField: '20110212-022025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13012',
internalId:  '',
customField: '20111123-012821'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42633',
internalId:  '',
customField: '20110918-181056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13112',
internalId:  '',
customField: '20110212-021920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13212',
internalId:  '',
customField: '20110212-022249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35212',
internalId:  '',
customField: '20110212-022328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23412',
internalId:  '',
customField: '20110212-022403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36312',
internalId:  '',
customField: '20110212-022309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37012',
internalId:  '',
customField: '20110212-021857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44812',
internalId:  '',
customField: '20110918-181138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44833',
internalId:  '',
customField: '20110918-181240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44854',
internalId:  '',
customField: '20110918-181336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44875',
internalId:  '',
customField: '20110918-181442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44896',
internalId:  '',
customField: '20110918-181652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51812',
internalId:  '',
customField: '20110918-181721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52412',
internalId:  '',
customField: '20110918-181751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53012',
internalId:  '',
customField: '20110918-181833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55012',
internalId:  '',
customField: '20110918-182114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69912',
internalId:  '',
customField: '20111123-022251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55054',
internalId:  '',
customField: '20110918-182237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56812',
internalId:  '',
customField: '20110918-182322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57912',
internalId:  '',
customField: '20110918-182349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58512',
internalId:  '',
customField: '20110918-182410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58912',
internalId:  '',
customField: '20110918-182448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59812',
internalId:  '',
customField: '20110918-182519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60512',
internalId:  '',
customField: '20110918-182544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61012',
internalId:  '',
customField: '20110918-182635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62112',
internalId:  '',
customField: '20110918-182659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62612',
internalId:  '',
customField: '20110918-183024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63912',
internalId:  '',
customField: '20110918-183135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65112',
internalId:  '',
customField: '20110918-183227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66812',
internalId:  '',
customField: '20111123-020701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67512',
internalId:  '',
customField: '20110918-175527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66833',
internalId:  '',
customField: '20110918-175641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66854',
internalId:  '',
customField: '20111123-020817'
};
var webAppHostname = 'cgiwsc.enhancedsitebuilder.com:80';
var canonHostname = 'cmworker03.yourhostingaccount.com';
var accountId     = 'AENDU0INLIGX';
var companyName   = 'Used+Semi%2C+Solar+%26+Bio++Equipment+';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
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();
};

