/*
 * vsem <a href="" rel="external"> nastavim target="_blank"
 * tim se dodrzi XHTML 1.0 strict a zaroven umozni otvirani
 * okazu v novym okne
 */
$(document).ready(function() {
	$('a[rel="external"]').each(function() {
		this.target = "_blank";
	});
});

/*
 * funckce pro orez retezcu
 */
String.prototype.trim = function() {
	return this.replace(/^\s+|\s+$/g,'');
}
String.prototype.ltrim = function() {
	return this.replace(/^\s+/,'');
}
String.prototype.rtrim = function() {
	return this.replace(/\s+$/,'');
}
