/*
-------------------------------------------------------- 
The Fabler Common jQuery
Author: Sam Lu
Author URI: http://samlu.ca
Credits: jQuery Rating plugin (http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/) & jQuery Tooltip plugin (http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/) are appended to the bottom of this file

-------------------------------------------------------- 
*/

/* Functions */

var Footer = {
	init: function() {
		$(".footer_block a").tooltip({
			delay: 0,
			fade: 250,
			showURL: false,
			track: true
		});
		$("#search_form").append('<a href="javascript:;" title="Go" id="go_btn">Go</a>');
		$("#search_field").focus(function(){
			$(this).attr('value','').css('color', '#000000');
		});
		$("#go_btn").click(function(){
			$("#search_form").submit();
		});
	}
}

$(document).ready(function(){
	Footer.init();

  settings = {
      tl: { radius: 10 },
      tr: { radius: 10 },
      bl: { radius: 10 },
      br: { radius: 10 },
      antiAlias: true,
      autoPad: true
  }
  var myBoxObject = new curvyCorners(settings, "rounded");
  myBoxObject.applyCornersToAll();
});