// JavaScript Document
$(function() {
	$('.contentonefaq').animate({ height: 'hide', opacity: 'hide' }, 'slow');
	$('#contentonefaq_'+faq_id).animate({ height: 'show', opacity: 'show' }, 100);
	
	var onefaq = $('.oneFAQ');
	onefaq.click(function(){
		var thisid = this.id;
		var thisid_ret = thisid.split("_");
		if($('#contentonefaq_'+thisid_ret[1]).is(':visible')) {
			
			$('.contentonefaq').slideUp();
			$('.slot').html('[+]');
			$('#contentonefaq_'+thisid_ret[1]).animate({ height: 'hide', opacity: 'hide' }, 100);
			$('#slot_'+thisid_ret[1]).html('[+]');
		}
		else{
			
			$('.contentonefaq').slideUp();
			$('.slot').html('[+]');
			$('#contentonefaq_'+thisid_ret[1]).animate({ height: 'show', opacity: 'show' }, 100);
			$('#slot_'+thisid_ret[1]).html('[- ]');
		}		
	});	
});      
