String.prototype.trim = function() 
{ 
	var reWSpaces = /^\s+|\s+/;
	return this.replace(reWSpaces, ''); 
};
String.prototype.StripTags=function()
{
	var reTags = /<(?:.|\s)*?>/g;
	return this.replace(reTags,'');
};
String.prototype.clearWhiteSpaces = function() 
{ 
	var reWSpaces = /\s/g;
	return this.replace(reWSpaces, ''); 
};
String.prototype.clearPause = function() 
{ 
	var rePauses = /-/g;
	return this.replace(rePauses, ''); 
};
String.prototype.toIso = function()
{
	helpSTR = this; 
	var arrayUnicode = new Array('&#260;','&#262;','&#280;','&#321;','&#323;','&#211;','&#346;','&#377;','&#379;','&#261;','&#263;','&#281;','&#322;','&#324;','&#243;','&#347;','&#378;','&#380;','&#261;','&#347;','&#378;','&#346;','&#378;','&#260;');
	var arrayChars = new Array('Ľ','Ć','Ę','Ł','Ń','Ó','&#166;','&#172;','Ż','&#177;','ć','ę','ł','ń','ó','&#182;','�','ż','š','�','�','�','&#317;','&#711;')	;
	for (var i = 0; i<arrayChars.length;i++)
	{
		reStr1 =	arrayChars[i];
		reStr2 =	arrayUnicode[i];
		helpSTR=helpSTR.replace(new RegExp(reStr1,'g'), reStr2); 
	}
	return helpSTR;
}