var IE = {
	detect: function() {
		var ua = navigator.userAgent;
		var MSIEOffset = ua.indexOf("MSIE ");
		if (MSIEOffset == -1) {
			this.version = 0;
		} else {
			this.version = parseFloat(ua.substring(MSIEOffset + 5, ua.indexOf(";", MSIEOffset)));
		}
	},
	version: 0
}
IE.detect();


if(!Prototype.Browser.WebKit) {	// wenn es kein WebKit Browser ist (z.b. Apple Safari)
	
}	

if(Prototype.Browser.WebKit){ // wenn es ein WebKit Browser ist (z.b. Apple Safari)
	Event.observe(window, 'load', function(){
		new text2img();
	});
}
else
{
	new text2img();
}
