$(document).ready(function()
{

  /* Anasayfa DivSqitcher Divi */

 /* $("#get_to_know").fadeIn("normal");*/
  /*$("#get_to_know").removeClass("hidden");*/
  /*$("#div_switcher li a.know").parent().addClass("active");*/
  $("#div_switcher li a.know").parent().addClass("active");

  $("#div_switcher li a").click(function()
  {
	$("#div_switcher li").removeClass("active");
	$(this).parent().addClass("active");
	$(this).blur();
  });

  $("#div_switcher li a").click(function()
  {
	$("div.splash").hide();
	/*$("div.splash").addClass("hidden");*/
	$(this).parent().addClass("active");
  });

  $("#div_switcher li a.know").click(function()
  {
	$("div#get_to_know").fadeIn("normal");
	/*$("div#get_to_know").removeClass("hidden");*/
  });

  $("#div_switcher li a.faq").click(function()
  {
	$("div#faq").fadeIn("normal");
	/*$("div#faq").removeClass("hidden");*/
  });

  $("#div_switcher li a.contact").click(function()
  {
	$("div#contact").fadeIn("normal");
	/*$("div#contact").removeClass("hidden");*/
  });

  $("#div_switcher li a.survey").click(function()
  {
	$("div#survey").fadeIn("normal");
	/*$("div#survey").removeClass("hidden");*/
  });

  $("a.details").click(function()
  {
	$("div.splash").hide();
	$("div#faq").fadeIn("normal");
	/*$("div#faq").removeClass("hidden");*/
	$("#div_switcher li").removeClass("active");
	$("#div_switcher li a.faq").parent().addClass("active");
	$(this).blur();
  });


  /* Anasayfa FAQ Divi */

  $("#faq_questions p").hide();

  $("#faq_questions a").click(function()
  {
	var htmlStr = $(this).next("p").html();
	var heStr = $(this).html();
	$("#answers h2").html(heStr);
	$("#answers p").html(htmlStr);
	$("#answers").hide();
	$("#answers").fadeIn("fast");
	$("#faq_questions a").removeClass("highlight");
	$(this).addClass("highlight");
  });
  
  $("#serviceform").validate();
  $("#contactform").validate();


});