// Dil Indir - kaldir

            $(document).ready(function(){

                $("#langLink").click(function(){
                    if ($("#lang_list").is(":hidden")){
                        $("#lang_list").slideDown("slow");
                    }
                    else{
                        $("#lang_list").slideUp("slow");
                    }
                });
                
            });
            
            function closeForm(){
                setTimeout('$("#lang_list").slideUp("slow")', 2000);
           }

// Slideshow Basla index


// Slideshow Basla Ürünler
function slideSwitch() {
    var $active = $('#productsSlide IMG.active');

    if ( $active.length == 0 ) $active = $('#productsSlide IMG:last');

    // use this to pull the images in the order they appear in the markup
    var $next =  $active.next().length ? $active.next()
        : $('#productsSlide IMG:first');

    // uncomment the 3 lines below to pull the images in random order
    
    // var $sibs  = $active.siblings();
    // var rndNum = Math.floor(Math.random() * $sibs.length );
    // var $next  = $( $sibs[ rndNum ] );


    $active.addClass('last-active');

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 5000 );
});



// Form_focus

	$(document).ready(function() {
		$('.newsLetterForm').click(
			function() {
				if (this.value == this.defaultValue) {
					this.value = '';
				}
			}
		);
	$('.newsLetterForm').blur(
		function() {
			if (this.value == '') {
				this.value = this.defaultValue;
			}
		}
	);
	});

// Sag Tus Kaldir

$(document).ready(function(){
    $(document).bind("contextmenu",function(e){
        return false;
    });
});

