 var bV=parseInt(navigator.appVersion);
 NS4=(document.layers) ? true : false;
 IE4=((document.all)&&(bV>=4))?true:false;
 ver4 = (NS4 || IE4) ? true : false;
 function expandIt()
  { return }

 isExpanded = false;
 function initIt()
  { tempColl = document.all.tags("DIV");
    for (i=0; i<tempColl.length; i++)
     { if (tempColl(i).className == "child") tempColl(i).style.display = "none";
     }
  }
function expandIt(el, cat){
	//if (!ver4) return;
	expandIE(el, cat);
}
function expandFaq(el){
	//if (!ver4) return;
	whichEl = eval(el + "Child");
	if (whichEl.style.display == "none"){
		whichEl.style.display = "block";
	}else{
		whichEl.style.display = "none";
	}
}
function expandAll(){
	if (!ver4) return;
	tempColl = document.all.tags("DIV");
	for (i=0; i<tempColl.length; i++){
		if (tempColl(i).style.display == "none" && tempColl(i).className == "parent"){
			tempColl(i).style.display = "block";
		}else if(tempColl(i).style.display == "block" && tempColl(i).className == "parent"){
			tempColl(i).style.display = "none";
		}
	}
//	if (whichEl.style.display == "none"){
//		whichEl.style.display = "block";
//	}else{
//		whichEl.style.display = "none";
//	}
}
function expandIE(el, cat, where){
	whichEl = MM_findObj(el + "Child");
	whichIm = MM_findObj(el + "Image");
	whichIf = MM_findObj(el + "Iframe");
//	alert(whichIf.location);
	
	if (whichEl.style.display == "none"){
		whichEl.style.display = "block";
		whichIm.src = "/pic/minus.gif";
		if(NS4){
			if(whichIf.src == 'about:blank'){
				whichIf.src = '/'+where+'/items/'+cat+'/';
			}
		} else {
			if(whichIf.location == 'about:blank'){
				whichIf.location = '/'+where+'/items/'+cat+'/';
			}else if(whichIf.src == 'about:blank'){
				whichIf.src = '/'+where+'/items/'+cat+'/';
			}
		}
	} else {
		whichEl.style.display = "none";
		whichIm.src = "/pic/plus.gif";
//		whichIf.location.href = 'about:blank';
	}
}

function expandIEnow(cat, where){
	if(NS4){
		document.src = '/'+where+'/'+cat+'/';
	} else {
		document.location = '/'+where+'/'+cat+'/';
	}
}

 with (document)
  { write("<STYLE TYPE='text/css'>");
    write(".child {display:none}")
    write(".childo{display:block}")
    write("</STYLE>");
  }
 onload = initIt;

