PETA.customers_global = function(){
	function init_search_form(){
		var form = $("searchAreaBox");
		if(form.length <1)
			return;
		var search_input = form.getElement("input[type=text]");
		PETA.forms.input_toggle_default_text({
			field:search_input,
			default_text:search_input.get("value"),
			default_class:"search_input_default",
			edited_class:""
		});
	}
	function init_story_form(){
		var form = $$("div.genericFormStory form#myform");
		
		story_input =  form.getElement('#description');
		if(story_input.length <1)
			return;
			
		txt = "sum up your experience...";
		PETA.forms.input_toggle_default_text({
			field:story_input[0],
			default_text:txt,
			default_class:"default_text",
			edited_class:""
		});
		
		txt_2 = "Here's some ideas for expressing your success story...	\n\n"+
				"Did our products change your life for the better?\n\n"+
"Did you overcome some health challenges with the help of our products?\n\n"+
"Did our products work more effectively compared to other products?\n\n"+
"Did you make a good decision?\n\n"+
"What would you tell others facing similar circumstances?";
		if(Browser.Engine.trident){
			txt_2 = txt_2.replace(/(\n)/g,"\r\n");
		}// identify IE
		
		var story_input_2 = form.getElement("#formfullstory");
		PETA.forms.input_toggle_default_text({
			field:story_input_2,
			default_text:txt_2,
			default_class:"default_text",
			edited_class:""
		});
				
		story_input.fireEvent('blur');
		story_input_2.fireEvent('blur');
	}
	return {
		init : function(){
			init_search_form();
			init_story_form();
		}
	};
}();

window.addEvent('domready', function() {
    PETA.customers_global.init();
});


