var schieber_index=0;
var schieber_index2=0;
var schieber_index3=0;
var schieber_index4=0;
var schieber_index5=0;

$(document).ready(function() {
 


  	$('.t_partner').animate({
  		 opacity: 0
 		 }, 1, function() {
  });

 

  });

//schieber start
function show_schieber(){

if(schieber_index==0){



$('#schieber').animate({
  width: "650px"
  }, 500, 'easeOutBack', function() {
 
$('#schieber_content').fadeIn('slow', function() {
        schieber_index=1;
      }); 
 });
 $('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02_open.png)"); 
}

else{
$('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02.png)");

 $('#schieber_content').fadeOut('fast', function() {
         $('#schieber').animate({
  width: "0px"
  }, 500, 'easeOutBack', function() {
      }); 
     });
     schieber_index=0;
}
}

function show_schieber2(){

if(schieber_index2==0){

$('#schieber2').animate({
  width: "650px"
  }, 500, 'easeOutBack', function() {
 
$('#schieber_content2').fadeIn('slow', function() {
        schieber_index2=1;
      }); 
 });
 $('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02_open.png)"); 
}

else{
$('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02.png)");
 $('#schieber_content2').fadeOut('fast', function() {
         $('#schieber2').animate({
  width: "0px"
  }, 500, 'easeOutBack', function() {
      }); 
     });
     schieber_index2=0;
}
}



function show_schieber3(){

if(schieber_index3==0){

$('#schieber3').animate({
  width: "650px"
  }, 500, 'easeOutBack', function() {
 
$('#schieber_content3').fadeIn('slow', function() {
        schieber_index3=1;
      }); 
 });
 $('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02_open.png)"); 
}

else{
$('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02.png)");
 $('#schieber_content3').fadeOut('fast', function() {
         $('#schieber3').animate({
  width: "0px"
  }, 500, 'easeOutBack', function() {
      }); 
     });
     schieber_index3=0;
}
}

function show_schieber4(){

if(schieber_index4==0){

$('#schieber4').animate({
  width: "650px"
  }, 500, 'easeOutBack', function() {
 
$('#schieber_content4').fadeIn('slow', function() {
        schieber_index4=1;
      }); 
 });
 $('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02_open.png)"); 
}

else{
$('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02.png)");
 $('#schieber_content4').fadeOut('fast', function() {
         $('#schieber4').animate({
  width: "0px"
  }, 500, 'easeOutBack', function() {
      }); 
     });
     schieber_index4=0;
}
}


function show_schieber5(){

if(schieber_index5==0){

$('#schieber5').animate({
  width: "650px"
  }, 500, 'easeOutBack', function() {
 
$('#schieber_content5').fadeIn('slow', function() {
        schieber_index5=1;
      }); 
 });
 $('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02_open.png)"); 
}

else{
$('.schieber_button').css("background-image","url(img/TPD_Schieber_25x520_02.png)");
 $('#schieber_content5').fadeOut('fast', function() {
         $('#schieber5').animate({
  width: "0px"
  }, 500, 'easeOutBack', function() {
      }); 
     });
     schieber_index5=0;
}
}

//Partner


function p_in(div){
/*
$(div).animate({
  		 opacity: 0.00,
 		 }, "fast", function() {
  });
  */
}

function p_out(div){
/*
$(div).animate({
  		 opacity: 0.60,
 		 }, "fast", function() {
  });
  */
}






