// JavaScript Document


// Changes the background of the DIV from one color, to another, to another.
// Example:
// onclick="MM_effectHighlight(this, 500, '#000000', '#999999', '#000000', false)"
// This will change the background of the DIV from #000000 to #999999 and then back to #000000 over 500 miliseconds.

function MM_effectHighlight(targetElement, duration, startColor, endColor, restoreColor, toggle)
{
	Spry.Effect.DoHighlight(targetElement, {duration: duration, from: startColor, to: endColor, restoreColor: restoreColor, toggle: toggle});
}




function MM_effectAppearFade(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}




function showhide(ob) {
	if (document.getElementById(ob).style.display == "none") { 
		document.getElementById(ob).style.display = "block"; 
	}
	else { 
		document.getElementById(ob).style.display = "none"; 
	}
}

function hideob(ob) {
	if (document.getElementById(ob).style.display == "block") { 
		document.getElementById(ob).style.display = "none"; 
	}
}
