var opts =  
// horizontal Dock with images expanding downwards in the vertical axis... 
{ align: 'top', 
// set the maximum minor axis (vertical) image dimension to 48px 
size: 120,
  
// add labels.. 
labels: true, 
// swap the GIF extension for PNG extension for the larger image... 
source: function(i){ return this.src.replace(/gif$/,'png'); } 
}; 
$(this).jqDock(opts);
jQuery(document).ready(function(){
  jQuery('#menu').jqDock(opts);
});


