function SpecialFont(obj,font) {
	var pnggif = 'png';
	if (Prototype.Browser.IE) {
		var components = navigator.appVersion.split("MSIE");
		if (components.lenght < 2) pnggif = 'gif';
		else if (parseFloat(components[1]) < 7) pnggif = 'gif'; 
	}
	var content = obj.innerHTML;
	obj.innerHTML = '';
	obj.appendChild	(	new Element	(	'img',
																	{
																		src: '/styles/fun/text2image/' + encodeURIComponent(content) + '.' + pnggif + '?c=' + encodeURIComponent(obj.getStyle('color')) + '&s=' + encodeURIComponent(obj.getStyle('font-size')) + '&f=' + font,
																		title: (obj.tagName.toLowerCase() == 'a') ? obj.getAttribute('title') : content,
																		alt: content
																	}
																)
									);
	if (Effect != null) Effect.Appear(obj,{duration:0.2});
	else obj.style.display = '';
}
Event.observe(window, 'dom:loaded', function () { $$('.goobascript').each(function(obj) { obj.style.display = 'none'; }); });
Event.observe(window, 'load', function () { $$('.goobascript').each(function(obj) { SpecialFont(obj,'Goobascript'); }); });

