{"id":13,"date":"2015-02-03T19:10:28","date_gmt":"2015-02-04T01:10:28","guid":{"rendered":"http:\/\/swmsbeekeepers.org\/?page_id=13"},"modified":"2015-02-03T21:27:29","modified_gmt":"2015-02-04T03:27:29","slug":"upcoming-events","status":"publish","type":"page","link":"http:\/\/swmsbeekeepers.org\/?page_id=13","title":{"rendered":"Upcoming Events"},"content":{"rendered":"  <input type=\"hidden\" id=\"cal_width1\" value=\"700\" \/> \n  <div id='bigcalendar1'><\/div>\n  <script> \n    var tb_pathToImage = \"http:\/\/swmsbeekeepers.org\/wp-content\/plugins\/spider-event-calendar\/images\/loadingAnimation.gif\";\n    var tb_closeImage = \"http:\/\/swmsbeekeepers.org\/wp-content\/plugins\/spider-event-calendar\/images\/tb-close.png\"\n\tvar randi;\n    if (typeof showbigcalendar != 'function') {\n      function showbigcalendar(id, calendarlink, randi,widget) {\n        var xmlHttp;\n        try {\n          xmlHttp = new XMLHttpRequest();\/\/ Firefox, Opera 8.0+, Safari\n        }\n        catch (e) {\n          try {\n            xmlHttp = new ActiveXObject(\"Msxml2.XMLHTTP\"); \/\/ Internet Explorer\n          }\n          catch (e) {\n            try {\n              xmlHttp = new ActiveXObject(\"Microsoft.XMLHTTP\");\n            }\n            catch (e) {\n              alert(\"No AJAX!?\");\n              return false;\n            }\n          }\n        }\n        xmlHttp.onreadystatechange = function () {\n          if (xmlHttp.readyState == 4) {\n            jQuery('#' + id).html(xmlHttp.responseText);\n          }\n        }\n        xmlHttp.open(\"GET\", calendarlink, false);\n        xmlHttp.send();\n\t jQuery(document).ready(function (){\n     jQuery('#views_select').toggle(function () {\t\n    jQuery('#drop_down_views').stop(true, true).delay(200).slideDown(500);\n  }, function () { \n    jQuery('#drop_down_views').stop(true, true).slideUp(500);\t\n  });\n\t});\nif(widget!=1)\n{\n  if(jQuery(window).width() > 640)\n  {\n\tjQuery('drop_down_views').hide();\n\t\tvar parent_width = document.getElementById('bigcalendar'+randi).parentNode.clientWidth;\n\t\tvar calwidth=  document.getElementById('cal_width'+randi).value;\n\t\tvar responsive_width = (calwidth)\/parent_width*100;\n\t\tdocument.getElementById('afterbig'+randi).setAttribute('style','width:'+responsive_width+'%;');\n\t\tjQuery('pop_table').css('height','100%');\n  }\n else if(jQuery(jQuery('#bigcalendar'+randi).parent()).width() > 640)\n  {\n\tjQuery('drop_down_views').hide();\n\t\tvar parent_width = document.getElementById('bigcalendar'+randi).parentNode.clientWidth;\n\t\tvar calwidth=  document.getElementById('cal_width'+randi).value;\n\t\tvar responsive_width = (calwidth)\/parent_width*100;\n\t\tdocument.getElementById('afterbig'+randi).setAttribute('style','width:'+responsive_width+'%;');\n\t\tjQuery('pop_table').css('height','100%');\n  } \n\telse\n\t{\n\t\t\tdocument.getElementById('afterbig'+randi).setAttribute('style','width:100%;');\t\n\t}\n}\n        var thickDims, tbWidth, tbHeight;\n        jQuery(document).ready(function ($) {\n          thickDims = function () {\n\t\t\tjQuery('#TB_window iframe').css('margin-left','0%');\n\t\t\tjQuery('#TB_window iframe').css('margin-top','0%');\n\t\t\tjQuery('#TB_window iframe').css('margin-left','0%');\n\t\t\tjQuery('#TB_window iframe').css('margin-top','0%');\t\t\t\n\t\t\tjQuery('#TB_window iframe').css('padding-left','0%');\n\t\t\tjQuery('#TB_window iframe').css('padding-top','0%');\t\t\n             var tbWindow = $('#TB_window'), H = $(window).height(), W = $(window).width(), w, h;\n            if (tbWidth) {\n              if (tbWidth < (W - 90)) w = tbWidth; else  w = W - 200;\n            } else w = W - 200;\n            if (tbHeight) {\n              if (tbHeight < (H - 90)) h = tbHeight; else  h = H - 200;\n            } else h = H - 200;\t\t\t\n            if (tbWindow.size()) {\n              tbWindow.width(w).height(h);\n              $('#TB_iframeContent').width(w).height(h - 27);\n              tbWindow.css({'margin-left':'-' + parseInt((w \/ 2), 10) + 'px'});\n              if (typeof document.body.style.maxWidth != 'undefined')\n                tbWindow.css({'top':(H - h) \/ 2, 'margin-top':'0'});\n            }\n\t\t\t if(jQuery(window).width() < 640 ){\n\t\t\t  var tb_left = parseInt((w \/ 2), 10) + 20;\n\t\t\t\tjQuery('#TB_window').css('left', tb_left + 'px')\n\t\t\t\tjQuery('#TB_window').css('width','90%');\n\t\t\t\tjQuery('#TB_window').css('margin-top','-13%');\n\t\t\t\tjQuery('#TB_window iframe').css('height','100%');\n\t\t\t\tjQuery('#TB_window iframe').css('width','100%');\n\t\t\t}\n\t\t\t   if(jQuery(window).width() > 640 )\n\t\t\t   {\n\t\t\t\t\tjQuery('#TB_window').css('left','50%');\n\t\t\t\t}\n\t\tif (typeof popup_width_from_src != \"undefined\") {\n\t\t\t\tpopup_width_from_src=jQuery('.thickbox-previewbigcalendar'+randi).attr('href').indexOf('tbWidth=');\n\t\t\t\tstr=jQuery('.thickbox-previewbigcalendar'+randi).attr('href').substr(popup_width_from_src+8,150)\n\t\t\t\tfind_amp=str.indexOf('&');\n\t\t\t\twidth_orig=str.substr(0,find_amp);\t\t\t\t\n\t\t\t\tfind_eq=str.indexOf('=');\n\t\t\t\theight_orig=str.substr(find_eq+1,5);\n\t\t\tjQuery('#TB_window').css('max-width',width_orig+'px');\n\t\t\tjQuery('#TB_window iframe').css('max-width',width_orig+'px');\n\t\t\tjQuery('#TB_window').css('max-height',height_orig+'px');\n\t\t\t}\t\t\t\n\t\t\tjQuery('#TB_window').css('background','none');\n\t\t\tjQuery('#TB_window').css('background-color','none');\n\t\t\tjQuery('#TB_window iframe').css('background-color','none');\t\t\t\n          };\n          thickDims();\n          $(window).resize(function () {\n            thickDims();\n\t\t\tif(jQuery(window).width() < 640 ){\n\t\t\t\tjQuery('#TB_window').css('width','90%');\n\t\t\t\tjQuery('#TB_window').css('margin-top','-13%');\n\t\t\t\tjQuery('#TB_window iframe').css('height','100%');\n\t\t\t\tjQuery('#TB_window').css('height','100%');\n\t\t\t}\t\t\nif(jQuery(window).width() > 900 )\n\t\t\t   {\n\t\t\t\t\tjQuery('#TB_window').css('left','50%');\t\t\t\t\t\t\n\t\t\t\t}\n\t\t  });\t\t  \n          $('a.thickbox-preview' + id).click(function () {\n            tb_click.call(this);\n            var alink = jQuery(this).parents('.available-theme').find('.activatelink'), link = '', href = jQuery(this).attr('href'), url, text;\n            var reg_with = new RegExp(xx_cal_xx + \"tbWidth=[0-9]+\");\t\n            if (tbWidth = href.match(reg_with))\n              tbWidth = parseInt(tbWidth[0].replace(\/[^0-9]+\/g, ''), 10);\n            else\n              tbWidth = jQuery(window).width() - 90;\n            var reg_heght = new RegExp(xx_cal_xx + \"tbHeight=[0-9]+\");\n            if (tbHeight = href.match(reg_heght))\n              tbHeight = parseInt(tbHeight[0].replace(\/[^0-9]+\/g, ''), 10);\n            else\n              tbHeight = jQuery(window).height() - 60;\n            jQuery('#TB_title').css({'background-color':'#222', 'color':'#dfdfdf'});\n            jQuery('#TB_closeAjaxWindow').css({'float':'left'});\n            jQuery('#TB_ajaxWindowTitle').css({'float':'right'}).html(link);\t\t\t\n            jQuery('#TB_iframeContent').width('100%');\n            thickDims();\t\t\t\n            return false;\t\t\t\n          });\t\t  \t\n        });\n      }\n    }\t\n    document.onkeydown = function (evt) {\n      evt = evt || window.event;\n      if (evt.keyCode == 27) {\n        document.getElementById('sbox-window').close();\n      }\n    };\n     showbigcalendar('bigcalendar1', 'http:\/\/swmsbeekeepers.org\/wp-admin\/admin-ajax.php?action=spiderbigcalendar_month&theme_id=13&calendar=1&select=month,list,week,day,&date=2021-04&months&many_sp_calendar=1&cur_page_url=http%3A%2F%2Fswmsbeekeepers.org%2F%3Fpage_id%3D13&widget=0&rand=1','1','0');\t  \n  <\/script>\n<style>\n#TB_iframeContent{\n\theight: 100% !important;\n}\n#TB_window{\n\tz-index: 1000000;\n}\n<\/style>\n  \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/swmsbeekeepers.org\/index.php?rest_route=\/wp\/v2\/pages\/13"}],"collection":[{"href":"http:\/\/swmsbeekeepers.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/swmsbeekeepers.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/swmsbeekeepers.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/swmsbeekeepers.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13"}],"version-history":[{"count":2,"href":"http:\/\/swmsbeekeepers.org\/index.php?rest_route=\/wp\/v2\/pages\/13\/revisions"}],"predecessor-version":[{"id":119,"href":"http:\/\/swmsbeekeepers.org\/index.php?rest_route=\/wp\/v2\/pages\/13\/revisions\/119"}],"wp:attachment":[{"href":"http:\/\/swmsbeekeepers.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}