$(document).ready(function(){
        $('#slider').bxSlider({
            displaySlideQty:12,
            auto:true,
            pause: 3000,
            prevText:'',
            nextText:'',
            moveSlideQty: 1
        });
        $('#slider img').hover(
            function(){
                $(this).animate({
                    height: '90',
                    width: '90',
                    top: '-15px'
                },200,'swing').dequeue();

            },
            function(e){
                $(this).animate({
                    height: '70',
                    width: '70',
                    top: '0'
                },200,'swing').dequeue();

            }
        )
    });
    
    $(document).ready(function() {
			/*
			*   Examples - images
			*/
                       $("a#example1").fancybox({
				'overlayShow'	: false,
				'overlayColor'		: '#000',
				'overlayOpacity'	: 0.5,
                                'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic'
			});
                        

			
		});
                
     function make_blank(){
		if(document.getElementById("s").value == "search..."){
			document.getElementById("s").value = "";
		}
	}
	
	function make_bck(){
		if(document.getElementById("s").value == ""){
			document.getElementById("s").value = "search...";
		}
	}
        
     function search_form_validation (){
		var valid = true;
		
		if (document.getElementById("s").value == "search..."){			
			valid = false;				
		 }
		 
		 if (valid == true) {
			return true;		
		 } else {
			return false;
		 }
	}   
