
var xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
function loadXML(xmlFile) {
        xmlDoc.async="false";
        xmlDoc.onreadystatechange=verify;
        xmlDoc.load(xmlFile);
}

function verify() { 
        if(xmlDoc.readyState!=4)
                return false; 
}

function find_link(tree,link,find_level) {
	find_level = find_level+1;
	if (tree.tagName=="menu_text"){
		if ((tree.text=="Our Services")||(tree.text=="About Us")||(tree.text=="News and Media")||(tree.text=="Expert Events")||(tree.text=="The Wackenhut Distinction")||(tree.text=="Careers and Employment")) {
			window.last_parent_menu = tree.text;
			//document.write(find_level);
		}
	}

	if ((tree.tagName=="menu_url")&&((find_level-2)==1)){
		//document.write("menu_url = "+tree.text+"<br />");
		window.last_parent_link = tree.text;
	}
	//if (tree.tagName=="menu_text"){
	//	window.execution_log = window.execution_log + tree.text +' '+find_level+ String.fromCharCode(13, 10);
	//}

	if ((tree.tagName=="menu_url")&&(is_matched_url(tree.text,link)==1)){
		opened_parent_node = last_parent_menu;
		window.opened_parent_link = window.last_parent_link
	}
        if(tree.hasChildNodes()) {
                var nodes=tree.childNodes.length;
                for(var i=0; i<tree.childNodes.length; i++)
                        find_link(tree.childNodes(i),link,find_level);
        }	
}


function find_level2_link(tree,link,lvl) {
	if ((tree.tagName=="menu_text")&&((lvl-2)==1)){
		window.bc_last_lvl2_link_text = tree.text; 
	}
	if ((tree.tagName=="menu_url")&&((lvl-2)==1)) {
		window.last_level2_menu = tree.text; 
	}

	if (is_matched_url(tree.text,link)==1){
//here
		if (window.last_level2_menu != "undefined") {
			if (window.last_level2_menu != null){
			}else{
				window.last_level2_menu = '';
			}
		}else{
			window.last_level2_menu = '';
		}

		window.opened_level2_node = window.last_level2_menu;
		window.bc_lvl2_link_text = window.bc_last_lvl2_link_text;
	}
        if(tree.hasChildNodes()) {
                var nodes=tree.childNodes.length;
                for(var i=0; i<tree.childNodes.length; i++)
                        find_level2_link(tree.childNodes(i),link,(lvl+1));
        }	
}





function traverse(tree,lev,show_3rd_level) {

		var level_counter = 0;
		
		lev = lev+1;
		level_counter = level_counter + 1

					
		if (tree.tagName=="menu"){
			 

			last_tag_name = tree.tagName;

			if (menu_level == 'main'){

				window.list_code = window.list_code + '<ul class="menu-main">' + String.fromCharCode(13, 10);
				menu_level = 'sub';

			}else{
				window.try_counter = window.try_counter + 1;
				window.submenu_code = '<ul class="menu-sub">' + String.fromCharCode(13, 10);
				menu_level = 'sub';				
			}
		}

		if (tree.tagName=="menu_text"){
			if ((lev-2)==1) {
				list_line_text = '<span>&bull;</span>&nbsp;' + tree.text; 
				menu_item_level = 'main';
				current_main = tree.text;
			}else{
				menu_item_level = 'sub';
				list_line_text = tree.text;
			}
			if ((lev-2)==3) {
				window.last_third_level_text = tree.text;
			}
		}

		if ((current_main==opened_parent_node)&&((lev-2)==2)&&(tree.tagName=="menu_text")&&(window.submenu_start=='yes')){
			window.list_code = window.list_code + window.submenu_code;
			window.submenu_start = 'in process';
			window.submenu_status = 'in process';
		}


		if (tree.tagName=="menu_url"){
			if (is_matched_url(window.opened_level2_node,tree.text)){
				on_insert =  'class="on" ';
			}else{
				on_insert =  '';
			}
			if (((lev-2)==1)&&(current_main==opened_parent_node)){
				on_insert =  'class="on" ';
			}

			//if (((lev-2)==2)&&(current_main==opened_parent_node)){
			//	window.li_insert = ' style = "background-color:red" ';
			//	//on_insert =  on_insert + ' style="color:red"';
			//}else{
			//	window.li_insert = '';
//
			//}

			if (((current_main==opened_parent_node)||(current_main=='start')||(menu_item_level == 'main'))&&((lev-2)<4)){
				var on_insert;

				if (is_matched_url(window.exact_link,tree.text)){
					window.matched_menu = 'on';

					if ((lev-2)==2){
						window.link_level_found = 2;
						if (tree.hasChildNodes()){
							window.show_3rd_anyway = 1;
						}
					}
				}else{
					window.matched_menu = '';
				}
				
				var show_item = "yes";
				if ((list_line_text.indexOf("White Paper")>(-1))||(list_line_text.indexOf("Newsletter")>(-1))||(list_line_text.indexOf("Overview (PDF)")>(-1))){
					show_item = "no";
					//alert();
				}
				//document.write(show_item + " " + list_line_text+ " " + list_line_text.indexOf("Overview") + "-<br />");

				if (((lev-2)<3) && (show_item=="yes")){
					//window.list_code = window.list_code + '<li' + window.li_insert + '><a href="' + tree.text + '"'+on_insert+'>' + list_line_text +' ' +'</a></li>' + String.fromCharCode(13, 10);
					window.list_code = window.list_code + '<li><a href="' + tree.text + '"'+on_insert+'>' + list_line_text +' ' +'</a></li>' + String.fromCharCode(13, 10);

				}
			}

			//Print sub-sub list

			if ((lev-2)==2){
				window.last_lvl2_url = tree.text;
			}
			if ((lev-2)==3){
				window.last_third_level_url = tree.text;
						
			}

			if ((current_main==opened_parent_node)&&(window.submenu_status=='in process')){
				window.endlist = "not wrote";
				e = " show_3rd_level = "+show_3rd_level+". lev = " + lev + ". "; 
				if  ((tree.text.length)>0) {
					if (is_matched_url(window.opened_level2_node,window.last_lvl2_url)&&((lev-2)==3)){

						window.rightmenu3rdlevel = window.rightmenu3rdlevel + "<li><a href='" + tree.text + "'><img src='images/right_arrow.gif' alt='' />" + list_line_text +" " +"</a></li>" + String.fromCharCode(13, 10);
						//if (is_matched_url(window.exact_link,tree.text)&&(show_3rd_level=="on")){
						if (is_matched_url(window.exact_link,tree.text)){
							window.link_text_3rd_level = list_line_text;
							window.link_level_found = 3;
							
						}				
					}	

					//if ((lev-2)==3){
					//	window.last_third_level_url = list_line_text;
						
					//}
					if (((lev-2)>3)&&(is_matched_url(window.exact_link,tree.text))){
						window.fourth_link_url = tree.text;
						window.fourth_link_text = list_line_text;
						window.link_level_found = lev-2;
						window.parent_3rd_level_text = window.last_third_level_text;
						window.parent_3rd_level_url = window.last_third_level_url;
						//alert(" window.fourth_link_url = "+window.fourth_link_url+ String.fromCharCode(13, 10) + " window.fourth_link_text = " +window.fourth_link_text+ String.fromCharCode(13, 10)+ " window.link_level_found = " +window.link_level_found+ String.fromCharCode(13, 10)+ " window.parent_3rd_level_url = " + window.parent_3rd_level_url+ String.fromCharCode(13, 10));
					}
				}
			
			}
		}


        if(tree.hasChildNodes()) {



                var nodes=tree.childNodes.length;
                for(var i=0; i<tree.childNodes.length; i++)			
                        traverse(tree.childNodes(i),lev,window.matched_menu);
			//if ((current_main!=opened_parent_node)&&(nodes==i)&&((lev-2)==1)&&(tree.tagName=="menu_text")&&((tree.text=="About Us")||(tree.text=="News and Media"))&&(window.matched_menu =='')&&(window.submenu_status=='in process')){

			if ((current_main!=opened_parent_node)&&(window.endlist=="not wrote")&&(nodes==i)&&((lev-2)==1)&&(tree.tagName=="menu_text")){
				//window.list_code = window.list_code + window.last_node;
				window.list_code = window.list_code + '</ul>' + String.fromCharCode(13, 10);
				window.submenu_status = 'no';	
				window.endlist = "wrote";
			}

			if (tree.tagName=="menu_text") {
				//window.list_code = window.list_code + '<font color="red">' + window.last_node + ' - </font>';
				//window.list_code = window.list_code + '<font color="red"> ' +current_main+' - '+opened_parent_node + ' </font>';
//window.list_code = window.list_code+' '+link_level_found+'L:'+lev;
				window.last_node = tree.text;	
			}		
        }
}


function is_matched_url (url1, url2) {
	//alert("test");
	//document.write('<font color="green">url1 = ' + url1 + '</font><font color="red">  url2 = ' + url2 + '</font><br /><br />')
	//document.write('<font color="blue">strip_url(url1) = ' + strip_url(url1) + '</font><font color="brown">  strip_url(url2) = ' + strip_url(url2) + '</font><br /><br />')

	//if ((url1.indexOf('S2S')>(-1))||(url2.indexOf('S2S')>(-1))){
		//alert("url_to_strip = "+url_to_strip);
		//window.execution_log = window.execution_log + String.fromCharCode(13, 10) + url1 +url2;
		//alert();
	//}


	if (strip_url(url1) == strip_url(url2)){

	//document.write('<font color="green">url1 = ' + strip_url(url1) + '</font><font color="red">  url2 = ' + url2 + '</font><br /><br />');
	//document.write('Equal! <font color="blue">strip_url(url1) = ' + strip_url(url1) + '</font><font color="brown">  strip_url(url2) = ' + strip_url(url2) + '</font><br /><br />'); 



		return(1);
	}else{
	//document.write('<font color="green">url1 = ' + url1 + '</font><font color="red">  url2 = ' + url2 + '</font><br /><br />');
	//document.write('Not! <font color="maroon">strip_url(url1) = ' + strip_url(url1) + '</font><font color="black">  strip_url(url2) = ' + strip_url(url2) + '</font><br /><br />'); 


		return(0);
	}


}

function strip_url (url_to_strip) {
		// find double slash position
	var temp_string = '';
	var doubleSlash = 0;
	var search_string = '';

	if (url_to_strip != "undefined") {
		if (url_to_strip != null){

		}else{
			url_to_strip = "";
		}
	}else{
		url_to_strip = "";
	}
	temp_string = url_to_strip;
	url_to_strip = temp_string;


	//url_to_strip = url_to_strip.replace("%20","");
	url_to_strip = decodeURI(url_to_strip);
	url_to_strip = url_to_strip.replace(/%2520/gi," ");
	url_to_strip = url_to_strip.replace(/%20/gi," ");
	//url_to_strip = url_to_strip.replace((String.fromCharCode(25)+"20")," ");

	url_to_strip = url_to_strip.toLowerCase();


	// Chop off before and including any slash "/"
	search_string = String.fromCharCode(47);
	while (url_to_strip.indexOf(search_string)>(-1)) {
		url_to_strip = url_to_strip.substr(url_to_strip.indexOf(search_string)+1,url_to_strip.length);
	}
	// Chop off before and including any backslash "\"
	search_string = String.fromCharCode(92);
	while (url_to_strip.indexOf(search_string)>(-1)) {
		url_to_strip = url_to_strip.substr(url_to_strip.indexOf(search_string)+1,url_to_strip.length);
	}



	/*
	if (url_to_strip.indexOf("/")>(-1)){

	}
	if (url_to_strip.indexOf("\")>(-1)){
		url_to_strip = url_to_strip.substr(url_to_strip.indexOf("\")+1,url_to_strip.length);
	}
	
	try{
		if (url_to_strip.match("///")) {
			doubleSlash=url_to_strip.indexOf("///");
			url_to_strip = url_to_strip.substr(doubleSlash+2,url_to_strip.length);
		}
		// url minus protocol and double slash [server]/[path] 
		if (url_to_strip.match("/")) {
			url_to_strip = url_to_strip.substr(url_to_strip.indexOf("/")+1,url_to_strip.length);
		}	
  	  }
	catch(err)
	{
	}


	  try{
		if (url_to_strip.match("//")) {
			doubleSlash=url_to_strip.indexOf("//");
			url_to_strip = url_to_strip.substr(doubleSlash+2,url_to_strip.length);
		}
		// url minus protocol and double slash [server]/[path] 
		if (url_to_strip.match("/")) {
			url_to_strip = url_to_strip.substr(url_to_strip.indexOf("/")+1,url_to_strip.length);
		}
  	  }
	  catch(err)
	    {
		}
	*/

//window.execution_log = window.execution_log + String.fromCharCode(13, 10) + "  url_to_strip = " url_to_strip;

	return(url_to_strip);


}

function CheckLoaded() {
	if (location.href.length > 10) {
		setTimeout('CheckLoaded()',20);
		return 0;
	}
}



function initTraverse(file,page_url) {
	//alert("begin");
	window.execution_log = "";
	menu_end = '';
	menu_level = 'main';
	menu_item_level = 'main';
	current_main = 'start';
	list_line_text = '';
	last_tag_name = '';
	window.last_parent_menu = ''; 
	opened_parent_node = '';
	window.rightmenu3rdlevel = '';
	window.try_counter = 0;
	window.list_code = '';
	window.submenu_code = '';
	window.submenu_start = 'yes';
	window.opened_level2_node = '';
	window.link_text_3rd_level = '';
	window.link_level_found = 0;
	window.endlist = "initial";
	window.opened_parent_link = "";
	window.last_parent_menu= "";
	window.fourth_link_url = "";
	window.fourth_link_text = "";
	window.parent_3rd_level_text = "";
	window.parent_3rd_level_url = "";
	window.last_third_level_text = "";
	window.last_third_level_url = "";

/*var counter = 0;
var counter2 = 0;
while (counter < 100000) {
	while (counter2 < 10) {
		counter2 = counter2 + 1;
	}
	counter = counter + 1;
}*/

	window.exact_link = page_url;
	window.exact_link = location.href;
        loadXML(file);
        var doc=xmlDoc.documentElement;

	find_link(doc,window.exact_link,0);
	find_level2_link(doc,window.exact_link,0);
        traverse(doc,0,'');
	// Write Left Side menu
	//document.write(window.list_code);
	// Quick and dirty remove any empty sub-lists:
	var search_str = '<ul class="menu-sub">'+ String.fromCharCode(13, 10)+'</ul>'+ String.fromCharCode(13, 10);
	window.list_code = window.list_code.replace(search_str,"");

	document.getElementById('menu').innerHTML = window.list_code + document.getElementById('menu').innerHTML;
	//document.getElementById('menu').innerHTML = window.list_code;

// if last few characters does not contain </li></ul>
	var end_chunk = "";
	end_chunk = window.list_code.substr(window.list_code.length-16, 20)
	if (end_chunk.indexOf('</ul>')==(-1)){
		if (end_chunk.indexOf('</li>')==(-1)){
			window.list_code = window.list_code + "</li>";	
		}
		window.list_code = window.list_code + "</ul>";				
	}
	// open thw window 
	////win3 = window.open("", "Window3", "width=300,height=200,scrollbars=yes"); 
	// write out to window
	////win3.document.writeln(window.list_code); 
	/* --- WRITE BREADBCRUMB --- */
	if ((strip_url(window.exact_link)!="default.htm")&&(opened_parent_node.length>0)){
		write_breadcrumb();
	}
	/* --- WRITE RIGHT-SIDE LINKS --- */
	//if (window.link_text_3rd_level.length > 0){
	//	create_right_side_links();
	//}
	/* --- REDRAW AULXILLARY MENU --- */
	//document.getElementByClass('menu-aux').innerHTML = document.getElementByClass('menu-aux').innerHTML;
	Redraw_Aux_Menu('menu-aux');
//	document.getElementById('menu-aux').innerHTML = document.getElementById('menu-aux').innerHTML;



	Redraw_Aux_Menu('menu');
	document.getElementById('menu-bg').style.display='none';
	document.getElementById('menu').style.display='none';
	document.getElementById('menu').style.display='inline-block';
	document.getElementById('menu-bg').style.display='inline-block';

	Redraw_Aux_Menu('menu-main');
	//document.getElementById('menu').LI.style.display='none';
	//document.getElementById('menu').LI.style.display='inline-block';
			//allPageTags[i].style.display='none';
			//allPageTags[i].style.display='inline-block';
//background-color:#BCBEB8;
	//document.getElementById('menu').getElementsByTagName("li").item(1).style.display='none';
	//document.getElementById('menu').getElementsByTagName("li").item(1).style.display='inline-block';
	//document.getElementById('menu').style.background-color="red";

	//menu
	//alert ("Execution Log: " + String.fromCharCode(13, 10) + window.execution_log);
	//alert(window.list_code);

	//alert(document.getElementById('menu-column').innerHTML)
}


// This function is for debugging only
function newWin(){ 
	ven = window.open('','_blank'); 
	var results =document.documentElement.innerHTML; 
	var match = "<"; 
	var re = new RegExp("<", "g"); 
	var newresults = results.replace(re, "&lt;"); 
	ven.document.write(newresults ); 
} 


// This creates links on the right side from 3rd-level menu items.
function create_right_side_links(){ 
	if ((window.link_text_3rd_level.length > 0)||(window.show_3rd_anyway==1)){
		if (document.getElementById("rightmenu") != "undefined") {
			if (document.getElementById("rightmenu") != null){
		
				//alert("not null!!");
			}else{
				//alert("object null!!");
				//document.getElementByClass('rightmenu').innerHTML
			}

			window.rightmenu3rdlevel = '<ul>'  + window.rightmenu3rdlevel;
			window.rightmenu3rdlevel = '<h2 class="hide">Sub Menu Links</h2>'  + window.rightmenu3rdlevel; 
			window.rightmenu3rdlevel = window.rightmenu3rdlevel + '</ul>';
			window.rightmenu3rdlevel = window.rightmenu3rdlevel + '<div class="clear"></div>';			
			document.getElementById('rightmenu').innerHTML=window.rightmenu3rdlevel;
		}
	}
} 

function write_breadcrumb(){
	window.bread_crumb_html = '<h2 class="hide">Breadcrumb Links</h2>' + String.fromCharCode(13, 10);
	//window.bread_crumb_html = window.bread_crumb_html + '<table height="46"><tr><td valign="top">';
	//window.bread_crumb_html = window.bread_crumb_html + '<div style="color:white;font-size:15px;font-weight:bold">';

	window.bread_crumb_html = window.bread_crumb_html + '<ul><li><a href="http://www.ci-wackenhut.com">Homepage</a>' + String.fromCharCode(13, 10);
	window.bread_crumb_html = window.bread_crumb_html + '<ul><li>&nbsp;&gt;&nbsp;<a href="'+ window.opened_parent_link +'">'+opened_parent_node+'</a>' + String.fromCharCode(13, 10);



	// If 
	if ((window.opened_level2_node.length>0)&&(window.link_level_found>1)){
		window.bread_crumb_html = window.bread_crumb_html + '<ul><li>&nbsp;&gt;&nbsp;<a href="'+window.opened_level2_node + '">' + window.bc_lvl2_link_text + '</a>' + String.fromCharCode(13, 10);
		// If page is a third-level item...
		if (window.link_text_3rd_level.length > 0){
			window.bread_crumb_html = window.bread_crumb_html + '<ul><li>&nbsp;&gt;&nbsp;<a href="'+window.exact_link + '">' + window.link_text_3rd_level + '</a>' + String.fromCharCode(13, 10);
		}
		// If page is a fourth-level item...
		if (window.fourth_link_url.length > 0){
				window.bread_crumb_html = window.bread_crumb_html + '<ul><li>&nbsp;&gt;&nbsp;<a href="' + window.parent_3rd_level_url + '">' + window.parent_3rd_level_text + '</a>' + '<ul><li>&nbsp;&gt;&nbsp;<a href="' + window.fourth_link_url + '">' + window.fourth_link_text + '</a>' + String.fromCharCode(13, 10) + String.fromCharCode(13, 10);
		}
	}

	if (window.opened_level2_node.length>0){
		window.bread_crumb_html = window.bread_crumb_html + '</li></ul>' + String.fromCharCode(13, 10);
		if (window.link_text_3rd_level.length > 0){
			window.bread_crumb_html = window.bread_crumb_html + '</li></ul>' + String.fromCharCode(13, 10);
		}
	}
	window.bread_crumb_html = window.bread_crumb_html + '</li></ul></li></ul>' + String.fromCharCode(13, 10);




//window.link_level_found





	//window.bread_crumb_html = window.bread_crumb_html + '</td></tr></table>';
	window.bread_crumb_html = window.bread_crumb_html + '<div class="clear"></div>';
	document.getElementById('breadcrumb').innerHTML = window.bread_crumb_html;
}

function Redraw_Aux_Menu(theClass) {
	//Create an array 
	var allPageTags = new Array();
	//Populate the array with all the page tags  
	var allPageTags=document.getElementsByTagName("*");
	//Cycle through the tags using a for loop
	for (i=0; i<allPageTags.length; i++) {
		//Pick out the tags with our class name  
		if (allPageTags[i].className == theClass) {
  			//Manipulate this in whatever way you want
  			//allPageTags[i].innerHTML = allPageTags[i].innerHTML;
//background-color:#BCBEB8;
			//allPageTags[i].style.display='none';
			//allPageTags[i].style.display='inline';
			//allPageTags[i].style.display='none';
			//allPageTags[i].style.display='block';
			allPageTags[i].style.display='none';
			allPageTags[i].style.display='inline-block';
		}
	}
} 

//////////////////////////////////// End New Code ////////////////////////////////////////////
//////////////////////////////////// Start Old Code ////////////////////////////////////////////
function onLoad() {
	loadMenus();
}

function loadMenus() {
    //Dynamic Menus

	window.menu_Hum_Res = new Menu("&nbsp;Human Resource Solutions");
	menu_Hum_Res.addMenuItem("&nbsp;Background Screening", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Hum_Res.addMenuItem("&nbsp;Nuclear Access Authorizations", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Hum_Res.addMenuItem("&nbsp;Drug Testing", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Hum_Res.addMenuItem("&nbsp;Safe2Say Hotlines", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Hum_Res.addMenuItem("&nbsp;Safe2Stay Backgrounds", "top.window.location='http://home.netscape.com'");
	menu_Hum_Res.addMenuItem("&nbsp;Anything2Say Exit Interviews", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Hum_Res.menuItemHeight = 20;

	window.menu_Ethics = new Menu("&nbsp;Ethics and Compliance Services");
	menu_Ethics.addMenuItem("&nbsp;Code of Conduct & Ethics Manual", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Ethics.addMenuItem("&nbsp;Code of Conduct & Ethics Training", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Ethics.addMenuItem("&nbsp;Harassment/Discrimination Prevention Training", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Ethics.addMenuItem("&nbsp;Safe2Say Hotlines", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Ethics.addMenuItem("&nbsp;Online HR Compliance Reference System", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Ethics.addMenuItem("&nbsp;Compliance Posters", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Ethics.addMenuItem("&nbsp;Employment Law Manuals", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Ethics.menuItemWidth = 230;	
	menu_Ethics.menuItemHeight = 20;

	window.menu_Consulting = new Menu("&nbsp;Consulting");
	menu_Consulting.addMenuItem("&nbsp;Risk Assessments", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Consulting.addMenuItem("&nbsp;Crisis Management &amp; Response", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Consulting.addMenuItem("&nbsp;Business Continuity", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Consulting.addMenuItem("&nbsp;Protection Services", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Consulting.menuItemHeight = 20;

		/* Must build "Complex Corporate Investigations" menu before adding it to "Investigations" menu below. */
		window.menu_Complx_Corp_Inv = new Menu("&nbsp;Complex Corporate Investigations");
		menu_Complx_Corp_Inv.addMenuItem("&nbsp;Surveillance", "top.window.location='http://www.ci-wackenhut.com'");
		menu_Complx_Corp_Inv.addMenuItem("&nbsp;Undercover", "top.window.location='http://www.ci-wackenhut.com'");
		menu_Complx_Corp_Inv.menuItemWidth = 100;
		menu_Complx_Corp_Inv.menuItemHeight = 20;

	window.menu_Investigations = new Menu("&nbsp;Investigations");
	menu_Investigations.addMenuItem("&nbsp;Brand Integrity Protection", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Investigations.addMenuItem("&nbsp;Due Diligence", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Investigations.addMenuItem("&nbsp;Computer Forensics", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Investigations.addMenuItem("&nbsp;Complex Corporate Investigations", "top.window.location='http://www.ci-wackenhut.com'");
	menu_Investigations.menuItemHeight = 20;

    /* Add menus to "Our Services" menu: */
    window.menu_Our_Services = new Menu("Our Services");
    menu_Our_Services.addMenuItem(menu_Hum_Res, "top.window.location='http://www.ci-wackenhut.com'");
    menu_Our_Services.addMenuItem(menu_Ethics, "top.window.location='http://www.ci-wackenhut.com'");
    menu_Our_Services.addMenuItem(menu_Consulting, "top.window.location='http://www.ci-wackenhut.com'");
    menu_Our_Services.addMenuItem(menu_Investigations, "top.window.location='http://www.ci-wackenhut.com'");

    menu_Our_Services.writeMenus();
}
