/* [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','11820',jdecode('Home'),jdecode(''), jdecode('%2F11820%2Findex.html'), 'true',[ 
		['PAGE','14420',jdecode('Contact'),jdecode(''), jdecode('%2F11820%2F14420.html'), 'true',[],'',''],
		['PAGE','14441',jdecode('About+us'),jdecode(''), jdecode('%2F11820%2F14441.html'), 'true',[],'','']
	],'',''],
	['PAGE','14504',jdecode('Medical+Transcription'),jdecode(''), jdecode('%2F14504%2Findex.html'), 'true',[ 
		['PAGE','16520',jdecode('What+is+Medical+Transcription%3F'),jdecode(''), jdecode('%2F14504%2F16520.html'), 'true',[],'',''],
		['PAGE','16541',jdecode('What+is+required+to+be+a+Medical+Transcriptionist%3F'),jdecode(''), jdecode('%2F14504%2F16541.html'), 'true',[],'',''],
		['PAGE','16562',jdecode('Why+medical+transcription%3F'),jdecode(''), jdecode('%2F14504%2F16562.html'), 'true',[],'',''],
		['PAGE','15120',jdecode('Information+pack'),jdecode(''), jdecode('%2F14504%2F15120.html'), 'true',[],'',''],
		['PAGE','26120',jdecode('Where+can+this+career+take+you%3F'),jdecode(''), jdecode('%2F14504%2F26120.html'), 'true',[],'',''],
		['PAGE','27120',jdecode('Will+I+get+a+job%3F'),jdecode(''), jdecode('%2F14504%2F27120.html'), 'true',[],'',''],
		['PAGE','27141',jdecode('How+much+will+I+earn%3F'),jdecode(''), jdecode('%2F14504%2F27141.html'), 'true',[],'',''],
		['PAGE','26320',jdecode('Withdrawl%2FRefund+Policy'),jdecode(''), jdecode('%2F14504%2F26320.html'), 'true',[],'',''],
		['PAGE','14525',jdecode('Prices'),jdecode(''), jdecode('%2F14504%2F14525.html'), 'true',[],'',''],
		['PAGE','15141',jdecode('Student+feed+back'),jdecode(''), jdecode('%2F14504%2F15141.html'), 'true',[],'',''],
		['PAGE','26220',jdecode('FAQs'),jdecode(''), jdecode('%2F14504%2F26220.html'), 'true',[],'','']
	],'',''],
	['PAGE','14546',jdecode('Microsoft+training'),jdecode(''), jdecode('%2F14546%2Findex.html'), 'true',[ 
		['PAGE','14920',jdecode('One+to+One+Training'),jdecode(''), jdecode('%2F14546%2F14920.html'), 'true',[],'',''],
		['PAGE','14941',jdecode('Course+schedule'),jdecode(''), jdecode('%2F14546%2F14941.html'), 'true',[],'',''],
		['PAGE','14962',jdecode('Course+content'),jdecode(''), jdecode('%2F14546%2F14962.html'), 'true',[],'',''],
		['PAGE','18820',jdecode('Upgrade+to+Office+2010'),jdecode(''), jdecode('%2F14546%2F18820.html'), 'false',[],'',''],
		['PAGE','17920',jdecode('upgrade+to+Word+2010'),jdecode(''), jdecode('%2F14546%2F17920.html'), 'false',[],'',''],
		['PAGE','18841',jdecode('Upgrade+to+Excel+2010'),jdecode(''), jdecode('%2F14546%2F18841.html'), 'false',[],'',''],
		['PAGE','18862',jdecode('Upgrade+to+Outlook+2010'),jdecode(''), jdecode('%2F14546%2F18862.html'), 'false',[],'',''],
		['PAGE','18883',jdecode('Introduction+to+Windows'),jdecode(''), jdecode('%2F14546%2F18883.html'), 'false',[],'',''],
		['PAGE','18904',jdecode('Understanding+Word+Level+1'),jdecode(''), jdecode('%2F14546%2F18904.html'), 'false',[],'',''],
		['PAGE','18925',jdecode('Working+with+Word+Level+2'),jdecode(''), jdecode('%2F14546%2F18925.html'), 'false',[],'',''],
		['PAGE','18946',jdecode('Word%3A++Mail+Merge+%26+Labels'),jdecode(''), jdecode('%2F14546%2F18946.html'), 'false',[],'',''],
		['PAGE','18967',jdecode('Word%3A+Graphic+Design'),jdecode(''), jdecode('%2F14546%2F18967.html'), 'false',[],'',''],
		['PAGE','18988',jdecode('Word%3A+Report+Writing'),jdecode(''), jdecode('%2F14546%2F18988.html'), 'false',[],'',''],
		['PAGE','19009',jdecode('Word%3A+Customising+%26+Automising'),jdecode(''), jdecode('%2F14546%2F19009.html'), 'false',[],'',''],
		['PAGE','19030',jdecode('Word%3A+Desktop+publishing'),jdecode(''), jdecode('%2F14546%2F19030.html'), 'false',[],'',''],
		['PAGE','19051',jdecode('Excel+Level+1'),jdecode(''), jdecode('%2F14546%2F19051.html'), 'false',[],'',''],
		['PAGE','19072',jdecode('Excel+Level+2'),jdecode(''), jdecode('%2F14546%2F19072.html'), 'false',[],'',''],
		['PAGE','19093',jdecode('Excel%3A+Customising+%26+Automating'),jdecode(''), jdecode('%2F14546%2F19093.html'), 'false',[],'',''],
		['PAGE','19114',jdecode('Access+Level+1'),jdecode(''), jdecode('%2F14546%2F19114.html'), 'false',[],'',''],
		['PAGE','19135',jdecode('Access+Level+2'),jdecode(''), jdecode('%2F14546%2F19135.html'), 'false',[],'',''],
		['PAGE','19156',jdecode('PowerPoint'),jdecode(''), jdecode('%2F14546%2F19156.html'), 'false',[],'',''],
		['PAGE','19177',jdecode('Publisher'),jdecode(''), jdecode('%2F14546%2F19177.html'), 'false',[],'',''],
		['PAGE','19198',jdecode('Microsoft+Outlook'),jdecode(''), jdecode('%2F14546%2F19198.html'), 'false',[],'',''],
		['PAGE','19219',jdecode('FrontPage'),jdecode(''), jdecode('%2F14546%2F19219.html'), 'false',[],'',''],
		['PAGE','14567',jdecode('Price+List'),jdecode(''), jdecode('%2F14546%2F14567.html'), 'true',[],'',''],
		['PAGE','14983',jdecode('Training+goals'),jdecode(''), jdecode('%2F14546%2F14983.html'), 'true',[],'',''],
		['PAGE','15004',jdecode('Follow+up+service'),jdecode(''), jdecode('%2F14546%2F15004.html'), 'true',[],'',''],
		['PAGE','15162',jdecode('Customer+satisfaction'),jdecode(''), jdecode('%2F14546%2F15162.html'), 'true',[],'',''],
		['PAGE','29020',jdecode('Booking%2Finquiry+form'),jdecode(''), jdecode('%2F14546%2F29020.html'), 'true',[],'','']
	],'','']];
var siteelementCount=45;
theSitetree.topTemplateName='Valiant';
theSitetree.paletteFamily='F1AA13';
theSitetree.keyvisualId='9810';
theSitetree.keyvisualName='kv_9810.jpg';
theSitetree.fontsetId='17626';
theSitetree.graphicsetId='13034';
theSitetree.contentColor='646464';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'mitdnz',
  product: 'WSCSYSSSSLYTC22A'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Valiant',
				paletteFamily: 	'F1AA13',
				keyvisualId: 	'9810',
				keyvisualName: 	'kv_9810.jpg',
				fontsetId: 		'17626',
				graphicsetId: 	'13034',
				contentColor: 	'646464',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11820',
internalId:  '',
customField: '20120116-190108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14420',
internalId:  '',
customField: '20111219-193736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14441',
internalId:  '',
customField: '20120116-190407'
};
webappMappings['7008']=webappMappings['7008-28766']={
webappId:    '7008',
documentId:  '29020',
internalId:  '28766',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14504',
internalId:  '',
customField: '20120122-191317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14546',
internalId:  '',
customField: '20120116-185649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15120',
internalId:  '',
customField: '20120122-191628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16520',
internalId:  '',
customField: '20111205-185726'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16541',
internalId:  '',
customField: '20120116-193025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16562',
internalId:  '',
customField: '20111219-174927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14920',
internalId:  '',
customField: '20120116-185824'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14962',
internalId:  '',
customField: '20120116-185916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17920',
internalId:  '',
customField: '20111212-182612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18820',
internalId:  '',
customField: '20111212-182853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18841',
internalId:  '',
customField: '20111212-183030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18862',
internalId:  '',
customField: '20111212-183206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18883',
internalId:  '',
customField: '20111212-183316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18904',
internalId:  '',
customField: '20111212-185005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18925',
internalId:  '',
customField: '20111212-185143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18946',
internalId:  '',
customField: '20111212-185257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18967',
internalId:  '',
customField: '20111212-185438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18988',
internalId:  '',
customField: '20111212-185558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19009',
internalId:  '',
customField: '20111212-185713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19030',
internalId:  '',
customField: '20111212-180345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19051',
internalId:  '',
customField: '20111212-180536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19072',
internalId:  '',
customField: '20111212-180737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19093',
internalId:  '',
customField: '20111212-180938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19114',
internalId:  '',
customField: '20111212-181053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19135',
internalId:  '',
customField: '20111212-181225'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19156',
internalId:  '',
customField: '20111212-181331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19177',
internalId:  '',
customField: '20111212-182027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19198',
internalId:  '',
customField: '20111212-182153'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19219',
internalId:  '',
customField: '20111212-170126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14941',
internalId:  '',
customField: '20111218-193829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14567',
internalId:  '',
customField: '20111218-181748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14983',
internalId:  '',
customField: '20111218-174311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15004',
internalId:  '',
customField: '20111218-174637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15162',
internalId:  '',
customField: '20111218-174828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14525',
internalId:  '',
customField: '20120116-191041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15141',
internalId:  '',
customField: '20120116-191618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26120',
internalId:  '',
customField: '20111219-191817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26220',
internalId:  '',
customField: '20120116-190550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26320',
internalId:  '',
customField: '20120116-190936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27120',
internalId:  '',
customField: '20111219-192147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27141',
internalId:  '',
customField: '20111219-192306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29020',
internalId:  '',
customField: '20120122-185448'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '11820',
internalId:  '1006',
customField: '1006'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVF340I7K6OQ';
var companyName   = 'Your+key+to+the+future';
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();
};

