// JavaScript Document



$(document).ready(function()
{
	
/* vav ie6 control */
isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest;


if (isIE6) {
			$('.topAreaSubmenu').addClass('menuIE6');
			
			//slider
			$('.homeBanners').addClass('homeIE6');
			$('.footerCon').addClass('footerIE6');
			
			//yeni slider											
			$('.slideArea').addClass('slideIE6');		
			
			
			
			$('.pfCenter').addClass('contentIE6');						
}


if($.browser.msie )
{
if($.browser.version==7.0 | $.browser.version==8.0 )
{
$('.topAreaSubmenuLeft').css("background", "url(img/shadowLeft.png) #ffffff repeat-y");
$('.topAreaSubmenuRight').css("background", "url(img/shadowRight.png) #ffffff repeat-y");

}
}




/* nav ie6 control */




/* top nav */
function closeNav()
{
	$('.subSortiment').fadeOut(400);	
	$('.subKatzenverhalten').fadeOut(400);	
	$('.subRatgeber').fadeOut(400);
	$('.subPhilosophie').fadeOut(400);
	$('.subExpertise').fadeOut(400);
	$('.subExtras').fadeOut(400);	
}


$('.rootContainer, #closeMe').mouseover(function()
{
//timer=setTimeout(closeNav(),5000);
//clearTimeout(timer);	
closeNav();
$('.forMenuHover').css("display","none");
})


$('.navLinks').mouseover(function()
{
$('.forMenuHover').css("display","block");

});


$('.forMenuHover').mouseover(function()
{
$('.forMenuHover').css("display","none");

});


$('.topAreaSubmenu').mouseout(function()
{
$('.forMenuHover').css("display","none");

});

$('.topAreaSubmenu').mouseover(function()
{
$('.forMenuHover').css("display","block");

});






$('.btn2').mouseover(function(){
	$('.subSortiment').fadeIn(300);
		
	$('.subKatzenverhalten').fadeOut(300);	
	$('.subRatgeber').fadeOut(300);
	$('.subPhilosophie').fadeOut(300);
	$('.subExpertise').fadeOut(300);
	$('.subExtras').fadeOut(300);	

});
$('.btn3').mouseover(function(){
	$('.subKatzenverhalten').fadeIn(300);
	
	$('.subSortiment').fadeOut(300);		
	$('.subRatgeber').fadeOut(300);
	$('.subPhilosophie').fadeOut(300);
	$('.subExpertise').fadeOut(300);
	$('.subExtras').fadeOut(300);	

});
$('.btn4').mouseover(function(){
	$('.subPhilosophie').fadeIn(300);
	
	$('.subSortiment').fadeOut(300);	
	$('.subKatzenverhalten').fadeOut(300);	
	$('.subRatgeber').fadeOut(300);
	$('.subExpertise').fadeOut(300);
	$('.subExtras').fadeOut(300);	

});
$('.btn5').mouseover(function(){
	$('.subExpertise').fadeIn(300);
	
	$('.subSortiment').fadeOut(300);	
	$('.subKatzenverhalten').fadeOut(300);	
	$('.subRatgeber').fadeOut(300);
	$('.subPhilosophie').fadeOut(300);
	$('.subExtras').fadeOut(300);	

});

$('.btn6').mouseover(function(){
	$('.subRatgeber').fadeIn(300);
	$('.subSortiment').fadeOut(300);	
	$('.subKatzenverhalten').fadeOut(300);	
	$('.subPhilosophie').fadeOut(300);
	$('.subExpertise').fadeOut(300);
	$('.subExtras').fadeOut(300);	
});
$('.btn7').mouseover(function(){
	$('.subExtras').fadeIn(300);
	$('.subSortiment').fadeOut(300);	
	$('.subKatzenverhalten').fadeOut(300);	
	$('.subRatgeber').fadeOut(300);
	$('.subPhilosophie').fadeOut(300);
	$('.subExpertise').fadeOut(300);	

});


/* end topnav */



});



