/*

IE Expandable Navigation 1.0

*/

// ---------------------------------------

  function setCookie(name, value)
  { 
    if (value != null && value != "")
      document.cookie=name + "=" + escape(value) + "; path=/";
    varCookie = document.cookie;
  }

// ---------------------------------------

function FolderInit(){
	tempColl = document.all.tags("DIV");
	for (i=0; i<tempColl.length; i++) {
		if (tempColl(i).className == "child") tempColl(i).style.display = "none";
	}
}

// ---------------------------------------

function AnalyzeDoc() {

divString = "";
divCol = document.all.tags("DIV");

for(tmp1=0; tmp1<divCol.length; tmp1++) {
	if(divCol[tmp1].style.display=="block") {
		if(divCol[tmp1].id!="") { 
			divString += divCol[tmp1].id + "~|";
		}
	}
}

setCookie("Oreo", divString);

}

// ---------------------------------------

function FolderExpand($1, $2) {

	ExpandChild = eval($1 + "Child");

	if (ExpandChild.style.display == "none") {
		ExpandChild.style.display = "block";
	}
	else {
		ExpandChild.style.display = "none";
	}
	
	if ($2=="AnalyzeDoc") {
		AnalyzeDoc();
	}
}

// ---------------------------------------

function FolderOpen($1, $2) {

	ExpandChild = eval($1 + "Child");

	ExpandChild.style.display = "block";
	
}

// ---------------------------------------

with (document) {
	write("<STYLE TYPE='text/css'>");
		write(".parent { font: 12px/13px; Times; text-decoration: none; color: black }");
		write(".child { font:12px/13px Times; display:none }");
	        write(".item { color: black; text-decoration:none; cursor: hand }");
	        write(".highlight { color: blue; text-decoration:none }");
	        write(".icon { margin-right: 5 }")
	write("</STYLE>");
}

