String.prototype.trim = function() {
   return this.replace(/(^\s+)|(\s+$)/g, "");
}

	
function pop_up(tartalom,wdth, hght ) {
		window.open(tartalom,"popupablak","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,width="+wdth+",height="+hght+", left="+((screen.width-wdth)/2)+", top="+((screen.height-(hght+80))/2));
}
