function setCookie(j,i,c,h,g,d,b,f){var a=j+"="+escape(i);if(c){var e=new Date(c,h,g);a+="; expires="+e.toGMTString()}if(d)a+="; path="+escape(d);if(b)a+="; domain="+escape(b);if(f)a+="; secure";document.cookie=a}function getTimeString(){var a=new Date;return a.getHours().toString()+a.getMinutes().toString()+a.getSeconds().toString()+a.getMilliseconds().toString()}function showPopupWindow(a,b,e,d){var c="toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,height="+d+",width="+e;if(a.indexOf("?")==-1)a+="?tz="+getTimeString();else a+="&amp;tz="+getTimeString();popupWin=window.open(a,b,c,0);popupWin.focus();return popupWin}function urlEncode(b){var a=escape(b);a=a.replace(/\//g,"%2F");a=a.replace(/\?/g,"%3F");a=a.replace(/=/g,"%3D");a=a.replace(/&/g,"%26");a=a.replace(/@/g,"%40");return a}function showOverlay(){$("#overlay").fadeTo("slow",.8)}function hideOverlay(){$("#overlay").fadeTo("slow",0,function(){$(this).hide(0)})}function getUserTextForDisplay(e){var a=e.replace(/(\r\n|[\r\n])/g,"<br />"),b=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim;a=a.replace(b,'<a href="$1" target="_blank" rel="nofollow">$1</a>');var c=/(^|[^\/])(www\.[\S]+(\b|$))/gim;a=a.replace(c,'$1<a href="http://$2" target="_blank" rel="nofollow">$2</a>');var d=/(\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,6})/gim;a=a.replace(d,'<a href="mailto:$1" rel="nofollow">$1</a>');return a}$(document).ready(function(){$(".description").each(function(){$(this).html(getUserTextForDisplay($(this).html()))})});
