function showHideDiv(div, status) {
   var target = document.getElementById(div);

   if(status != 0 || status != 1) {
		   if(target.style.display == 'none') target.style.display = 'block';
		   else target.style.display = 'none';
   } else if(status == 0) {
		   target.style.display = 'none';
   } else if(status == 1) {
		   target.style.display = 'block';
   }
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}

function validate_form ( )
{
    valid = true;

    if ( document.option_form.mandatory.selectedIndex == 0 )
    {
        alert ( "You must select one of the Mandatory options." );
        valid = false;
    }


    return valid;
}

function showHideDivOld(div, status) {
	var target = document.getElementById(div);
	
	if(status == 0){
		target.style.display = 'none';
	}
	else if(status == 1){
		target.style.display = 'block';
	}
}