﻿

/* Nav Bar hover olduğunda background diğer divde değişmesin*/
$(document).ready(function(){
	
	$(".dropdown").hover(
	//mouseover
	function(){
		$(this).parent().children("a").addClass("hover");
		
		},
		//mouseleft
		function(){			
			$(this).parent().children("a").removeClass("hover");
			});
	
	});
	

     /*footerBottom*/

          	﻿﻿﻿﻿﻿$(document).ready(function(){
	    var sayi = $('.hihi').size();
    var toplam = 0 ;
    for(i=0;i<sayi;i++){
	        var deger = $('.hihi').eq(i).width();
        toplam = toplam + deger
	    }
	    var kalanDeger = Math.round(((880- toplam)/i)/2);
	        
	 
	            $('.hihi').css({
	                'margin-left'  : kalanDeger,
	                'margin-right' : kalanDeger
	            });
	});

	
/* Text Box Clear */

			 function doClear(theText) {
				 if (theText.value == theText.defaultValue) {
					 theText.value = ""
				 }
			 }
      function mesajYazdir(mesaj) {
            $.blockUI({ css: {
                border: 'none',
                padding: '15px',
                backgroundColor: '#000',
                '-webkit-border-radius': '10px',
                '-moz-border-radius': '10px',
                opacity: .7,
                color: '#fff'
            },
                message: mesaj
            });

            setTimeout($.unblockUI, 2000);
        }
      
        


			
