<!--hide from javaless browsers

//this is the set up for the DHTML menus (ends on line 42)

     NS4 = (document.layers);
     IE4 = (document.all);
    ver4 = (NS4 || IE4);
	 IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
   isMac = (navigator.appVersion.indexOf("Mac") != -1);
  isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));

function popUp(){return};
function popDown(){return};

if (!ver4) event=null;

if (isMenu) {
menuVersion = 3;
menuWidth = 200;
childOverlap = 0;
childOffset = 0;
perCentOver = null;
secondsVisible = .5;
fntCol = "#404040";
// Minimum size for NS-Mac to display bolding: 11pt
// Minimum size for NS-Win to display bolding: 9pt
// Minimum size for IE-any to display bolding: 8pt
fntSiz = "8"; // Default
if ((NS4) && (isMac))   { fntSiz = "11";} // NS for Mac
if ((!NS4) && (isMac))  { fntSiz = "8";}  // IE for Mac
if ((NS4) && (!isMac))  { fntSiz = "9";}  // NS for Win
if ((!NS4) && (!isMac)) { fntSiz = "8";}  // IE for Win
//alert("The Font Size is: "+fntSiz);
fntBold = true;
fntItal = false;
fntFam = "Arial,Helvetica";
backCol = "#FFFFFF";
overCol = "C00000";
overFnt = "#FFFFFF";
borWid = 2;
borCol = "#404040";
borSty = "solid";
itemPad = 3;
imgSrc = "";
imgSiz = 10;
separator = 1;
separatorCol = "#CCCCCC";
isFrames = false;
keepHilite = true; 
clickStart = false;
clickKill = false;
}
// This is the array for the DHTML menu (ends on line 140)
if (isMenu) {

arMenu1 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu2 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu3 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu4 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu5 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu6 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu7 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu8 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu9 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu10 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu11 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu12 = new Array(
5,
-10,25,
"","",
"","",
"","",
"","",0
);

arMenu13 = new Array(
185,
155,274,
"","",
"","",
"","",
"Corporate Information","http://www.center4pm.com/AboutUs.cfm",0,
"Our President","http://www.center4pm.com/President.cfm",0
);

arMenu14 = new Array(
185,
155,178,
"","",
"","",
"","",
"Executive/Enterprise Programs","http://www.center4pm.com/Services/executive.cfm",0,
"Project Management Training","http://www.center4pm.com/Services/training.cfm",0,
"Consulting Services","http://www.center4pm.com/Services/consulting.cfm",0
);

arMenu15 = new Array(
185,
155,209,
"","",
"","",
"","",
"White Papers","https://www.center4pm.com/commerce/showprod.cfm?&DID=7&CATID=1&ObjectGroup_ID=2",0,
"Audio Program","https://www.center4pm.com/commerce/showprod.cfm?&DID=7&CATID=1&ObjectGroup_ID=1",0
);

arMenu16 = new Array(
185,
155,209,
"","",
"","",
"","",
"Culture Model Approach","http://www.center4pm.com/Equation/EnterpriseApproach.cfm",0,
"Project Process Architecture (PPA) Overview","http://www.center4pm.com/Equation/PPAOverview.cfm",0,
"Project Process Architecture (PPA) and PMI's PMBOK","http://www.center4pm.com/Equation/PPA.cfm",0,
"CMM Overview","http://www.center4pm.com/Equation/CMMOverview.cfm",0
);

}

//this is the engine for the DHTML menus (ends on line 600)

if (isMenu) {
/*hierMenus.js
* by Peter Belesis. v3.10.3 000731
* Copyright (c) 2000 internet.com Corp. All Rights Reserved.
* Originally published and documented at http://www.dhtmlab.com/
* You may use this code on a public Web site only if this entire
* copyright notice appears unchanged and you publicly display
* on the Web page a link to http://www.dhtmlab.com/.
*
* Significant modifications by Dan Meriwether, DM@Delux.com
* In December, 2000, primarily for optimization and speed increases
*
* Contact pbel@websentric.com for all other uses.
*/ 
loader = window;
loader.onload = startIt;
if(NS4){
	origWidth = loader.innerWidth;
	origHeight = loader.innerHeight;
	loader.onresize = reDo;
}
isLoaded = false;
NSresized = false;
if (!window.menuVersion) {keepHilite = clickStart = false;}
if (!window.imgHspace) imgHspace=0;
isWin = (navigator.appVersion.indexOf("Win") != -1)
mSecsVis = secondsVisible*1000;
areCreated = false;
menuLoc = null;
function initVars() {
	if(areCreated) {
		for(i=1; i<topCount; i++) {
			cur = eval("elMenu"+i);
			clearTimeout(cur.hideTimer);
			cur.hideTimer=null;
		}
		clearTimeout(allTimer);
	}
	topCount = 1;
	areCreated = false;
	beingCreated = false;
	isOverMenu = false;
	currentMenu = null;
	allTimer = null;
}
initVars();
}
function startIt() {
	isLoaded = true;
	menuLoc = window;
	menuLoc.nav = nav = window;
	makeTop();   
}
function makeTop(){
	beingCreated = true;
	if(IE4) {
		topZ = 0;
		for (z=0;z<window.document.all.length;z++){
			oldEl = window.document.all(z);
			topZ = Math.max(oldEl.style.zIndex,topZ)
		}
	}
	while(eval("window.arMenu" + topCount)) {
		(NS4) ? makeMenuNS(false,topCount) : makeMenuIE(false,topCount);
		topCount++
	}
	status = (topCount-1) + " Hierarchical Menu Trees Created"
	document.close();
	areCreated = true;
	beingCreated = false;
//	trace("Load time (milliseconds)");
}
function makeMenuNS(isChild,menuCount,parMenu,parItem) {
	tempArray = eval("arMenu" + menuCount);
	tempWidth = tempArray[0] ? tempArray[0] : menuWidth;
	menu = makeElement("elMenu" + menuCount,tempWidth,null,null);
	menu.array = tempArray;
	menu.setMenuTree = setMenuTree;
	menu.setMenuTree(parMenu);
	while (menu.itemCount < menu.maxItems) {
		menu.itemCount++;
		prevItem = (menu.itemCount > 1) ? menu.item : null;
		itemName = "item" + menuCount + "_" + menu.itemCount;
		menu.item = makeElement(itemName,null,null,menu);
		menu.item.prevItem = prevItem;
		menu.item.setup = itemSetup;
		menu.item.setup(menu.itemCount,menu.array);
	}
	menu.lastItem = menu.item;
	menu.setup(isChild,parMenu,parItem);
}
function setMenuTree(parMenu) {
	this.menuWidth = this.array[0] ? this.array[0] : menuWidth;
	this.menuLeft = this.array[1];
	this.menuTop = this.array[2];
	this.menuFontColor = this.array[3] ? this.array[3] : fntCol;
	this.menuFontOver = this.array[4] ? this.array[4] : overFnt;
	this.menuBGColor = this.array[5] ? this.array[5] : backCol;
	this.menuBGOver = this.array[6] ? this.array[6] : overCol;
	this.menuBorCol = this.array[7] ? this.array[7] : borCol;
	this.menuSeparatorCol = this.array[8] ? this.array[8] : separatorCol;
	this.treeParent = this;
	this.startChild = this;
	this.maxItems = (this.array.length-9)/3;
	this.hasParent = null;
	this.setup = menuSetup;
	this.itemCount = 0;
}
function makeMenuIE(isChild,menuCount,parMenu) {
	menu = makeElement("elMenu" + menuCount);
	menu.array = eval("arMenu" + menuCount);
	menu.setMenuTree = setMenuTree;
	menu.setMenuTree(parMenu);
	menu.itemStr = "";
	while (menu.itemCount < menu.maxItems) {
		menu.itemCount++;
		itemName = "item" + menuCount + "_" + menu.itemCount;
		arrayPointer = ((menu.itemCount-1)*3)+9;
		dispText = menu.array[arrayPointer];
		if(IE5) {
			newSpan = window.document.createElement("SPAN");
			with(newSpan) {
				id = itemName;
				with(style) {
					width = (menu.menuWidth-(borWid*2));
					fontSize = fntSiz + "pt";
					fontWeight = (fntBold) ? "bold" : "normal";
					fontStyle = (fntItal) ? "italic" : "normal";
					fontFamily = fntFam;
					padding = itemPad;
					borderBottomWidth = separator + "px";
					borderBottomStyle = "solid";
				}
				innerHTML = dispText;
			}
			//newBreak = menuLoc.document.createElement("BR");
			menu.appendChild(newSpan);
			//menu.appendChild(newBreak); // opening the page twice?
		} else {
			htmStr = dispText;
			menu.itemStr += "<SPAN ID=" + itemName + " STYLE=\"width:" + (menu.menuWidth-(borWid*2))+";";
			menu.itemStr += "font-size:"+fntSiz+"pt;";
			menu.itemStr += "font-weight:"+((fntBold) ? "bold;" : "normal;");
			menu.itemStr += "font-style:"+((fntItal) ? "italic;" : "normal;");
			menu.itemStr += "font-family:"+fntFam+";";
			menu.itemStr += "padding:"+itemPad+"px;";
			menu.itemStr += "border-bottom-width:"+separator+"px;";
			menu.itemStr += "border-bottom-style:solid;";
			menu.itemStr += "\">" + htmStr + "</SPAN><BR>";
		}
	}
	if(!IE5) menu.innerHTML = menu.itemStr; // IE 4's method was faster
	itemColl = menu.children.tags("SPAN");
	for (i=0; i<itemColl.length; i++) {
		it = itemColl(i);
		it.setup = itemSetup;
		it.setup(i+1,menu.array);
	}
	menu.lastItem = itemColl(itemColl.length-1);
	menu.setup(isChild,parMenu);
}
function makeElement(whichEl,whichWidth,whichParent,whichContainer) {
	if (NS4) {
		if (whichWidth) {
			elWidth = whichWidth;
		} else {
			elWidth = (whichContainer) ? whichContainer.menuWidth : whichParent.menuWidth;
			if (whichContainer) elWidth = elWidth-(borWid*2)-(itemPad*2);
		}
		if (!whichContainer) whichContainer = window;
		eval(whichEl + "= new Layer(elWidth,whichContainer)");
	} else {
		if (IE5) {
			newDiv = window.document.createElement("DIV");
			newDiv.style.position = "absolute";
			newDiv.id = whichEl;
			window.document.body.appendChild(newDiv);
		} else {
			elStr = "<DIV ID=" + whichEl + " STYLE='position:absolute'></DIV>";
			//window.document.body.insertAdjacentHTML("BeforeEnd",elStr);
			window.document.body.insertAdjacentHTML("beforeEnd",elStr);
		}
	}
	return eval(whichEl);
}

function itemSetup(whichItem,whichArray) {
	this.onmouseover = itemOver;
	this.onmouseout = itemOut;
	this.container = (NS4) ? this.parentLayer : this.parentElement;
	arrayPointer = (this.container.hasParent) ? (whichItem-1)*3 : ((whichItem-1)*3)+9;
	this.dispText = whichArray[arrayPointer];
	this.linkText = whichArray[arrayPointer + 1];
	if (this.linkText) {
		if (NS4) {
			this.captureEvents(Event.MOUSEUP)
			this.onmouseup = linkIt;
		} else {
			this.onclick = linkIt;
			this.style.cursor = "hand";
		}
	}
	if (NS4) {
		htmStr = this.dispText;
		if (fntBold) htmStr = htmStr.bold();
		if (fntItal) htmStr = htmStr.italics();
		htmStr = "<FONT FACE='" + fntFam + "' POINT-SIZE=" + fntSiz + ">" + htmStr+ "</FONT>";
		this.htmStr = htmStr.fontcolor(this.container.menuFontColor);
		this.visibility = "inherit";
		this.bgColor = this.container.menuBGColor;
		if (whichItem == 1) {
			this.top = borWid + itemPad;
		} else {
			this.top = this.prevItem.top + this.prevItem.clip.height + separator;
		}
		this.left = borWid + itemPad;
		this.clip.top = this.clip.left = -itemPad;
		this.clip.right = this.container.menuWidth-(borWid*2)-itemPad;
		maxTxtWidth = this.container.menuWidth-(borWid*2)-(itemPad*2);
		this.txtLyrOff = new Layer(maxTxtWidth,this);
		this.txtLyrOff.document.write(this.htmStr);
		this.txtLyrOff.document.close(); 
		this.txtLyrOff.visibility = "inherit";
		this.clip.bottom = this.txtLyrOff.document.height+itemPad;
	} else {
		with (this.style) {
			color = this.container.menuFontColor;
			borderBottomColor = this.container.menuSeparatorCol;
			backgroundColor = this.container.menuBGColor;
		}
	}
}   
function menuSetup(hasParent,openCont,openItem) {
	this.onmouseover = menuOver;
	this.onmouseout = menuOut;
	this.showIt = showIt;
	this.keepInWindow = keepInWindow;
	this.hideTree = hideTree
	this.hideParents = hideParents;
	this.hideTop = hideTop;
	this.hasChildVisible = false;
	this.isOn = false;
	this.hideTimer = null;
	this.childOverlap = (perCentOver != null) ? ((perCentOver/100) * this.menuWidth) : childOverlap;
	this.currentItem = null;
	this.hideSelf = hideSelf;
	this.hasParent = false;
	if (NS4) {
		this.bgColor = this.menuBorCol;
		this.fullHeight = this.lastItem.top + this.lastItem.clip.bottom + borWid;
		this.clip.right = this.menuWidth;
		this.clip.bottom = this.fullHeight;
	} else {
		with (this.style) {
			width = this.menuWidth;
			borderWidth = borWid;
			borderColor = this.menuBorCol;
			borderStyle = borSty;
			zIndex = topZ;
			overflow = "hidden";
		}
		this.lastItem.style.border="";
		this.fullHeight = this.offsetHeight;
		if(isMac)this.style.pixelHeight = this.fullHeight;
		this.fullHeight = this.scrollHeight;
		this.showIt(false);
		this.onselectstart = cancelSelect;
		this.moveTo = moveTo;
		this.moveTo(0,0);
//		alert("this.style.pixelHeight = "+this.style.pixelHeight+"\nthis.offsetHeight = "+this.offsetHeight);
	}
}
function popUp(menuName,e){
	if (NS4 && NSresized) startIt();
	if (!isLoaded) return;
	linkEl = (NS4) ? e.target : event.srcElement;
	if (clickStart) linkEl.onclick = popMenu;
	if (!beingCreated && !areCreated) startIt();
	linkEl.menuName = menuName;   
	if (!clickStart) popMenu(e);
}

function popMenu(e){
	if (!isLoaded || !areCreated) return true;
	eType = (NS4) ? e.type : event.type;
	hideAll();
	linkEl = (NS4) ? e.target : event.srcElement;
	currentMenu = eval(linkEl.menuName);
	currentMenu.hasParent = false;
	currentMenu.treeParent.startChild = currentMenu;
	if (IE4) menuLocBod = window.document.body;
	xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? e.pageX : (event.clientX + menuLocBod.scrollLeft);
	yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? e.pageY : (event.clientY + menuLocBod.scrollTop);
	currentMenu.moveTo(xPos,yPos);
	currentMenu.keepInWindow()
//	alert("currentMenu.keepInWindow = "+currentMenu.keepInWindow);
	currentMenu.isOn = true;
	currentMenu.showIt(true);
	return false;
}
function menuOver(e) {
	this.isOn = true;
	isOverMenu = true;
	currentMenu = this;
	if (this.hideTimer) clearTimeout(this.hideTimer);
}
function menuOut() {
	if (IE4) {
		theEvent = window.event;
		if (theEvent.srcElement.contains(theEvent.toElement)) return;
	}
	this.isOn = false;
	isOverMenu = false;
    allTimer = setTimeout("currentMenu.hideTree()",10);  
}
function itemOver(){
	if (keepHilite) {
		if (this.container.currentItem && this.container.currentItem != this) {
			if (NS4) {
				this.container.currentItem.bgColor = this.container.menuBGColor;
			} else {
				with (this.container.currentItem.style) {
					backgroundColor = this.container.menuBGColor;
					color = this.container.menuFontColor;
				}
			}
		}
	}
	if (IE4) {
		theEvent = window.event;
		if (theEvent.srcElement.tagName == "IMG") return;
		this.style.backgroundColor = this.container.menuBGOver;
		this.style.color = this.container.menuFontOver;
	} else {
		this.bgColor = this.container.menuBGOver;
	}
	this.container.currentItem = this;
}
function itemOut() {
	if (IE4) {
		theEvent = window.event;
		 if (theEvent.srcElement.contains(theEvent.toElement)
	  || (theEvent.fromElement.tagName=="IMG" && theEvent.toElement.contains(theEvent.fromElement)))
		  return;
		if (!keepHilite) {
			this.style.backgroundColor = this.container.menuBGColor;
			this.style.color = this.container.menuFontColor;
		}
	} else {
		if (!keepHilite) {
			this.bgColor = this.container.menuBGColor;
		}
		if (!isOverMenu) {
			allTimer = setTimeout("currentMenu.hideTree()",10); 
		}
	}
}
function moveTo(xPos,yPos) {
	this.style.pixelLeft = xPos;
	this.style.pixelTop = yPos;
}
function showIt(on) {
	if (NS4) {
		this.visibility = (on) ? "show" : "hide";
		if (keepHilite && this.currentItem) {
			this.currentItem.bgColor = this.menuBGColor;
		}
	} else {
		this.style.visibility = (on) ? "visible" : "hidden";
		if (keepHilite && this.currentItem) {
			with (this.currentItem.style) {
				backgroundColor = this.menuBGColor;
				color = this.menuFontColor;
			}
		}
	}
	this.currentItem = null;
}
function keepInWindow() {
	botScrBar = 5;
	if (NS4) {
		winBot = (window.pageYOffset + window.innerHeight) - botScrBar ;
		botPos = this.top + this.fullHeight;
	} else {
		winBot = (window.document.body.scrollTop + window.document.body.clientHeight) - botScrBar;
		botPos = this.style.pixelTop + this.fullHeight;
	}
	if (botPos > winBot) {
		dif = botPos - winBot;
		(NS4) ? (this.top -= dif) : (this.style.pixelTop -= dif);
	}
//	status = ("this.style.pixelTop = "+ this.style.pixelTop +", botPos = "+ botPos);
}
function linkIt() {
	if (this.linkText.indexOf("javascript:")!=-1) eval(this.linkText)
	else window.location.href = this.linkText;
}
function popDown(menuName){
	if (!isLoaded || !areCreated) return;
	whichEl = eval(menuName);
	setTimeout("whichEl.hideTop();whichEl.isOn = false;",10);
}
function hideAll() {
	for(i=1; i<topCount; i++) {
		temp = eval("elMenu" + i + ".startChild");
		temp.isOn = false;
		temp.showIt(false);
	}   
}
function hideTree() { 
	allTimer = null;
	if (isOverMenu) return;
	this.hideParents();
}
function hideTop() {
	whichTop = this;
	this.hideTimer = setTimeout("if(whichTop.hideSelf)whichTop.hideSelf()",mSecsVis);
}
function hideSelf() {
	this.hideTimer = null;
	if (!this.isOn && !isOverMenu) { 
		this.showIt(false);
	}
}
function hideParents() {
	tempMenu = this;
	while (tempMenu.hasParent) {
		tempMenu.showIt(false);
		tempMenu.parentMenu.isOn = false;      
		tempMenu = tempMenu.parentMenu;
	}
	tempMenu.hideTop();
}
function cancelSelect(){return false}
function reDo(){
	if (loader.innerWidth==origWidth && loader.innerHeight==origHeight) return;
	initVars();
	NSresized=true;
	window.location.reload();
}
function clicked() {
	if (!isOverMenu && currentMenu!=null && !currentMenu.isOn) {
		whichEl = currentMenu;
		whichEl.hideTree();
	}
}
//window.onerror = handleErr;
function handleErr(){
	arAccessErrors = ["permission","access"];
	mess = arguments[0].toLowerCase();
	found = false;
	for (i=0;i<arAccessErrors.length;i++) {
		errStr = arAccessErrors[i];
		if (mess.indexOf(errStr)!=-1) found = true;
	}
	return found;
}
//end



//this is for the "button" rollovers
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

//-->