$(document).ready(function() {


//Hide (Collapse) the toggle containers on load
$("li.faq h3").next().hide();

//Switch the "Open" and "Close" state per click
	$("li.faq h3").toggle(function(){
		$(this).children().addClass("opened");
		}, function () {
		$(this).children().removeClass("opened");
	});

	//Slide up and down on click
	$("li.faq h3").click(function(e){
		$(this).next().slideToggle("fast");
		$("li.faq h3").children().click(function(e){
		e.preventDefault()});
	});
	



//Drop down for Language
//$("div#local").hide();

//Slide up and down on click
	$("li#language").click(function(e){
		$(this).find("div#local").css("display","block");
		e.preventDefault();
	});

	$('div#local').mouseleave(function() {
		$(this).css("display","none");

	});
/*
$("a.clickr").each(function (i){

var link = $(this).attr('href');
alert("link");
$(this).next().next().next(".sIFR-flash").click(function(e){
	$(this).attr({'href',link})
	alert("clicked");
});

*/

$("ul#divTabContainer li.tab:first-child").addClass("tabOn");
$("ul#divTabContainer li.tab:first-child a").css("color" , "#fff");
		     

});
 	
 
 



