﻿// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready

$(document).ready(function() {


//    $("#dyna a").each(function(){
//        var[] list = $(this).attr("title").split(';');
//        
//        var div = '<div></div><a href="'+$(this).attr("href")+'">'+$(this).val()+'</a>';
//        
//        
//        
//        $(this).child().attr("title",div);
//    });

	// initialize tooltip
	$("#dyna img[title], #dyna a[title]").tooltip({
	
		// use single tooltip element for all tips
		tip: '#dynatip', 
		
		// tweak the position
		offset: [25, 10],
		
		// 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
		}
	});
	
});
