// JavaScript Document


function openFaq(str_slideElement, obj_thisElement)
{
	var currObj = document.getElementById(str_slideElement);

	if(!currObj.openFaqSlide)
	{
		currObj.openFaqSlide = new Spry.Effect.Slide(str_slideElement, {duration: 600, from: '0%', to: '100%', toggle: true});
	}
	currObj.openFaqSlide.start();

	if(openFaq.lastOpenFaqObj)
	{
		if(openFaq.lastOpenFaqObj.id == str_slideElement)
		{
			obj_thisElement.firstChild.src = 'img/bt_plus.gif';
			delete openFaq.lastOpenFaqObj;
		} else {
			openFaq.lastOpenFaqObj.openFaqSlide.start();
			openFaq.lastOpenFaqObj = currObj;
			obj_thisElement.firstChild.src = 'img/bt_minus.gif';
			openFaq.lastThisElementObj.firstChild.src  = 'img/bt_plus.gif';
		}

	} else {
		openFaq.lastOpenFaqObj = currObj;
		obj_thisElement.firstChild.src = 'img/bt_minus.gif';
	}
	openFaq.lastThisElementObj = obj_thisElement;
}