// $("#header_main_overlay").append(); var CaptchaCallback = function(){ $('.g-recaptcha').each(function(){ grecaptcha.render(this,{ 'sitekey' : '6LchRfMSAAAAAPjJpjYozyb0Tr4j1rqAPF2PINgF', 'callback' : recap_btn }); }) }; function employee_btn(){ $.getScript( "https://int4.greenecountymo.gov/script/verification.js" ).done(function( script, textStatus ) { window.location.href = "https://int4.greenecountymo.gov"; }).fail(function( jqxhr, settings, exception ) { alert("You must access this section from Greene County's Network!"); }); } function recap_btn(){ if(typeof recaptcha_return == "function"){ recaptcha_return(); } } function open_tab(evt){ evt.stopPropagation(); var temp_link = $(evt.target).closest("a"); if(temp_link.next('ul').is(":visible")){ temp_link.parent().parent().children("li").each(function() { $(this).children('ul').hide(); }); }else{ var tmp_ul = temp_link.next("ul"); temp_link.parent().parent().children("li").each(function() { $(this).children('ul').hide(); }); tmp_ul.show(); var head_bar = 0; if($("#head_bar").length){ head_bar = $("#head_bar").height(); } $('html, body').animate({ scrollTop: $(evt.target).parent().offset().top - head_bar },300); } } function open_tab2(evt){ evt.stopPropagation(); var temp_ul = $(evt.target).closest("a").next("ul"); if(temp_ul.is(":visible")){ temp_ul.hide(); }else{ temp_ul.show(); } } function getCookie(cname) { var name = cname + "="; var ca = document.cookie.split(';'); for(var i = 0; i