function dropInfo(blockid,otherid,image,otherimage,imagedir)
{
	
	if(document.getElementById(blockid).style.display=='block')
	{
		document.getElementById(blockid).style.display='none';
		image.src=imagedir+'arrow_down.gif';
	}
	else
	{
		document.getElementById(blockid).style.display='block';
		image.src=imagedir+'arrow_right.gif';
		if (otherid!='none' && otherid!='')
		{
			if (document.getElementById(otherid).style.display=='block')
			{
				document.getElementById(otherid).style.display='none';
				otherimage.src=imagedir+'arrow_down.gif';
			}
		}
	}
}

function trigger_effect(src_element, div_id, first_img, second_img){
    Effect.toggle(div_id, 'slide', {duration: 0.5,
        afterFinish:function(){
            src_element.src = src_element.src.match(first_img) ? second_img : first_img;
        }
    });
    return true;
}
