function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function formAction(formName, action)
{
	$(formName).consequence.value = action
	$(formName).submit();
}
function uniFormAction(objFormName, strField, strAction)
{
	$(objFormName)[strField].value = strAction
	$(objFormName).submit();
}
if (document.getElementById('AdminDropMenu')) {
	sfHoverMain = function() {
		var sfEls = document.getElementById("AdminDropMenu").getElementsByTagName("LI");
		for (var i=0; i<sfEls.length; i++) {
			sfEls[i].onmouseover=function() {
				this.className+=" sfhovermain";
			}
			sfEls[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhovermain\\b"), "");
			}
		}
	}
	if (window.attachEvent) {
		window.attachEvent("onload", sfHoverMain);
	}
}
function highlight(objRow, strStyle)
{
	strAttributeName = (document.getElementById&&!document.all) ? 'class' : 'className';
	objRow.setAttribute(strAttributeName, strStyle);
}
function select(objForm, strItem)
{
	$(objForm).selected.value = strItem
	$(objForm).submit();
}
