var schieber_index=1;
var subN=1;
var schieber_index2=0;


function sub_all(nr){

if (schieber_index!=nr){
	$('.subcontent').hide('fast', function() {
	});
	$('div').removeClass('activ');
	$('#subcon'+nr).show(500 ,function() {
	$('#su_i'+nr).addClass('activ');
 	});
	schieber_index=nr;   
	}
}

/*
$(document).ready(function() {
  	$('#schieber_button').animate({
 		width: "20px",
 		}, 500, function() {
  });
  	$('#schieber_button2').animate({
  		width: "20px",
 		 }, 500, function() {
  });
  });

//schieber start
function show_schieber(){
$('#schieber').animate({
  width: "600px",
  }, 500, function() {
		$('#schieber_content').fadeIn('fast', function() {
}); });
}



//schieber 2 start
function show_schieber2(){

if(schieber_index2==0){

$('#schieber2').animate({
  width: "600px",
  }, 500, function() {
 
$('#schieber_content2').fadeIn('slow', function() {
        schieber_index2=1;
      }); 
 });
}
else{
 $('#schieber_content2').fadeOut('fast', function() {
         $('#schieber2').animate({
  width: "0px",
  }, 500, function() {
      }); 
     });
     schieber_index2=0;
}
}

*/




