function AddButton(sPosition, sText) {
	var objNew = document.createElement("<div>");
	var oGroup = onew.children;
	var x;
	for (x=0;x<oGroup.length;x++){
		if (oGroup.item(x).id == sPosition) { 
			var oRef = oGroup.item(x);
		}
	}
	onew.insertBefore(objNew, oRef);
	objNew.className = "clsOrgShadow";
	objNew.attachEvent("onmouseover",MouseOverEffect);
	objNew.attachEvent("onmouseout",MouseOutEffect);
	objNew.innerText = sText;
}

function RemoveButton(sID) {
	var oRef = document.getElementById(sID);
	oRef.style.display = "none";
}

function MouseOverEffect(className) {
	var strTag = window.event.srcElement.tagName;
	var intTagSubscript = window.event.srcElement.sourceIndex;
	if (strTag == "DIV" || strTag == "SPAN") {
	    document.all(intTagSubscript).className=className;
	}
}

function MouseOutEffect(className) {
	var strTag = window.event.srcElement.tagName;
	var intTagSubscript = window.event.srcElement.sourceIndex;
	if (strTag == "DIV" || strTag == "SPAN") {
	    document.all(intTagSubscript).className=className;
	}
}