	/*	
	 *	tagflasher 2.0
	 *	Developer: Fredrik Nicol-Carlsson
	 *	More info: http://www.gevolve.se/blog/2008-10-09-12-tagflasher-2-0-flash-your-content-automaticly/
	 *	
	 *	A simple script witch that embed your HTML tags to Flash. 
	 *	Any visible text in the HTML tag will be sent as 
	 *	the variable "txt" into the swf file. Visitors who do not 
	 *	support Javascript or Flash will see the original content.
	 *	
	*/
function tagflasher_f(s){i=0;for(var j in tagflasher){$(tagflasher[j][0]).each(function(){var id="tagflasherId"+i;$(this).find("*:hidden").remove();txt=$(this).text();if(jQuery.trim){txt=jQuery.trim(txt);}$(this).html("<div id=\""+id+"\">"+txt+"</div>");if(s["swfobject"]===2){swfobject.embedSWF(tagflasher[j][1],id,tagflasher[j][2],tagflasher[j][3],"7",false,{"txt":txt},{"wmode":"transparent"});}else if(s["swfobject"]===1){var so=new SWFObject(tagflasher[j][1],id+"Obj",tagflasher[j][2],tagflasher[j][3],"7","#FFFFFF");so.addParam("wmode","transparent");so.addVariable("txt",txt);so.write(id);so=null;}$(this).find("object").css("outline","none");i++;});}j=null;i=null;}$("document").ready(function(){if(typeof(tagflasher)=="object"){var s=new Array();if(typeof(swfobject)!="undefined"){s["swfobject"]=2;}else if(typeof(SWFObject)!="undefined"){s["swfobject"]=1;}if(s["swfobject"]){tagflasher_f(s);}s=null;}});