function ManagePTable(action,element) {
	if (element==current)  { return;}
	if (action=="MSE_OVR") { element.className="hover"; return;}
	if (action=="MSE_OUT") { element.className="item"; return; }
	if (action=="CLICK")   { expandText(element); }
}

function InitPTable(initial) {
	current="";
	tempColl=document.all.tags("div");
	for (i=0; i < tempColl.length; i++) {
		if (tempColl(i).className == "expandable") {
			tempColl(i).style.display="none";
		}
	}
	element=eval(initial);
	if (element) { expandText(element); }
}

function expandText(element) {
	if (current && current != element) {
		current.className="item";
		target=eval("disp_"+current.id);
		target.style.display="none"; 
	}
	target=eval("disp_"+element.id);
	target.style.display="block";
	if (document.getElementById("MainImg")) { 
		tempColl=target.all.tags("img");
		if (tempColl) { document.MainImg.src=element.src=tempColl(0).src; }
	} 
	element.className="active";
	current=element;
}
//	if (tempColl) { alert("collection NOT blank"); } else { alert("collection blank"); } 
//	alert("DIV Elements"+i+" Class="+tempColl(i).className+" ID="+tempColl(i).id);

