function show(object) {
	var obj = MM_findObj(object);
	obj.style.visibility = 'visible';
}
function hide(object) {
	var obj = MM_findObj(object);
	obj.style.visibility = 'hidden';
}
//slidedown functions
var SDActive = false;
var contentHeight = false;
var SDSpeed = 20; // Higher value = faster script
var SDTimer = 3;	// Lower value = faster script

function slidedown_showHide(boxId){
	var obj = MM_findObj(boxId);
	var styleHeight = obj.clientHeight;
	var SDCurrentPosition = 0;
    SDCurrentPosition = 0 - styleHeight;
	obj.style.marginTop = SDCurrentPosition;	
	obj.style.visibility = 'visible';
	SDActive = true;
	slidedown_showHide_start(boxId,SDCurrentPosition);
}
function slidedown_showHide_start(boxId, SDCurrentPosition){
	if(!SDActive) return;
	SDCurrentPosition = SDCurrentPosition + SDSpeed;
	if(SDCurrentPosition>=0) SDActive = false;
	var obj = MM_findObj(boxId);
    obj.style.marginTop = SDCurrentPosition;	
	setTimeout('slidedown_showHide_start("' + boxId + '", '+ SDCurrentPosition +')',SDTimer);
 // Choose a lower value than 10 to make the script move faster
}
function slidedown_reset(boxId){
	var obj = MM_findObj(boxId);
    obj.style.marginTop=0;
	obj.style.visibility = 'hidden';
    contentHeight = false;
    SDCurrentPosition=0;
    SDStartOffset=0;
}
