// initialize jq

// wait until document is fully scriptable
$(document).ready(function() {

// tabs
$('div.flowtabs').tabs('div#flowpanes > div.items > div', {effect: 'fade'});

// initialize tooltip
	$("#dyna img[title]").tooltip({
	
		// use single tooltip element for all tips
		tip: '#dynatip', 
		
		// tweak the position
		offset: [10, 2],
		
		// 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
		}
	});
	
// assign a click event to the exposed element, using normal jQuery coding 
    $("#exposee").click(function() { 
 
// perform exposing for the clicked element 
        $(this).expose({api: true}).load(); 
 
    }); 

});