// JavaScript Document
jQuery(document).ready(function(){	  	
		
/*== Messages ================================================================*/

		

/*==========================================================================*/

/*== V-Justify =============================================================*/
	
	//jQuery(".product-block").vjustify();
	//jQuery(".sub1").vjustify();
	
/*==========================================================================*/
	
/*== Superfish Menu ========================================================*/

 
    //jQuery("ul.sf-menu").superfish(); 
	
	jQuery("ul.sf-menu").supersubs({ 
            minWidth:    12,   // minimum width of sub-menus in em units 
            maxWidth:    27,   // maximum width of sub-menus in em units 
            extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
                               // due to slight rounding differences and font-family 
        }).superfish();  // call supersubs first, then superfish, so that subs are 
                         // not display:none when measuring. Call before initialising 
                         // containing tabs for same reason. 
    
	
/*==========================================================================*/
 
 	// Button
    jQuery("a.button-add-to").tooltip({     
        // use single tooltip element for all tips 
        // tweak the position
		offset: [15, 0], 
        // use "slide" effect 
        effect: 'slide'
    })
 
	// Image
    jQuery("a.product-image.grid").tooltip({
     
        // use single tooltip element for all tips 
        // tweak the position
		offset: [50, 0], 
        // use "slide" effect 
        effect: 'slide' 
    // add dynamic plugin  
    }).dynamic( { 
        // customized configuration on bottom edge 
        bottom: { 
            // slide downwards 
            direction: 'down', 
            // bounce back when closed 
            bounce: true 
        } 
    });
	
	
/*==========================================================================*/
	

}); 

