<!--
	// Returns the closest parent tag with tagName containing
	// the src tag. If no such tag is found - null is returned.
	function checkParent( src, tagName ) {
		while ( src != null ) {
			if (src.tagName == tagName)
				return src;
			src = src.parentElement;
		}
		return null;
	}

	// Returns the first tag with tagName contained by
	// the src tag. If no such tag is found - null is returned.
	function checkContent( src, tagName ) {
		var pos = src.sourceIndex ;
		while ( src.contains( document.all[++pos] ) )
			if ( document.all[pos].tagName == tagName )
				return document.all[pos] ;
		return null ;
	}

	// Handle onClick event in the outline box
	function outlineAction() {
		var src = event.srcElement ;
		var item = checkParent( src, "LI" ) ;
		if ( parent != null ) {
			var content = checkContent( item, "UL" ) ;
			if ( content != null )
				if ( content.style.display == "" )
					content.style.display = "block" ;
				else
					content.style.display = "" ;
		}
		event.cancelBubble = true;
	}
// -->

function high(which2){
theobject=which2;
highlighting=setInterval("highlightit(theobject)",50);
}
function low(which2){
clearInterval(highlighting);
which2.filters.alpha.opacity=20;
}

function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5;
else if (window.highlighting)
clearInterval(highlighting);
}
