function init() {
	M=false;
	N=false;
	if (navigator.appName.slice(0,1)=='N')
		N=true;
	else
		M=true;
	cm=null;
	document.onmouseover=menuControl;
	document.onmouseout=checkHide;
	window.event.cancelBubble=true;
}

function getPos(el,sProp) {
	var iPos=0;
	while (el!=null) {
		if (el.tagName!='A') iPos+=el["offset"+sProp];
		el = el.offsetParent;
	}
	return iPos;
}

function show(el,m) {
	with (m.style) {
		display='';
		left=getPos(el,"Left");
		top=getPos(el,"Top")+el.offsetHeight;
	}
	if ((m!=cm) && (cm!=null))
		cm.style.display='none';
	cm=m;
}

function hide() {
	if (cm!=null)
		cm.style.display='none';
	cm=null;
}

function menuControl(e) {
	if (N) es=e.target;
	if (M) es=event.srcElement;
	esi=es.id;
	if (esi==void 0) {
		es=es.parentNode;
		esi=es.id;
	}
	//if( es.id != '') confirm("Area ID = " + es.id);
	es1=esi.substring(0,1);
	if (es1=='d')
		show(es,document.getElementById('sd'+esi.substring(1,2)));
	if (es1=='B')
		hide();
}

function checkHide(e) {
	if (N) es=e.target;
	if (M) es=event.srcElement;
	esi=es.id;
	if (esi==void 0) {
		es=es.parentNode;
		esi=es.id;
	}
	//if( es.id != '') confirm("Hide? ID = " + es.id);
	es1=esi.substring(0,2);
	if (es1=='sd')
		hide();
}


document.write("\
\
<div id='sd1' style='display:none'> \
	<li><a class='pulldown' href='about.html#company'>Company</a></li><br/> \
	<li><a class='pulldown' href='about.html#biography'>Biography</a></li><br/> \
	<li><a class='pulldown' href='about.html#education'>Education</a></li><br/> \
	<li><a class='pulldown' href='http://www.candlelightsoftware.com/docs/resume.doc'>Resume</a></li><br/> \
	<li><a class='pulldown' href='about.html#terms'>Terms</a></li><br/> \
	<li><a class='pulldown' href='about.html#availability'>Availability</a></li> \
</div> \
\
<div id='sd2' style='display:none'> \
	<li><a class='pulldown' href='expertise.html#technology'>Technology</a></li><br/> \
	<li><a class='pulldown' href='expertise.html#tools'>Tools     </a></li><br/> \
	<li><a class='pulldown' href='expertise.html#methodology'>Methodology</a></li><br/> \
	<li><a class='pulldown' href='expertise.html#management'>Project Mngmnt</a></li><br/> \
	<li><a class='pulldown' href='expertise.html#executive'>Executive</a></li> \
</div> \
\
<div id='sd3' style='display:none'> \
	<li><a class='pulldown' href='architecture.html#arch1'>Struts+EJB+XDoclet</a></li><br/> \
	<li><a class='pulldown' href='architecture.html#arch2'>XML Directed</a></li><br/> \
	<li><a class='pulldown' href='architecture.html#arch3'>JSP+EJB</a></li><br/> \
	<li><a class='pulldown' href='architecture.html#arch4'>JSP+JavaBeans</a></li><br/> \
	<li><a class='pulldown' href='architecture.html#arch5'>JSP</a></li> \
</div> \
\
<div id='sd4' style='display:none'> \
	<li><a class='pulldown' href='orion-cocoon.html'>Cocoon Orion</a></li><br/> \
	<li><a class='pulldown' href='oracle_oc4j-cocoon.html'>Cocoon Oracle</a></li><br/> \
	<li><a class='pulldown' href='orion-axis.html'>Axis Orion</a></li><br/> \
	<li><a class='pulldown' href='jboss_net-xdoclet.html#jboss-net'>JBoss-Net+XDoclet</a></li><br/> \
	<li><a class='pulldown' href='xtp.html'>XML Transformer Pages</a></li><br/> \
</div> \
\
<div id='sd5' style='display:none'> \
	<li><a class='pulldown' href='http://www.xml.com/pub/a/2002/07/10/cocoon2.html'>Apache Cocoon</a></li><br/> \
	<li><a class='pulldown' href='http://www.oetrends.com/cgi-bin/page_display.cgi?135'>XML Database</a></li><br/> \
	<li><a class='pulldown' href='http://www.xml.com/pub/a/2003/01/22/cocoon-excel.html'>Excel Reports</a></li><br/> \
	<li><a class='pulldown' href='http://www.bluepattern.com/articles/CocoonAndExcel.html'>JXReports</a></li><br/> \
	<li><a class='pulldown' href='http://webservices.xml.com/pub/a/ws/2003/03/18/cocoon.html'>SOAP Services</a></li><br/> \
	<li><a class='pulldown' href='http://www.xml.com/pub/a/2003/04/02/xsltc.html'>Fast XSLT</a></li><br/> \
	<li><a class='pulldown' href='http://www.xml.com/pub/a/2003/04/23/cocoon-magazine.html'>Online Magazines</a></li><br/> \
	<li><a class='pulldown' href='http://www.x2ee.org/ehtml-whitepaper.html'>X2EE</a></li> \
	<li><a class='pulldown' href='http://servlet.java.sun.com/javaone/sf2003/conf/bofs/display-2319.en.jsp'>XTP</a></li> \
</div> \
<div id='sd6' style='display:none'> \
	<li><a class='pulldown' href='smartware.doc'>Smartware</a></li> \
</div> \
");
