// JavaScript Document
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

$(document).ready(function($) {
    /*  $('a[rel*=facebox]').facebox({
        loadingImage : 'src/loading.gif',
        closeImage   : 'src/closelabel.png'
      });*/
	   $('#gallery a').lightBox();
	   $('#gallery4 a').lightBox();
	   $('#gallery11 a').lightBox();
	   $('#gallery12 a').lightBox();
	   $('#gallery13 a').lightBox();
	   $('#gallery14 a').lightBox();
	   $('#gallery21 a').lightBox();
	   $('#gallery22 a').lightBox();
	   $('#gallery23 a').lightBox();
	   $('#gallery24 a').lightBox();
    });


jQuery(document).ready(function(){
	
	
	jQuery('#pocitadlo').load('pocitadlo.php');
	jQuery('#mycarousel').jcarousel({
		 
    });
	jQuery('#mycarousel2').jcarousel({
 	
    });
	jQuery('#mycarousel4').jcarousel({
 		
    });
	jQuery('#mycarousel11').jcarousel({
 		
    });
	jQuery('#mycarousel12').jcarousel({
 		
    });
	jQuery('#mycarousel13').jcarousel({
 	
    });
	jQuery('#mycarousel14').jcarousel({
 	
    });
	jQuery('#mycarousel21').jcarousel({
 		
    });
	jQuery('#mycarousel22').jcarousel({
 		
    });
	jQuery('#mycarousel23').jcarousel({
 	
    });
	jQuery('#mycarousel24').jcarousel({
 	
    });
	
	jQuery("#street2").hide();
	jQuery("#street").hide();
	jQuery("#gallery").animate({height: 0}, 1);
	jQuery("#gallery2").animate({height: 0}, 1);
	jQuery("#gallery3").animate({height: 0}, 1);
	jQuery("#gallery4").animate({height: 0}, 1);
	jQuery("#gallery11").animate({height: 0}, 1);
	jQuery("#gallery12").animate({height: 0}, 1);
	jQuery("#gallery13").animate({height: 0}, 1);
	jQuery("#gallery14").animate({height: 0}, 1);
	jQuery("#gallery21").animate({height: 0}, 1);
	jQuery("#gallery22").animate({height: 0}, 1);
	jQuery("#gallery23").animate({height: 0}, 1);
	jQuery("#gallery24").animate({height: 0}, 1);
	jQuery("#videodiv").hide();
	jQuery("#obal").hide();
	jQuery("#helma").fadeOut(3000, function (){
		jQuery("#obal").fadeIn(2000);
		jQuery("#street").fadeIn(2000);
		});
		
	  //--------------------------------------spray		
	jQuery("img.#spray").click(function(){
	 	if (jQuery("#street2").is(":visible")){
			jQuery("#gallery3").animate({height: 0}, 1000, function (){
				jQuery("img.#optik").show();
				jQuery("img.#tex").show();
				jQuery("img.#carrot").show();
				jQuery("img.#cig").show();
			});
			jQuery("#gallery4").animate({height: 0}, 500);
			jQuery("#gallery11").animate({height: 0}, 500);
			jQuery("#gallery12").animate({height: 0}, 500);
			jQuery("#gallery13").animate({height: 0}, 500);
			jQuery("#gallery14").animate({height: 0}, 500);
			jQuery("#gallery21").animate({height: 0}, 500);
			jQuery("#gallery22").animate({height: 0}, 500);
			jQuery("#gallery23").animate({height: 0}, 500);
			jQuery("#gallery24").animate({height: 0}, 500);			
			jQuery("#gallery2").animate({height: 0}, 500, function (){
				
				jQuery("#gallery").animate({height: 230}, 1000);
				
			});		
				
		} else {
			
			jQuery("#bridge").animate({left:110, top:0},"slow");
			jQuery("#lamp").animate({left:395, top:10},"slow");
				jQuery("#lamp").animate({opacity:0},"fast");
				jQuery("#street2").fadeIn("slow", function (){
				
					jQuery("#gallery").animate({height: 230}, 1000);
					
				});	
			jQuery("#videodiv").fadeOut("slow");
			jQuery("#news").fadeOut("slow");
			jQuery("#logos").fadeOut("slow");
			
			
		}	
	
	  }); //img.spray fce	
 
 

	 
	  
	  //--------------------------------------airbrush
	  
		 
	 jQuery("img.#airbrush").click(function(){
	 	if (jQuery("#street2").is(":visible")){
			jQuery("img.#optik2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			jQuery("img.#tex2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			jQuery("img.#carrot2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			jQuery("img.#cig2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			jQuery("#gallery3").animate({height: 0}, 1000, function (){
				jQuery("img.#optik").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#tex").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#carrot").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#cig").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			});
			jQuery("#gallery2").animate({height: 0}, 1000, function (){
				jQuery("img.#optik2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#tex2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#carrot2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#cig2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			});
			jQuery("#gallery4").animate({height: 0}, 500);
			jQuery("#gallery11").animate({height: 0}, 500);
			jQuery("#gallery12").animate({height: 0}, 500);
			jQuery("#gallery13").animate({height: 0}, 500);
			jQuery("#gallery14").animate({height: 0}, 500);
			jQuery("#gallery21").animate({height: 0}, 500);
			jQuery("#gallery22").animate({height: 0}, 500);
			jQuery("#gallery23").animate({height: 0}, 500);
			jQuery("#gallery24").animate({height: 0}, 500);
			
			jQuery("#gallery").animate({height: 0}, 500, function (){
				
				
				jQuery("#gallery2").animate({height: 230}, 1000);
				
			});		
				
		} else {
			
			jQuery("#bridge").animate({left:110, top:0},"slow");
			jQuery("#lamp").animate({left:395, top:10},"slow");
				jQuery("#lamp").animate({opacity:0},"fast");
				jQuery("#street2").fadeIn("slow", function (){
					
					jQuery("#gallery3").animate({height: 230}, 1000);
					
				});	
			jQuery("#videodiv").fadeOut("slow");	
			jQuery("#news").fadeOut("slow");
			jQuery("#logos").fadeOut("slow");
			
			
		}	
	
	  }); //img.works fce	
	  
 
	 	 //--------------------------------------works
		 
		
		 
	 jQuery("img.#works").click(function(){
	 	if (jQuery("#street2").is(":visible")){
			jQuery("img.#optik").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			jQuery("img.#tex").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			jQuery("img.#carrot").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			jQuery("img.#cig").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			jQuery("#gallery2").animate({height: 0}, 1000, function (){
				jQuery("img.#optik2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#tex2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#carrot2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#cig2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			});
			jQuery("#gallery4").animate({height: 0}, 500);
			jQuery("#gallery11").animate({height: 0}, 500);
			jQuery("#gallery12").animate({height: 0}, 500);
			jQuery("#gallery13").animate({height: 0}, 500);
			jQuery("#gallery14").animate({height: 0}, 500);
			jQuery("#gallery21").animate({height: 0}, 500);
			jQuery("#gallery22").animate({height: 0}, 500);
			jQuery("#gallery23").animate({height: 0}, 500);
			jQuery("#gallery24").animate({height: 0}, 500);			
			
			jQuery("#gallery").animate({height: 0}, 500, function (){
				
				
				jQuery("#gallery3").animate({height: 230}, 1000);
				
			});		
				
		} else {
			
			jQuery("#bridge").animate({left:110, top:0},"slow");
			jQuery("#lamp").animate({left:395, top:10},"slow");
				jQuery("#lamp").animate({opacity:0},"fast");
				jQuery("#street2").fadeIn("slow", function (){
					
					jQuery("#gallery3").animate({height: 230}, 1000);
					
				});	
			jQuery("#videodiv").fadeOut("slow");	
			jQuery("#news").fadeOut("slow");
			jQuery("#logos").fadeOut("slow");
			
			
		}	
	
	  }); //img.works fce	
	 
	//--------------------------------------actions
	 jQuery("img.#actions").click(function(){
	 	if (jQuery("#street2").is(":visible")){
			jQuery("#gallery3").animate({height: 0}, 1000, function (){
				jQuery("img.#optik").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#tex").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#carrot").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#cig").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			});
			jQuery("#gallery2").animate({height: 0}, 1000, function (){
				jQuery("img.#optik2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#tex2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#carrot2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#cig2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			});
			jQuery("#gallery11").animate({height: 0}, 500);
			jQuery("#gallery12").animate({height: 0}, 500);
			jQuery("#gallery13").animate({height: 0}, 500);
			jQuery("#gallery14").animate({height: 0}, 500);
			jQuery("#gallery21").animate({height: 0}, 500);
			jQuery("#gallery22").animate({height: 0}, 500);
			jQuery("#gallery23").animate({height: 0}, 500);
			jQuery("#gallery24").animate({height: 0}, 500);
			jQuery("#gallery").animate({height: 0}, 500, function (){
				
				
				jQuery("#gallery4").animate({height: 230}, 1000);
				
			});		
				
		} else {
			
			jQuery("#bridge").animate({left:110, top:0},"slow");
			jQuery("#lamp").animate({left:395, top:10},"slow");
				jQuery("#lamp").animate({height:0},"fast");
				jQuery("#street2").fadeIn("slow", function (){
					
					jQuery("#gallery4").animate({height: 230}, 1000);
					
				});	
			jQuery("#videodiv").fadeOut("slow");	
			jQuery("#news").fadeOut("slow");
			jQuery("#logos").fadeOut("slow");
			
			
		}	
	
	  }); //img.actions fce
	  
	  //----------------------------------home button
	  jQuery("img.#home").click(function(){
	  	if (jQuery("#street2").is(":visible")){
			
			jQuery("#gallery").animate({height: 0}, 500);
			jQuery("#gallery2").animate({height: 0}, 1000, function (){
				jQuery("img.#optik2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#tex2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#carrot2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#cig2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			});
			jQuery("#gallery3").animate({height: 0}, 1000, function (){
				jQuery("img.#optik").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#tex").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#carrot").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#cig").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			});
			jQuery("#gallery4").animate({height: 0}, 500);
			jQuery("#gallery11").animate({height: 0}, 500);
			jQuery("#gallery12").animate({height: 0}, 500);
			jQuery("#gallery13").animate({height: 0}, 500);
			jQuery("#gallery14").animate({height: 0}, 500);
			jQuery("#gallery21").animate({height: 0}, 500);
			jQuery("#gallery22").animate({height: 0}, 500);
			jQuery("#gallery23").animate({height: 0}, 500);
			jQuery("#gallery24").animate({height: 0}, 500);
			jQuery("#street2").fadeOut("slow");
			jQuery("#news").fadeIn("slow");
			jQuery("#logos").fadeIn("slow");
			jQuery("#lamp").fadeTo(0, 1);
			jQuery("#lamp").animate({left:295, top:145},"slow");
			jQuery("#bridge").animate({left:10, top:115},"slow");
			
			
		  } else {
			  jQuery("#videodiv").fadeOut("slow");
				jQuery("#logos").fadeIn("slow");
				jQuery("#news").fadeIn("slow");  
		  }
	  }); //img.home fce
	  
	   //----------------------------------video button
	  jQuery("img.#video").click(function(){
	  	if (jQuery("#street2").is(":visible")){
			
			jQuery("#gallery").animate({height: 0}, 1000 );
			jQuery("#gallery2").animate({height: 0}, 1000, function (){
				jQuery("img.#optik2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#tex2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#carrot2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#cig2").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			});
			jQuery("#gallery3").animate({height: 0}, 1000, function (){
				jQuery("img.#optik").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#tex").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#carrot").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
				jQuery("img.#cig").show(
			 function()
			 {
			  this.src = this.src.replace("2","1");
			 }
		);
			});
			jQuery("#gallery4").animate({height: 0}, 1000 );
			jQuery("#gallery11").animate({height: 0}, 500);
			jQuery("#gallery12").animate({height: 0}, 500);
			jQuery("#gallery13").animate({height: 0}, 500);
			jQuery("#gallery14").animate({height: 0}, 500);
			jQuery("#gallery21").animate({height: 0}, 500);
			jQuery("#gallery22").animate({height: 0}, 500);
			jQuery("#gallery23").animate({height: 0}, 500);
			jQuery("#gallery24").animate({height: 0}, 500);
				jQuery("#street2").fadeOut("slow");
				jQuery("#lamp").fadeTo(0, 1);
				jQuery("#lamp").animate({left:295, top:145},"slow");
				jQuery("#bridge").animate({left:10, top:115},"slow");
				//jQuery('#videodiv').load('video.html');
				jQuery("#videodiv").fadeIn("slow");
			
			
		  } else {
			  
			 jQuery("#news").fadeOut("slow");
			jQuery("#logos").fadeOut("slow"); 
			//jQuery('#videodiv').load('video.html');
			jQuery("#videodiv").fadeIn("slow");
			
			
			}
	  }); //img.video fce
	  
// ------------------------------------------------------------ profily
		$("img.#optik").hover(
			 function()
			 {
			  this.src = this.src.replace("0","1");
			 },
			 function()
			 {
			  this.src = this.src.replace("1","0");
			 }
		); 
		$("img.#optik").click(
			 function()
			 {
			  this.src = this.src.replace("1","2");
			 }
		);
		$("img.#tex").hover(
			 function()
			 {
			  this.src = this.src.replace("0","1");
			 },
			 function()
			 {
			  this.src = this.src.replace("1","0");
			
			 }
		); 
		$("img.#tex").click(
			 function()
			 {
			  this.src = this.src.replace("1","2");
			 }
		);
		$("img.#carrot").hover(
			 function()
			 {
			  this.src = this.src.replace("0","1");
			 },
			 function()
			 {
			  this.src = this.src.replace("1","0");
			 }
		); 
		$("img.#carrot").click(
			 function()
			 {
			  this.src = this.src.replace("1","2");
			 }
		);
		$("img.#cig").hover(
			 function()
			 {
			  this.src = this.src.replace("0","1");
			 },
			 function()
			 {
			  this.src = this.src.replace("1","0");
			 }
		); 
		$("img.#cig").click(
			 function()
			 {
			  this.src = this.src.replace("1","2");
			 }
		);

	jQuery("img.#optik").click(function(){	
		if (jQuery("img.#tex").is(":visible")) {
			jQuery("img.#tex").hide('slow');
			jQuery("img.#carrot").hide('slow');
			jQuery("img.#cig").hide('slow');
			jQuery("#gallery11").animate({height: 230}, 1500);
		}
		else {
			jQuery("#gallery11").animate({height: 0}, 200);
			jQuery("img.#tex").show('slow');
			jQuery("img.#carrot").show('slow');
			jQuery("img.#cig").show('slow');
			
		}
	 });  
	 jQuery("img.#tex").click(function(){	  
	 	if (jQuery("img.#optik").is(":visible")) {
			jQuery("img.#optik").hide('slow');
			jQuery("img.#carrot").hide('slow');
			jQuery("img.#cig").hide('slow');
			jQuery("#gallery12").animate({height: 230}, 1500);
		}
		else {
			jQuery("#gallery12").animate({height: 0}, 200);
			jQuery("img.#optik").show('slow');
			jQuery("img.#carrot").show('slow');
			jQuery("img.#cig").show('slow');
		}
	 }); 
	 jQuery("img.#carrot").click(function(){	  
	 	if (jQuery("img.#optik").is(":visible")) {
			jQuery("img.#optik").hide('slow');
			jQuery("img.#tex").hide('slow');
			jQuery("img.#cig").hide('slow');
			jQuery("#gallery13").animate({height: 230}, 1500);
		}
		else {
			jQuery("#gallery13").animate({height: 0}, 200);
			jQuery("img.#optik").show('slow');
			jQuery("img.#tex").show('slow');
			jQuery("img.#cig").show('slow');
		}
	 });
	 jQuery("img.#cig").click(function(){	  
	 	if (jQuery("img.#optik").is(":visible")) {
			jQuery("img.#optik").hide('slow');
			jQuery("img.#tex").hide('slow');
			jQuery("img.#carrot").hide('slow');
			jQuery("#gallery14").animate({height: 230}, 1500);
		}
		else {
			jQuery("#gallery14").animate({height: 0}, 200);
			jQuery("img.#optik").show('slow');
			jQuery("img.#tex").show('slow');
			jQuery("img.#carrot").show('slow');
		}
	 });

 // ------------------------------------------------------------ profily 2
		$("img.#optik2").hover(
			 function()
			 {
			  this.src = this.src.replace("0","1");
			 },
			 function()
			 {
			  this.src = this.src.replace("1","0");
			 }
		); 
		$("img.#optik2").click(
			 function()
			 {
			  this.src = this.src.replace("1","2");
			 }
		);
		$("img.#tex2").hover(
			 function()
			 {
			  this.src = this.src.replace("0","1");
			 },
			 function()
			 {
			  this.src = this.src.replace("1","0");
			 }
		); 
		$("img.#tex2").click(
			 function()
			 {
			  this.src = this.src.replace("1","2");
			 }
		);
		$("img.#carrot2").hover(
			 function()
			 {
			  this.src = this.src.replace("0","1");
			 },
			 function()
			 {
			  this.src = this.src.replace("1","0");
			 }
		); 
		$("img.#carrot2").click(
			 function()
			 {
			  this.src = this.src.replace("1","2");
			 }
		);
		$("img.#cig2").hover(
			 function()
			 {
			  this.src = this.src.replace("0","1");
			 },
			 function()
			 {
			  this.src = this.src.replace("1","0");
			 }
		); 
		$("img.#cig2").click(
			 function()
			 {
			  this.src = this.src.replace("1","2");
			 }
		);

	jQuery("img.#optik2").click(function(){	
		if (jQuery("img.#tex2").is(":visible")) {
			jQuery("img.#tex2").hide('slow');
			jQuery("img.#carrot2").hide('slow');
			jQuery("img.#cig2").hide('slow');
			jQuery("#gallery21").animate({height: 230}, 1500);
		}
		else {
			jQuery("#gallery21").animate({height: 0}, 200);
			jQuery("img.#tex2").show('slow');
			jQuery("img.#carrot2").show('slow');
			jQuery("img.#cig2").show('slow');
			tjQuery("img.#optik2").src = this.src.replace("2","1");
			
		}
	 });  
	 jQuery("img.#tex2").click(function(){	  
	 	if (jQuery("img.#optik2").is(":visible")) {
			jQuery("img.#optik2").hide('slow');
			jQuery("img.#carrot2").hide('slow');
			jQuery("img.#cig2").hide('slow');
			jQuery("#gallery22").animate({height: 230}, 1500);
		}
		else {
			jQuery("#gallery22").animate({height: 0}, 200);
			jQuery("img.#optik2").show('slow');
			jQuery("img.#carrot2").show('slow');
			jQuery("img.#cig2").show('slow');
		}
	 }); 
	 jQuery("img.#carrot2").click(function(){	  
	 	if (jQuery("img.#optik2").is(":visible")) {
			jQuery("img.#optik2").hide('slow');
			jQuery("img.#tex2").hide('slow');
			jQuery("img.#cig2").hide('slow');
			jQuery("#gallery23").animate({height: 230}, 1500);
		}
		else {
			jQuery("#gallery23").animate({height: 0}, 200);
			jQuery("img.#optik2").show('slow');
			jQuery("img.#tex2").show('slow');
			jQuery("img.#cig2").show('slow');
		}
	 });
	 jQuery("img.#cig2").click(function(){	  
	 	if (jQuery("img.#optik2").is(":visible")) {
			jQuery("img.#optik2").hide('slow');
			jQuery("img.#tex2").hide('slow');
			jQuery("img.#carrot2").hide('slow');
			jQuery("#gallery24").animate({height: 230}, 1500);
		}
		else {
			jQuery("#gallery24").animate({height: 0}, 200);
			jQuery("img.#optik2").show('slow');
			jQuery("img.#tex2").show('slow');
			jQuery("img.#carrot2").show('slow');
		}
	 });
 });
