﻿$(document).ready(function() {
   

    //$('.tooltip').corner('4px;');
	//$('.header-container ul li strong').corner('10px;');
	
    $('#sap').show();$('#intel').hide();$('#insync').hide();
    
    $('.body-part .partners .left img:first-child').mouseenter(function(){
    $('.tooltip .arrow').css("left" , "80px");
    grayscale.reset($(this));    
    $('#sap').show();$('#intel').hide();$('#insync').hide();
    });       
    $('.body-part .partners .left img:nth-child(2)').mouseenter(function(){    
    $('.tooltip .arrow').css("left" , "215px");   
    grayscale.reset($(this)); 
    $('#sap').hide();$('#intel').show();$('#insync').hide();
    });
    $('.body-part .partners .left img:nth-child(3)').mouseenter(function(){
    $('.tooltip .arrow').css("left" , "355px");    
    grayscale.reset($(this));
    $('#sap').hide();$('#intel').hide();$('#insync').show();
    });

     $('.header-container ul li').each(function(i)  {
        $(this).addClass("no" + i);
     });
     $('.header-container ul li').each(function(n)  {
        $(".no" + n).hover(
        function () {
    $(".no" + n + " div").show();
	$(".no" + n + " strong").show();
    }, 
        function () {
    $(".no" + n + " div").hide();	
	$(".no" + n + " strong").hide();
    
	}
    );
     });
	 
	 $('.header-container ul li.buynow').mouseleave(function(){
		$('.header-container ul li.buynow strong').show();															 
	 });
	 
	
});
