function popUp(pPage, winw, winh)
{  var winOpts = 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=' + winw + ',height=' + winh;
   popUpWin = window.open(pPage,'popWin',winOpts);
   if (parseInt(navigator.appVersion) >= 4)
     { popUpWin.window.focus();
     }
}

function initMenus() {
	var bc = document.getElementById('menu');
	if( !bc ) {} else { selfLinkbc('menu'); }
}

function selfLinkbc(bcRootElement) {
	var bcClass = 'thispage'
	if(!document.getElementsByTagName||!document.childNodes) { return; }

	bcRootElement = document.getElementById(bcRootElement);

	var ifindex = location.href;
	ifindex = ifindex.replace(/index.cfm/,"");

	for( var x = 0, y = bcRootElement.getElementsByTagName('a'); y[x]; x++ ) {

		if( y[x].getAttribute('href')  && ( location == y[x].getAttribute('href') || ifindex == y[x].getAttribute('href') )) {
			y[x].className = (y[x].className?(y[x].className+' '):'') + bcClass;
		} 
	}
}

if (window.attachEvent) window.attachEvent("onload", initMenus);