/********************************
* WASABI MAIN-JS                *
* ----------------------------- *
* CR: DKone 19.06.2009 20:12:38 *
********************************/



/*************************
*  PROTOTYPE EXTENSIONS  *
*************************/
Prototype.Browser.IE6=Prototype.Browser.IE && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5))==6;
Prototype.Browser.IE7=Prototype.Browser.IE && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5))==7;
Prototype.Browser.IE8=Prototype.Browser.IE && !Prototype.Browser.IE6 && !Prototype.Browser.IE7;

String.prototype.removeLastChar=function() {//remove last char from string
	var arr=this.split('');
	arr.splice(this.length-1,1);
	return arr.join('');
};
String.prototype.trim=function() {
	var start=-1,
	end=this.length;
	while( this.charCodeAt(--end)<33);
	while( this.charCodeAt(++start)<33);
	return this.slice(start,end+1);
};




/****************************
*  WASABI CONTAINER OBJECT  *
****************************/
var wasabi=new Object;
wasabi.JSeffect=1;

