google_ad_client = "pub-2644230428539254"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; //text google_ad_channel = "3136824134"; google_color_border = ""; google_color_bg = ""; google_color_link = "#cccccc"; google_color_text = "#cccccc"; google_color_url = "#cccccc"; document.write("
"); (function(){var k=this,aa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b},ba=function(a,b,c){return a.call.apply(a.bind,arguments)},ca=function(a,b,c){if(!a)throw Error();if(2a?0:a},w=function(a,b){return/^true$/.test(a)?!0:/^false$/.test(a)?!1:b},da=/^([\w-]+\.)*([\w-]{2,})(\:[0-9]+)?$/,y=function(a,b){if(!a)return b;var c=a.match(da);return c?c[0]:b};var ea=u("0.15"),fa=u("0.01"),ga=u("0.001"),ha=u("0.001"),ia=u("0.2"),ja=w("true",!0);var ka=w("false",!1),la=w("false",!1);var z=function(a){z[" "](a);return a};z[" "]=function(){};var A=function(a){try{var b;if(b=!!a&&null!=a.location.href)o:{try{z(a.foo);b=!0;break o}catch(c){}b=!1}return b}catch(e){return!1}};var ma=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var e;a!=e;)e=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(d){b=c}}return b};var C=document,E=window,F,na=null,G=C.getElementsByTagName("script");G&&G.length&&(na=G[G.length-1]);F=na;var oa=/&/g,pa=//g,ra=/"/g,sa=/'/g,ta=/\x00/g,H={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\"},I={"'":"\\'"};var J=function(a,b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(null,a[c],c,a)},K=function(a){return!!a&&"function"==typeof a&&!!a.call},ua=function(a,b){if(!(2>arguments.length))for(var c=1,e=arguments.length;c Math.random())){var c=Math.random();if(c>2)+a.charCodeAt(e)&4294967295;return 0b?d+="000":256>b?d+="00":4096>b&&(d+="0");return R[a]=d+b.toString(16)}));b.push('"')};var S="google_ad_block google_ad_channel google_ad_client google_ad_format google_ad_height google_ad_host google_ad_host_channel google_ad_host_tier_id google_ad_output google_ad_override google_ad_region google_ad_section google_ad_slot google_ad_type google_ad_unit_key google_ad_unit_key_2 google_ad_width google_adtest google_allow_expandable_ads google_alternate_ad_url google_alternate_color google_analytics_domain_name google_analytics_uacct google_analytics_url_parameters google_available_width google_bid google_captcha_token google_city google_color_bg google_color_border google_color_line google_color_link google_color_text google_color_url google_container_id google_content_recommendation_ui_type google_contents google_country google_cpm google_ctr_threshold google_cust_age google_cust_ch google_cust_criteria google_cust_gender google_cust_id google_cust_interests google_cust_job google_cust_l google_cust_lh google_cust_u_url google_disable_video_autoplay google_ed google_eids google_enable_content_recommendations google_enable_ose google_enable_ose_periscope google_encoding google_floating_ad_position google_font_face google_font_size google_frame_id google_gl google_hints google_image_size google_kw google_kw_type google_lact google_language google_loeid google_max_num_ads google_max_radlink_len google_mtl google_num_radlinks google_num_radlinks_per_unit google_only_ads_with_video google_only_pyv_ads google_only_userchoice_ads google_original_width google_override_format google_page_url google_pgb_reactive google_previous_watch google_previous_searches google_referrer_url google_region google_responsive_formats google_reuse_colors google_rl_dest_url google_rl_filtering google_rl_mode google_rt google_safe google_sc_id google_scs google_source_type google_sui google_skip google_tag_for_child_directed_treatment google_tag_info google_tag_origin google_targeting google_tdsma google_tfs google_tl google_ui_features google_ui_version google_video_doc_id google_video_product_type google_video_url_to_fetch google_with_pyv_ads google_yt_pt google_yt_up".split(" "), Na={google_analytics_domain_name:!0,google_analytics_uacct:!0},Oa=function(a){a.google_page_url&&(a.google_page_url=String(a.google_page_url));var b=[];J(a,function(a,e){if(null!=a){var d;try{var f=[];Q(new Ka,a,f);d=f.join("")}catch(h){}d&&ua(b,e,"=",d,";")}});return b.join("")};var T=null;var U=function(a){this.j=a;a.google_iframe_oncopy||(a.google_iframe_oncopy={handlers:{},upd:m(this.u,this)});this.r=a.google_iframe_oncopy},Pa;var V="var i=this.id,s=window.google_iframe_oncopy,H=s&&s.handlers,h=H&&H[i],w=this.contentWindow,d;try{d=w.document}catch(e){}if(h&&d&&(!d.body||!d.body.firstChild)){if(h.call){setTimeout(h,0)}else if(h.match){try{h=s.upd(h,i)}catch(e){}w.location.replace(h)}}"; /[\x00&<>"']/.test(V)&&(-1!=V.indexOf("&")&&(V=V.replace(oa,"&")),-1!=V.indexOf("<")&&(V=V.replace(pa,"<")),-1!=V.indexOf(">")&&(V=V.replace(qa,">")),-1!=V.indexOf('"')&&(V=V.replace(ra,""")),-1!=V.indexOf("'")&&(V=V.replace(sa,"'")),-1!=V.indexOf("\x00")&&(V=V.replace(ta,"�")));Pa=V;U.prototype.set=function(a,b){this.r.handlers[a]=b;this.j.addEventListener&&this.j.addEventListener("load",m(this.s,this,a),!1)}; U.prototype.s=function(a){a=this.j.document.getElementById(a);try{var b=a.contentWindow.document;if(a.onload&&b&&(!b.body||!b.body.firstChild))a.onload()}catch(c){}};U.prototype.u=function(a,b){var c=Qa("rx",a),e;o:{if(a&&(e=a.match("dt=([^&]+)"))&&2==e.length){e=e[1];break o}e=""}e=(new Date).getTime()-e;c=c.replace(/&dtd=(\d+|M)/,"&dtd="+(1E4>e?e+"":"M"));this.set(b,c);return c};var Qa=function(a,b){var c=new RegExp("\\b"+a+"=(\\d+)"),e=c.exec(b);e&&(b=b.replace(c,a+"="+(+e[1]+1||1)));return b};var W;o:{var Ra=k.navigator;if(Ra){var Sa=Ra.userAgent;if(Sa){W=Sa;break o}}W=""};var Ta=-1!=W.indexOf("Opera")||-1!=W.indexOf("OPR"),Ua=-1!=W.indexOf("Trident")||-1!=W.indexOf("MSIE"),Va=-1!=W.indexOf("Gecko")&&-1==W.toLowerCase().indexOf("webkit")&&!(-1!=W.indexOf("Trident")||-1!=W.indexOf("MSIE")),Wa=-1!=W.toLowerCase().indexOf("webkit"); (function(){var a="",b;if(Ta&&k.opera)return a=k.opera.version,"function"==aa(a)?a():a;Va?b=/rv\:([^\);]+)(\)|;)/:Ua?b=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:Wa&&(b=/WebKit\/(\S+)/);b&&(a=(a=b.exec(W))?a[1]:"");return Ua&&(b=(b=k.document)?b.documentMode:void 0,b>parseFloat(a))?String(b):a})();var Xa={"120x90":!0,"160x90":!0,"180x90":!0,"200x90":!0,"468x15":!0,"728x15":!0};var X,Y=function(a){this.k=[];this.j=a||window;this.i=0;this.l=null;this.m=0},Ya=function(a,b){this.t=a;this.q=b};Y.prototype.w=function(a,b){0!=this.i||0!=this.k.length||b&&b!=window?this.p(a,b):(this.i=2,this.o(new Ya(a,window)))};Y.prototype.p=function(a,b){this.k.push(new Ya(a,b||this.j));Z(this)};Y.prototype.A=function(a){this.i=1;if(a){var b=N("sjr::timeout",m(this.n,this,!0));this.l=this.j.setTimeout(b,a)}}; Y.prototype.n=function(a){a&&++this.m;1==this.i&&(null!=this.l&&(this.j.clearTimeout(this.l),this.l=null),this.i=0);Z(this)};Y.prototype.B=function(){return!(!window||!Array)};Y.prototype.C=function(){return this.m};Y.prototype.nq=Y.prototype.w;Y.prototype.nqa=Y.prototype.p;Y.prototype.al=Y.prototype.A;Y.prototype.rl=Y.prototype.n;Y.prototype.sz=Y.prototype.B;Y.prototype.tc=Y.prototype.C;var Z=function(a){var b=N("sjr::tryrun",m(a.v,a));a.j.setTimeout(b,0)}; Y.prototype.v=function(){if(0==this.i&&this.k.length){var a=this.k.shift();this.i=2;var b=N("sjr::run",m(this.o,this,a));a.q.setTimeout(b,0);Z(this)}};Y.prototype.o=function(a){this.i=0;a.t()}; var Za=function(a){try{return a.sz()}catch(b){return!1}},$a=function(a){return!!a&&("object"==typeof a||"function"==typeof a)&&Za(a)&&K(a.nq)&&K(a.nqa)&&K(a.al)&&K(a.rl)},$=function(){if(X&&Za(X))return X;var a=Ja(),b=a.google_jobrunner;return $a(b)?X=b:a.google_jobrunner=X=new Y(a)},ab=function(a,b){$().nq(a,b)},bb=function(a,b){$().nqa(a,b)};var cb=Ga?1==xa():!xa(),db=function(){var a=z("script"),b;b=y("","pagead2.googlesyndication.com");return["<",a,' src="',P(b,"/pagead/js/r20141023/r20140417/show_ads_impl.js",""),'">"].join("")},eb=function(a,b,c,e){return function(){var d=!1;e&&$().al(3E4);var f=a.document.getElementById(b);f&&!A(f.contentWindow)&&3==a.google_top_js_status&& (a.google_top_js_status=6);try{if(A(a.document.getElementById(b).contentWindow)){var h=a.document.getElementById(b).contentWindow,g=h.document;g.body&&g.body.firstChild||(g.open(),h.google_async_iframe_close=!0,g.write(c))}else{var l=a.document.getElementById(b).contentWindow,p;f=c;f=String(f);if(f.quote)p=f.quote();else{h=['"'];for(g=0;gq)D=n;else{var v=n;if(v in I)D=I[v];else if(v in H)D=I[v]=H[v];else{var t= v,x=v.charCodeAt(0);if(31x)t=v;else{if(256>x){if(t="\\x",16>x||256x&&(t+="0");t+=x.toString(16).toUpperCase()}D=I[v]=t}}B=D}h[s]=B}h.push('"');p=h.join("")}l.location.replace("javascript:"+p)}d=!0}catch(lb){l=Ja().google_jobrunner,$a(l)&&l.rl()}d&&(d=Qa("google_async_rrc",c),(new U(a)).set(b,eb(a,b,d,!1)))}},fb=function(a){var b=["");return b.join("")},gb=function(a,b,c,e){e=e?'"': "";var d=e+"0"+e;a.width=e+b+e;a.height=e+c+e;a.frameborder=d;a.marginwidth=d;a.marginheight=d;a.vspace=d;a.hspace=d;a.allowtransparency=e+"true"+e;a.scrolling=e+"no"+e;a.allowfullscreen=e+"true"+e},hb=function(){var a;if(a=cb){if(!T)o:{var b=[E.top];a=[];for(var c=0,e;e=b[c++];){a.push(e);try{if(e.frames)for(var d=e.frames.length,f=0;fb.length;++f)b.push(e.frames[f])}catch(h){}}for(d=0;de;f=f.parentNode,++e)c.push(9!=f.nodeType&&f.id||"");(c=c.join())&&d.push(c);b.google_ad_unit_key=ya(d.join(":")).toString();d=a.google_adk2_experiment=a.google_adk2_experiment||L(["C","E"],ha)||"N";if("E"==d){d=F;c=[];for(e=0;d&&25>e;++e){var f=(f=9!=d.nodeType&&d.id)? "/"+f:"",h;o:{var g=d.parentElement;h=d.nodeName.toLowerCase();if(g)for(var g=g.childNodes,l=0,p=0;pe;++e){for(var s=q.frames,f=0;f");h=c.id;l="border:none;height:"+p+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+l+"px;background-color:transparent";f.write(['',g.join(" "), ""].join(""));h=c.id;c=b.google_override_format||!Xa[b.google_ad_width+"x"+b.google_ad_height]&&"aa"==b.google_loader_used?L(["c","e"],ia):null;ib(a,b,"e"==c);b=Oa(b);f=hb();g=(new Date).getTime();l=a.google_top_experiment;if(p=a.google_async_for_oa_experiment)a.google_async_for_oa_experiment=void 0;var n=a.google_always_use_delayed_impressions_experiment,q=a.google_auto_width_experiment,s=a.google_floating_ads_js_experiment;d=["",f,"<",d,">",b,"google_show_ads_impl=true;google_unique_id=", a.google_unique_id,';google_async_iframe_id="',h,'";google_start_time=',r,";",l?'google_top_experiment="'+l+'";':"",p?'google_async_for_oa_experiment="'+p+'";':"",n?'google_always_use_delayed_impressions_experiment="'+n+'";':"",c?'google_append_as_for_format_override="'+c+'";':"",q?'google_auto_width_experiment="'+q+'";':"",s?'google_floating_ads_js_experiment="'+s+'";':"","google_bpp=",g>r?g-r:1,";google_async_rrc=0;",db(),""].join("");(a.document.getElementById(h)?ab:bb)(eb(a, h,d,!0))}});})(); document.write("
"); /////////////////////////////////////////////////////// // // localendar.com - Common.js // /////////////////////////////////////////////////////// var ppcIE =((navigator.appName == "Microsoft Internet Explorer") || ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion)==5))); var ppcNN6 =((navigator.appName == "Netscape") && (parseInt(navigator.appVersion)==5)); var ppcNN =((navigator.appName == "Netscape")&&(document.layers)) ; var posX = 4; var posY = 4; var now = new Date(); //"<= startDate >"); function today() { var result = "" var d = new Date(); var curr_date = d.getDate(); var curr_month = d.getMonth(); curr_month++; var curr_year = (d.getFullYear()+"").substring(2,4); if (curr_month<10) result+="0"; result += curr_month + "-"; if (curr_date<10) result+="0"; result+=curr_date + "-" + curr_year; return result } function getPos(atImg) { // MO: Using jQuery to get position 2/1/10 var position=$('#'+atImg).offset(); posX=position.left; posY=position.top; /* if ( ppcIE ) { posX = getOffsetLeft(document.images[atImg]); posY = getOffsetTop(document.images[atImg]) + document.images[atImg].height; } else if (ppcNN) { posX = document.images[atImg].x; posY = document.images[atImg].y + document.images[atImg].height; } */ } function fn_chg_color(lcfield,pcolor){ fn_chk_color(lcfield,pcolor); } function fn_chk_color(lcfield,pcolor){ var numStr = "0123456789ABCDEFabcdef"; if (pcolor.length==0) return true; for (i = 0; i < pcolor.length; i++) { thisChar = pcolor.charAt(i); if (numStr.indexOf(thisChar) == -1){ alert("Please enter a valid six character hexidecimal color value."); lcfield.value = ''; return false; } } if (pcolor.length!=6){ alert("Please enter a valid six character hexidecimal color value."); lcfield.value = ''; return false; } lcfield.value = pcolor; return true; } function validateNewUser(lcform){ var retval = true; if (( !isEmail(lcform)) /*|| (!isLocation(lcform))*/ || (! isName(lcform)) || (! checkPassword(lcform)) || (! checkAgree(lcform)) || (!checkTimezone(lcform)) ){ retval=false; } else { if (lcform.country.value=="USA") retval = checkZip(lcform); else retval = checkCountry(lcform) } return retval; } function checkSelect(lcform){ var w = eval("document." + lcform.name + ".event_category"); var count = 0; for (var x = 0; x < w.length; x++) { if (lcform.event_category[x].checked) { count++ } } if (count == 0 ) { alert("\No categories selected.\n\nPlease select at least one category.") lcform.event_category[0].focus(); return false; } return true; } function category_check(lcform,pvalue){ var w = eval("document." + lcform.name + ".event_category"); for (var x = 0; x < w.length; x++) { if (pvalue == 'all'){ w[x].checked = true; }else { w[x].checked = false; } } } function popup(info){ var view_window; var lcf; info=info.toUpperCase(); if (info=="HELP") lcf="FAQ"; if (info=="LEGAL") lcf="Legal"; if (info=="A1CLEGAL") lcf="A1CLEGAL"; if (info=="PRIVACY") lcf="Privacy"; if (info=="A1CPRIVACY") lcf="A1CPRIVACY"; // if (info=="PRINTCAL") lcf="PrintableCalendar"; view_window = window.open("/elsie?JSP="+lcf+"&context=None", "localendar", "width=500,height=500,scrollbars=yes,resizable=yes"); view_window.focus(); } function popupEventAdd() { view_window = window.open("/elsie?JSP=EventEditorAnon", "localendar", "width=545,height=550,menubar=yes,scrollbars=yes,resizable=yes"); } function popupPrintableCalendar() { var view_window = window.open("/elsie?JSP=PrintableCalendar&context=None", "printablelocalendar", "toolbar=yes,menubar=yes,width=700,height=600,scrollbars=yes,resizable=yes"); view_window.focus(); } function lc_navjump(p_direction,p_menutype,p_startdate){ window.location.href="/elsie?JSP=Calendar&mode=MONTH_"+p_direction+"&menu_type="+p_menutype+"&start_date="+p_startdate; } function lc_dayjump(p_menutype,p_date){ window.location.href="/elsie?JSP=Calendar&menu_type="+p_menutype+"&start_date="+p_date; } function lc_weekjump(p_menutype,p_date){ window.location.href="/elsie?JSP=Calendar&menu_type="+p_menutype+"&start_date="+p_date; } function lc_monthjump(p_menutype,p_date){ window.location.href="/elsie?JSP=Calendar&menu_type="+p_menutype+"&start_date="+p_date; } /* function lc_publishjump(p_menutype,p_date,p_calendarid,p_rsslink){ window.location.href="/elsie?JSP=PublishedCalendar&mode=PUBLISH_PUBLIC&search_type="+p_menutype+"&start_date="+p_date+"&calendar_id="+p_calendarid+"&rss_link="+p_rsslink; } */ function lc_searchjump(p_zip,p_radius,p_date,p_type){ window.location.href="/elsie?JSP=SearchResults&mode=ADVSEARCH&zip="+p_zip+"&radius="+p_radius+"&start_date="+p_date+"&search_type="+p_type; } function lc_pubsearchjump(p_zip,p_radius,p_date,p_type){ window.location.href="/elsie?JSP=PublishedSearch&mode=PUBSEARCH&zip="+p_zip+"&radius="+p_radius+"&start_date="+p_date+"&search_type="+p_type; } function HelpWindow(vers){ var view_window; view_window = window.open(('https:' == document.location.protocol ? 'https://' : 'http://')+"www.localendar.com/docs/display/lc"); view_window.title = "FAQ"; view_window.focus(); } function AddEvent(){ window.location.href="/elsie?DAM=EventEditor" } function Preferences(){ window.location.href="/elsie?JSP=PreferencesGeneral" } function Search(){ window.location.href="/elsie?JSP=Search" } function PublicEventDetail(m, calendar_id,event_id,more_info,exportDate,category) { var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left; var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top; var left = ((screen.width / 2) - (400 / 2)) + dualScreenLeft; var top = ((screen.height / 2) - (510 / 2)) + dualScreenTop; var newWindow = window.open(('https:' == document.location.protocol ? 'https://' : 'http://')+"www.localendar.com/event?DAM=PublishedEvent&m="+m+"&event_id="+event_id+"&calendar_id="+calendar_id+"&more_info="+more_info+"&export_date="+exportDate+"&category="+category, "previewevent", "scrollbars=yes,resizable=yes,width=400, height=510, top=" + top + ", left=" + left); if (window.focus) { newWindow.focus(); } } function zipSearchSubmit(lcform) { var c = lcform.city.value; if (c.length < 3) { alert ("Please enter at least the first 3 characters of the city"); return false; } return true; } function checkAdvSearch(lcform) { if ((! checkZip(lcform)) || (! checkSelect(lcform))) return false; else return true; } function prefsGeneralSubmit(lcform) { if (checkDayViewRange(lcform)) return true; else return false; } function isNumber(data) { var numStr = "0123456789"; for (i = 0; i < data.length; i++) { thisChar = data.charAt(i); if (numStr.indexOf(thisChar) == -1) return false; } return true; } function checkCountry(lcform) { if (lcform.country.value=="---"){ alert ("Please select your country."); return false; } else return true; } function checkTimezone(lcform) { if (lcform.timezone.value=="---"){ alert ("Please select your timezone."); return false; } else return true; } function checkZip(lcform) { var zipcode = lcform.zip.value; if (zipcode!="00000"&& ((!isNumber(zipcode)) || zipcode == "" || zipcode.length != 5) ) { alert ("You must enter a valid 5 digit zipcode."); lcform.zip.focus(); return false; } return true; } function checkDayViewRange(lcform) { var dayStart = lcform.dayStart.selectedIndex+1; var dayEnd = lcform.dayEnd.selectedIndex+1; if (dayEnd<=dayStart) { alert ("Please make sure the day-view 'To:' hour is later than the 'From:' hour."); lcform.dayStart.focus(); return false; } return true; } // if you put one space in then it passes function checkSubject(lcform) { var subject = lcform.event_title.value; if (subject == "") { alert ("To schedule an event, you must enter an event title."); lcform.event_title.select(); return false; } return true; } function checkChangeMemberLogon(lcform) { var str = lcform.username.value; // Return false if characters are not a-z, A-Z, or 1-9. for (var i = 0; i < str.length; i++) { var ch = str.substring(i, i + 1); if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch) && (ch < "0" || "9" < ch)) || ch ==' ' && ch != '.') { if (ch!='_' && ch!='-') { alert("\nThe Member Name only accepts letters & numbers (spaces are not allowed).\n\nPlease change your member name."); lcform.username.select(); lcform.username.focus(); return false; } } } return true; } function isName(lcform) { var str = lcform.username.value; // Return false if name field is blank. if (str == "") { alert("\nThe Member Name is blank.\n\nPlease enter your member name.") lcform.username.focus(); return false; } return checkChangeMemberLogon(lcform); } function isEmail(lcform) { // Return false if e-mail field is blank. var str = lcform.email.value; if (str == "") { alert("\nThe Email Address is blank.\n\nPlease enter your email address.") lcform.email.focus(); return false; } // Return false if e-mail field does not contain a '@' and '.' . if (str.indexOf ('@',0) == -1 || str.indexOf ('.',0) == -1){ alert("\nPlease enter a valid Email Address.") lcform.email.select(); lcform.email.focus(); return false; } return true; } function isLocation(lcform) { // Return false if e-mail field is blank. var str = lcform.member_location_desc.value; if (str == "") { alert("\nPlease enter a valid Location.") lcform.member_phys_address.focus(); return false; } return true; } function checkPassword(lcform) { var pw1 = lcform.password.value; var pw2 = lcform.confirmpw.value; // Return false if pw don't match. if (lcform.password.value == "") { alert("\nThe Password is blank.\n\nPlease enter your Password.") lcform.password.focus(); return false; } if (lcform.confirmpw.value == "") { alert("\nThe Re-Enter Password field is blank.\n\nPlease re-enter your password.") lcform.confirmpw.focus(); return false; } if (pw1 != pw2) { alert("\nPasswords don't match.\n\nPlease check your password."); lcform.password.select(); lcform.password.focus(); return false; } if (pw1.length<6) { alert("Please enter a password that is at least 6 characters long."); lcform.password.select(); lcform.password.focus(); return false; } // Return false if characters are not '0-9' or '.' . for (var i = 0; i < pw1.length; i++) { var ch = pw1.substring(i, i + 1); if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch) && (ch < "0" || "9" < ch)) || ch ==' ' && ch != '.') { if (ch!='_' && ch!='-') { alert("\nThe Password field only accepts letters & numbers (spaces are not allowed).\n\nPlease change your password."); lcform.password.select(); lcform.password.focus(); return false; } } } return true; } function checkChangePassword(lcform) { var old_pw = lcform.password.value; var new_pw1 = lcform.newpassword.value; var new_pw2 = lcform.confirmpw.value; if (old_pw == "") { alert("\nThe Password is blank.\n\nPlease enter your Password.") lcform.password.focus(); return false; } if (new_pw2 == "") { alert("\nThe Confirm Password field is blank.\n\nPlease re-enter your password.") lcform.confirmpw.focus(); return false; } if (new_pw1 != new_pw2) { alert("\nNew passwords don't match.\n\nPlease check your password."); lcform.newpassword.select(); lcform.newpassword.focus(); return false; } if (new_pw1.length<6) { alert("Please enter a password that is at least 6 characters long."); lcform.password.select(); lcform.password.focus(); return false; } // Return false if characters are not '0-9' or '.' . for (var i = 0; i < new_pw1.length; i++) { var ch = new_pw1.substring(i, i + 1); if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch) && (ch < "0" || "9" < ch)) || ch ==' ' && ch != '.') { if (ch!='_' && ch!='-') { alert("\nThe Password field only accepts letters & numbers (spaces are not allowed).\n\nPlease change your password."); lcform.newpassword.select(); lcform.newpassword.focus(); return false; } } } return true; } function checkAgree(lcform) { if (!lcform.agree.checked) { alert("Please indicate that you accept the Terms of Service"); lcform.agree.focus(); return false; } return true; } function EditEvent(event_id,event_public,repeatsCode,eventDate) { if (repeatsCode!=null && repeatsCode!="N") { $.Zebra_Dialog('This is a repeating event. Do you want to edit the series, or just this occurrence?', { 'type': 'question', 'overlay_opacity': .5, 'title': 'Edit Repeating Event', 'buttons': ['Edit the Series','Edit this Occurrence'], 'onClose': function(caption) { if (caption=="Edit the Series") window.location.href="/elsie?DAM=EventEditor&event_id="+event_id+"&public_event="+event_public; else if (caption=="Edit this Occurrence") window.location.href="/elsie?DAM=EventEditor&event_id="+event_id+"&public_event="+event_public+"&occur=Y&odate="+eventDate; } }); } else window.location.href="/elsie?DAM=EventEditor&event_id="+event_id+"&public_event="+event_public; } function getRestaurants(zipcode) { var view_window; view_window = window.open("http://www.usrg.com/script/nearzip.asp?ZIP="+zipcode,"localendar","width=800,height=500,scrollbars=yes,resizable=yes"); view_window.focus(); } function trim(strValue) { var intLoop=0; for(intLoop=0; intLoop=0; intLoop=strValue.length-1) { if(strValue.charAt(intLoop)==" ") strValue=strValue.substring(0,intLoop); else break; } return strValue; } // // Task-related functions // function addTask() { window.location.href="/elsie?DAM=EventEditor" } function deleteTask(index) { if (confirm("Are you sure you want to delete entry\n\""+taskList[index].title+"\" ?")) window.location.href="/elsie?DAM=TaskEditor&task_id="+taskList[index].tId+"&action=D"; } function editTask(task_id) { window.location.href="/elsie?DAM=TaskEditor&task_id="+task_id; } function AnonAddInfo() { var view_window; view_window = window.open("/elsie?JSP=AnonAddInfo", "localendar", "width=475,height=565,scrollbars=no,resizable=yes"); view_window.focus(); } // Geo-Encoding functions function hideGeoAlerts(panel){ var prefix = ""; if (panel==0){ // Event Location prefix="event"; } else if (panel==1){ // Weather Location prefix="weather"; } else if (panel==2){ // Member Location prefix="member" } $("#"+prefix+"_location_chooser").hide(); $("#"+prefix+"_location_valid").hide(); $("#"+prefix+"_location_invalid").hide(); $("#"+prefix+"_location_none").hide(); $("#"+prefix+"_lat").val(""); $("#"+prefix+"_long").val(""); $("#"+prefix+"_location_desc").val(""); } function geocodeAddress(panel){ var prefix = ""; if (panel==0){ // Event Location prefix="event"; } else if (panel==1){ // Weather Location prefix="weather"; } else if (panel==2){ // Member Location prefix="member" } hideGeoAlerts(panel); $("#"+prefix+"_geoList").empty(); var address = $("#"+prefix+"_phys_address").val(); jQuery.support.cors = true; $.getJSON("http://maps.googleapis.com/maps/api/geocode/json",{address:address,sensor:"false"}, function(data) { if (data.results.length>0) { geoData = data; if (geoData.results.length>1){ $("#"+prefix+"_geoList").append($("") .attr("value",-1) .text("-- Please select --") ); } for (i=0;i") .attr("value",i) .text(data.results[i].formatted_address) ); } } else { geoData=null; } if (geoData==null){ $("#"+prefix+"_location_none").show(); } else if (geoData.results.length==1){ storeLatLong({value:"0"},panel) $("#"+prefix+"_location_valid").show(); } else if (geoData.results.length>1) { $("#"+prefix+"_location_chooser").show(); } }); } function storeLatLong(obj,panel){ var prefix = ""; if (panel==0){ // Event Location prefix="event"; } else if (panel==1){ // Weather Location prefix="weather"; } else if (panel==2){ // Member Location prefix="member" } if (obj.value==-1){ $("#"+prefix+"_location_valid").hide(); $("#"+prefix+"_lat").val(""); $("#"+prefix+"_long").val(""); $("#"+prefix+"_location_desc").val(""); } else { $("#"+prefix+"_lat").val(geoData.results[obj.value].geometry.location.lat); $("#"+prefix+"_long").val(geoData.results[obj.value].geometry.location.lng); var desc = $("#"+prefix+"_geoList option:selected").text(); if (""==desc){ desc = $("#"+prefix+"_phys_address").val(); } $("#"+prefix+"_location_desc").val(desc); $("#"+prefix+"_location_valid").html("Location valid
("+$("#"+prefix+"_location_desc").val()+")"); $("#"+prefix+"_location_valid").show(); } } var DD_belatedPNG={ns:"DD_belatedPNG",imgSize:{},createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")}if(window.attachEvent){window.attachEvent("onbeforeunload",function(){DD_belatedPNG=null})}},createVmlStyleSheet:function(){var a=document.createElement("style");document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild);var b=a.styleSheet;if(b!=null){try{b.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}");b.addRule(this.ns+"\\:shape","position:absolute;");b.addRule("img."+this.ns+"_sizeFinder","behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;")}catch(c){}this.styleSheet=b}},readPropertyChange:function(){var a=event.srcElement;if(event.propertyName.search("background")!=-1||event.propertyName.search("border")!=-1){DD_belatedPNG.applyVML(a)}if(event.propertyName=="style.display"){var b=a.currentStyle.display=="none"?"none":"block";for(var c in a.vml){a.vml[c].shape.style.display=b}}if(event.propertyName.search("filter")!=-1){DD_belatedPNG.vmlOpacity(a)}},vmlOpacity:function(a){if(a.currentStyle.filter.search("lpha")!=-1){var b=a.currentStyle.filter;b=parseInt(b.substring(b.lastIndexOf("=")+1,b.lastIndexOf(")")),10)/100;a.vml.color.shape.style.filter=a.currentStyle.filter;a.vml.image.fill.opacity=b}},handlePseudoHover:function(a){setTimeout(function(){DD_belatedPNG.applyVML(a)},1)},fix:function(a){var b=a.split(",");for(var c=0;cc.H){l.B=c.H}a.vml.image.shape.style.clip="rect("+l.T+"px "+(l.R+d)+"px "+l.B+"px "+(l.L+d)+"px)"}else{a.vml.image.shape.style.clip="rect("+j.T+"px "+j.R+"px "+j.B+"px "+j.L+"px)"}},fixPng:function(a){a.style.behavior="none";if(a.nodeName=="BODY"||a.nodeName=="TD"||a.nodeName=="TR"){return}a.isImg=false;if(a.nodeName=="IMG"){if(a.src.toLowerCase().search(/\.png$/)!=-1){a.isImg=true;a.style.visibility="hidden"}else{return}}else if(a.currentStyle.backgroundImage.toLowerCase().search(".png")==-1){return}var b=DD_belatedPNG;a.vml={color:{},image:{}};var c={shape:{},fill:{}};for(var d in a.vml){for(var e in c){var f=b.ns+":"+e;a.vml[d][e]=document.createElement(f)}a.vml[d].shape.stroked=false;a.vml[d].shape.appendChild(a.vml[d].fill);a.parentNode.insertBefore(a.vml[d].shape,a)}a.vml.image.shape.fillcolor="none";a.vml.image.fill.type="tile";a.vml.color.fill.on=false;b.attachHandlers(a);b.giveLayout(a);b.giveLayout(a.offsetParent);b.applyVML(a)}};try{document.execCommand("BackgroundImageCache",false,true);DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet()}catch(r){} document.write(''); document.write(''); document.write('
'); document.write("") document.write("
") document.write("") document.write("
Monday, October 27 2014
 All Day
The Loneliness Of The Long-Distance Walker
Recorded 1968
Sunday
 
 
 All Day
Getting The Bird
Original Transmission 1972
Friday 20.30 - 21.00
 
 
 All Day
Everybody's Trucking
Recorded 1974
Sunday
 
 
 All Day
Gorilla Warfare
Recorded 1974
Sunday
") document.write("") document.write("") document.write("
Thursday, October 30 2014
 All Day
War Dance
Recorded 1969
Thursday
 
 
 All Day
The Day The Balloon Went Up
Original Transmission 1969
Thursday 19:30 - 20:00
 
 
 All Day
Put That Light Out!
Recorded 1970
Friday
 
 
 All Day
Absent Friends
Original Transmission 1970
Friday 20:00 - 20:30
This episode was repeated for the first time in 2012, due to the references to the IRA in the script.
The ban was lifted in 2011.
") document.write("
Friday, October 31 2014
 All Day
The Deadly Attachment
Original Transmission 1973
Wednesday 18:50 - 19:20
") document.write("") document.write("
") document.write("
"); document.write(""); document.write(""); document.write(""); document.write("
"); document.write("
") function toggleCategory(id){jQuery('.cat_'+id).toggle();var payload = new Object();payload.calendar_id=487492;payload.key='category_'+id;payload.value=jQuery('#category_' + id).is(':checked');jQuery.post('http://www.localendar.com/cal?DAM=AjaxHandler',payload)}function toggleAllCat(id,flag){if (flag){jQuery('.cat_'+id).show();}else{jQuery('.cat_'+id).hide();}var payload = new Object();payload.calendar_id=487492;payload.key='category_'+id;payload.value=jQuery('#category_' + id).is(':checked');jQuery.post('http://www.localendar.com/cal?DAM=AjaxHandler',payload)}function toggleAllCategories(id,pID ){jQuery('#'+pID).find(':checkbox').each(function(){ jQuery(this).attr('checked', jQuery('#' + id).is(':checked')); toggleAllCat(jQuery(this).attr('id').substring(9),jQuery('#cat_checkall').is(':checked')); });} document.write("
") function toggleCalendar(id){jQuery('.cal_'+id).toggle();;var payload = new Object();payload.calendar_id='487492';payload.key='m_'+id;payload.value=jQuery('#m_' + id).is(':checked');jQuery.post('http://www.localendar.com/cal?DAM=AjaxHandler',payload)}function toggleAll(id,flag){if (flag){jQuery('.cal_'+id).show();}else{jQuery('.cal_'+id).hide();}var payload = new Object();payload.calendar_id=487492;payload.key='m_'+id;payload.value=jQuery('#m_' + id).is(':checked');jQuery.post('http://www.localendar.com/cal?DAM=AjaxHandler',payload)}function toggleAllMerged(id,pID ){jQuery('#'+pID).find(':checkbox').each(function(){ jQuery(this).attr('checked', jQuery('#' + id).is(':checked')); toggleAll(jQuery(this).attr('id').substring(2),jQuery('#cal_checkall').is(':checked')); });} document.write("
 
"); document.write("
"); document.write("
"); document.write(""); document.write("Online Calendar powered by localendar.com"); document.write(""); document.write(""); document.write("RSS Calendar Feed "); document.write("iCalendar Feed"); document.write("
"); document.write("
"); // < % @ include file="/JSPScriptlets/IncludeAdSenseStaticEmbedBottom.jsp" % > document.write("");