// clothes
$(document).ready(function(){
        $('.clothesgrid.captionfull').hover(function(){
	$(".cover", this).stop().animate({top:'130px'},{queue:false,duration:160});
	}, function() {
        $(".cover", this).stop().animate({top:'240px'},{queue:false,duration:160});
	}); 
});

// models
$(document).ready(function(){
        $('.modelsgrid.captionfull').hover(function(){
	$(".cover", this).stop().animate({top:'100px'},{queue:false,duration:160});
	}, function() {
        $(".cover", this).stop().animate({top:'240px'},{queue:false,duration:160});
	}); 
});


// newshover
$(document).ready(function(){
        $(".newshover").fadeTo("fast", 0.7);		  		
        $(".newshover").hover(function(){
        $(this).fadeTo("fast", 1.0); 
        },function(){
        $(this).fadeTo("fast", 0.7); 
});
});

// modelthumbs
$(document).ready(function(){
        $(".modelthumb img").fadeTo("fast", 1.0);		  		
        $(".modelthumb img").hover(function(){
        $(this).fadeTo("fast", 0.8); 
        },function(){
        $(this).fadeTo("fast", 1.0); 
});
});

// tabels
$(document).ready(function() {
         $("th").css("border-bottom", "solid 1px #34393d");
         $("th").css("color", "#fcfbcb");
         $("tr:odd").css("background-color", "#191a1c");
         $("tr:odd").css("color", "#eee");
         $("tr:even").css("background-color", "#000");

}); 

// topnavigation
$(document).ready(function(){
        $('#topnavigation a').not('.selected').hoverImages();
        $('a.topnavigationbtn').hoverImages();     
});

// hoverfunction
jQuery.fn.hoverImages = function() { 
       this.hover(function() { $(this).find('img').each(function()
       { this.src = this.src.replace('_off', '_on'); }); $ (this).addClass('hover'); }, function() { $
       (this).find('img').each(function() { this.src = this.src.replace('_on', '_off'); }); $(this).removeClass('hover'); 
        }); 
}
