﻿
 $(document).ready(	    
		     
    function(){	
               
        /* assign all images an alt tag where none exists (for SEO) */
        var images = $("img");                
        images.load(function () {                
            if($(this).attr("alt").length == 0)
            {
                $(this).attr("alt","Hyde-N-Seek Designs") ;
            }  
                           
        });  
        
       var required = $(".required");        
        required.mouseover(function () {            
            $(this).attr("title","This field is required") ;                
        }); 
        
        /* Add jScrollPane to scrolling areas */
        //alert( $("#scroll") );
        //alert(document.URL.indexOf("gallery"));
        //return;
        try
        {
            if(document.URL.indexOf("gallery") == -1 )
                $("#scroll").jScrollPane({showArrows: true});     
        }
        catch(err)
        {
            
        }

 	//testimonial_quote
        var testimonial_quote = $(".testimonial_quote");        
        testimonial_quote.each(function () {            
            $(this).html("&quot;&nbsp;" + $(this).html() + "&nbsp;&quot;");             
        });
        
        //remove image loader elements
        $(window).load(function () {
            $(".loading").fadeOut("slow");    
        });
               
    }  
		    
);


