/*############################################################################
plus over minus for ldpost support
############################################################################*/

<!--BEGIN Script
minus=new Image;
minus.src="minus.gif";
plus=new Image;
plus.src="plus.gif";

var NS = (navigator.appName.indexOf("Netscape")!=-1);
var MS = (navigator.appName.indexOf("Microsoft")!=-1);
var VER=parseInt(navigator.appVersion);
var CSS=((MS&&VER>=4)||(NS&&VER>=5));
var IE4=(MS&&VER==4);

function expand(el) {
	if ( !CSS ) return;
	if ( IE4 ) {
		whichEl = eval("d" + el);
		whichIm = eval("i" + el);
	} else {
		whichEl = document.getElementById("d" + el);
		whichIm = document.getElementById("i" + el);
	}
	if (whichEl ) {
		if ( whichEl.style.display != "block") {
			whichEl.style.display = "block";
			whichIm.src ="minus.gif";
		} else {
			whichEl.style.display = "none";
			whichIm.src ="plus.gif";
		}
	}
}

function OpenEl(el) {
	if ( !CSS ) return;
	if ( IE4 ) {
		whichEl = eval("d" + el);
		whichIm = eval("i" + el);
	} else {
		whichEl = document.getElementById("d" + el);
		whichIm = document.getElementById("i" + el);
	}
	if (whichEl ) {
		whichEl.style.display = "block";
		whichIm.src ="minus.gif";
	}
}

function CloseEl(el) {
	if ( !CSS ) return;
	if ( IE4 ) {
		whichEl = eval("d" + el);
		whichIm = eval("i" + el);
	} else {
		whichEl = document.getElementById("d" + el);
		whichIm = document.getElementById("i" + el);
	}
	if (whichEl ) {
		whichEl.style.display = "none";
		whichIm.src ="plus.gif";
	}
}

function OpenPopupWindow(winname, w, h) {
	popupwin = window.open("", winname,"height=" + h + ",width=" + w + ",toolbar=no,scrollbars=yes,directories=no,status=no,menubar=no,resizable=yes");
	popupwin.window.focus();
}
// -->