// JavaScript Document


	for (i3=0; i3 < nodeList3.length; i3++){
		if(currentAsset3 == nodeList3[i3].id3){
		document.write('<li><span class="active"><a href="' + nodeList3[i3].url3 + '">' + nodeList3[i3].name3 + '</a></span>');
		document.write('<ul>');
			for (j3=0; j3 < nodeList33.length; j3++){
			document.write('<li><a href="' + nodeList33[j3].url33 + '">' + nodeList33[j3].name33 + '</a></li>');
			}
		document.write('</ul>');
		document.write('</li>');
		}
		else {
		document.write('<li><a href="' + nodeList3[i3].url3 + '">' + nodeList3[i3].name3 + '</a>');
		
		document.write('<ul>');
					if (currentSideLinks33 == nodeList3[i3].sidelinks3){
		
					for (j3=0; j3 < nodeList33.length; j3++){
					
					var string = nodeList33[j3].filename33;
					var newstring = string.substring(string.length-4,string.length); 
					var newfilename = nodeList33[j3].filename33.replace(newstring,"");
					
					if (currentAsset33 == nodeList33[j3].id33){
					document.write('<li><span class="active2"><a href="' + nodeList33[j3].url33 + '">' + nodeList33[j3].name33 + '</a></span>')
							document.write('<ul>');
							
							for (i44=0; i44 < nodeList44.length; i44++){
							myregex = new RegExp(newfilename);
								if (nodeList44[i44].path44.match(myregex)) {
								document.write('<li><a href="' + nodeList44[i44].url44 + '">' + nodeList44[i44].name44 + '</a></li>');
								}
							}
							
							document.write('</ul>');
					document.write('</li>');
							
							}
						else {
						var string = nodeList33[j3].filename33;
						var newstring = string.substring(string.length-4,string.length); 
						var newfilename = string.replace(newstring,"");	
						var string2 = currentFileName33;
						var newstring2 = string2.substring(string2.length-4,string2.length); 
						var newfilename2 = string2.replace(newstring2,"");	
						document.write('<li><a href="' + nodeList33[j3].url33 + '">' + nodeList33[j3].name33 + '</a>');
						document.write('<ul>');
							for (i44=0; i44 < nodeList44.length; i44++){
							myregex = new RegExp(newfilename);
								if (nodeList44[i44].path44.match(myregex) && currentAsset44 == nodeList44[i44].id44) {
								document.write('<li><span class="active3"><a href="' + nodeList44[i44].url44 + '">' + nodeList44[i44].name44 + '</a></span></li>');
								}
								if (nodeList44[i44].path44.match(myregex) && !(currentAsset44 == nodeList44[i44].id44) && nodeList44[i44].path44.match(newfilename2) || (currentAssetType44 == "Third_Level_Content" && nodeList44[i44].path44.match(myregex) && !(currentAsset44 == nodeList44[i44].id44))){
								document.write('<li><a href="' + nodeList44[i44].url44 + '">' + nodeList44[i44].name44 + '</a></li>');
								}
							}
							
							document.write('</ul>');

					document.write('</li>');
						}
					  
						
					
					}
					}
					
		document.write('</ul>');
		document.write('</li>');
		}
 }
			