// JavaScript Document
/*
	Class: FiftyFlowers, 2008 Jul 25
	This performs actions based on some events trigger by fiftyflower site in general (no a particular page :) )
*/
FiftyFlowers = function()
{
	/*
	this.search_val_focus = function(e, obj)
	{
		//get search_page form de fifty_header_new
		var formSearchPage = YAHOO.util.Dom.get("search_page");
		formSearchPage.search_val.value = "";
	}
	*/
	this.init = function()
	{
		//buttons and links listeners
		/*
		Note: 2009 Apr 30
		This listener was commented, because the search button wait "DOM ready"... maybe this time delay too much.
		To replace that, we change on DB(table: page_content) and create the new function that called "setBlank()"
		- page_name: fifty_header_new
		- page_name: fifty_header2_new
		*/
		//YAHOO.util.Event.addListener("search_val", "focus", this.search_val_focus, this, true);

		//this.initRoundCornerModules();
	}
	
	/*
	Function: initRoundCornerModules, 2008 jul 23
	It draws a round corner border around information modules.
	*/
	/*
	this.initRoundCornerModules=function()
	{
		//Left Modules, most of the site pages.
		$('#ranked_by_brides').corner({
			  tl: { radius: 4 },
			  tr: { radius: 4},
			  bl: { radius: 4 },
			  br: { radius: 4 }});
		
		$('#free_shipping').corner({
			  tl: { radius: 4 },
			  tr: { radius: 4},
			  bl: { radius: 4 },
			  br: { radius: 4 }});	
				
		$('#guarantee_fresh').corner({
			  tl: { radius: 4 },
			  tr: { radius: 4},
			  bl: { radius: 4 },
			  br: { radius: 4 }});	
		
	}
	*/
};		