// JavaScript Document
$(document).ready(function() {									
	$("a[name^='faq-']").each(function() {
		$(this).click(function() {
			//close others that are opened
			for(x=0;x<8;x++){
				if(("faq-" + x) == this.name){
					//set the stel
				}else{
					//hide the others
					if( $("#faq-" + x).is(':hidden')) {//do nothing is already hidden
					//} else {
						$("#faq-" + x).fadeOut('slow');
					}
				}
			}
			if( $("#" + this.name).is(':hidden')) {
				$("#" + this.name).fadeIn('slow');
			} else {
				$("#" + this.name).fadeOut('slow');
			}			
			return false;
		});
	});
});