{"id":109,"date":"2009-03-19T14:58:18","date_gmt":"2009-03-19T18:58:18","guid":{"rendered":"http:\/\/psischools.com\/public\/?page_id=109"},"modified":"2011-03-30T11:12:58","modified_gmt":"2011-03-30T15:12:58","slug":"email-sign-up","status":"publish","type":"page","link":"http:\/\/psischools.com\/public\/?page_id=109","title":{"rendered":"Email sign-up"},"content":{"rendered":"<div id=\"doc\"><!-- Header --><\/p>\n<div id=\"hd\">\n<h3>Penn State Industries School Woodworking Division  e-mail list<\/h3>\n<\/div>\n<p><!-- Body --><\/p>\n<div id=\"bd\"><!-- Begin MailChimp Signup Form --><br \/>\n<!--[if IE]>\n\n\n<style type=\"text\/css\" media=\"screen\">\n\t#mc_embed_signup fieldset {position: relative;}\n\t#mc_embed_signup legend {position: absolute; top: -1em; left: .2em;}\n<\/style>\n\n\n<![endif]--><br \/>\n<!--[if IE 7]>\n\n\n<style type=\"text\/css\" media=\"screen\">\n\t.mc-field-group {overflow:visible;}\n<\/style>\n\n\n<![endif]--><\/p>\n<div id=\"mc_embed_signup\">\n<form action=\"http:\/\/psischools.us2.list-manage1.com\/subscribe\/post?u=04e67e18a6ba3fc80a701e87a&amp;id=2f7fadac82\" method=\"post\" id=\"mc-embedded-subscribe-form\" name=\"mc-embedded-subscribe-form\" class=\"validate\" target=\"_blank\" style=\"font: normal 100% Arial, sans-serif;font-size: 10px;\">\n<fieldset style=\"-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;border: 1px solid #ccc;padding-top: 1.5em;margin: .5em 0;background-color: #fff;color: #000;text-align: left;\">\n<legend style=\"white-space: normal;text-transform: capitalize;font-weight: bold;color: #000;background: #fff;padding: .5em 1em;border: 1px solid #ccc;-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;font-size: 1.2em;\"><span>join our mailing list<\/span><\/legend>\n<div class=\"indicate-required\" style=\"text-align: right;font-style: italic;overflow: hidden;color: #000;margin: 0 9% 0 0;\">* indicates required<\/div>\n<div class=\"mc-field-group\" style=\"margin: 1.3em 5%;clear: both;overflow: hidden;\">\n<label for=\"mce-EMAIL\" style=\"display: block;margin: .3em 0;line-height: 1em;font-weight: bold;\">Email Address <strong class=\"note-required\">*<\/strong><br \/>\n<\/label><br \/>\n<input type=\"text\" value=\"\" name=\"EMAIL\" class=\"required email\" id=\"mce-EMAIL\" style=\"margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;\">\n<\/div>\n<div class=\"mc-field-group\" style=\"margin: 1.3em 5%;clear: both;overflow: hidden;\">\n<label for=\"mce-FNAME\" style=\"display: block;margin: .3em 0;line-height: 1em;font-weight: bold;\">First Name <strong class=\"note-required\">*<\/strong><br \/>\n<\/label><br \/>\n<input type=\"text\" value=\"\" name=\"FNAME\" class=\"required\" id=\"mce-FNAME\" style=\"margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;\">\n<\/div>\n<div class=\"mc-field-group\" style=\"margin: 1.3em 5%;clear: both;overflow: hidden;\">\n<label for=\"mce-LNAME\" style=\"display: block;margin: .3em 0;line-height: 1em;font-weight: bold;\">Last Name <strong class=\"note-required\">*<\/strong><br \/>\n<\/label><br \/>\n<input type=\"text\" value=\"\" name=\"LNAME\" class=\"required\" id=\"mce-LNAME\" style=\"margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;\">\n<\/div>\n<div class=\"mc-field-group\" style=\"margin: 1.3em 5%;clear: both;overflow: hidden;\">\n<label for=\"mce-MMERGE3\" style=\"display: block;margin: .3em 0;line-height: 1em;font-weight: bold;\">Title <\/label><br \/>\n<input type=\"text\" value=\"\" name=\"MMERGE3\" class=\"\" id=\"mce-MMERGE3\" style=\"margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;\">\n<\/div>\n<div class=\"mc-field-group\" style=\"margin: 1.3em 5%;clear: both;overflow: hidden;\">\n<label for=\"mce-MMERGE4\" style=\"display: block;margin: .3em 0;line-height: 1em;font-weight: bold;\">School <strong class=\"note-required\">*<\/strong><br \/>\n<\/label><br \/>\n<input type=\"text\" value=\"\" name=\"MMERGE4\" class=\"required\" id=\"mce-MMERGE4\" style=\"margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;\">\n<\/div>\n<div id=\"mce-responses\" style=\"float: left;top: -1.4em;padding: 0em .5em 0em .5em;overflow: hidden;width: 90%;margin: 0 5%;clear: both;\">\n<div class=\"response\" id=\"mce-error-response\" style=\"display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: FBE3E4;color: #D12F19;\"><\/div>\n<div class=\"response\" id=\"mce-success-response\" style=\"display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: #E3FBE4;color: #529214;\"><\/div>\n<\/p><\/div>\n<div><input type=\"submit\" value=\"Subscribe\" name=\"subscribe\" id=\"mc-embedded-subscribe\" class=\"btn\" style=\"clear: both;width: auto;display: block;margin: 1em 0 1em 5%;\"><\/div>\n<\/fieldset>\n<p>\t<a href=\"#\" id=\"mc_embed_close\" class=\"mc_embed_close\" style=\"display: none;\">Close<\/a><br \/>\n<\/form>\n<\/div>\n<p><script  type=\"text\/javascript\">\ntry {\n    var jqueryLoaded=jQuery;\n    jqueryLoaded=true;\n} catch(err) {\n    var jqueryLoaded=false;\n}\nif (!jqueryLoaded) {\n    var head= document.getElementsByTagName('head')[0];\n    var script= document.createElement('script');\n    script.type= 'text\/javascript';\n    script.src= 'http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.4.4\/jquery.min.js';\n    head.appendChild(script);    \n}\n<\/script><br \/>\n<script type=\"text\/javascript\" src=\"http:\/\/downloads.mailchimp.com\/js\/jquery.form-n-validate.js\"><\/script><\/p>\n<p><script type=\"text\/javascript\">\nvar fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='MMERGE3';ftypes[3]='text';fnames[4]='MMERGE4';ftypes[4]='text';var err_style = '';\ntry{\n    err_style = mc_custom_error_style;\n} catch(e){\n    err_style = 'margin: 1em 0 0 0; padding: 1em 0.5em 0.5em 0.5em; background: FFEEEE none repeat scroll 0% 0%; font-weight: bold; float: left; z-index: 1; width: 80%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: FF0000;';\n}\nvar head= document.getElementsByTagName('head')[0];\nvar style= document.createElement('style');\nstyle.type= 'text\/css';\nif (style.styleSheet) {\n  style.styleSheet.cssText = '.mce_inline_error {' + err_style + '}';\n} else {\n  style.appendChild(document.createTextNode('.mce_inline_error {' + err_style + '}'));\n}\nhead.appendChild(style);\n$(document).ready( function($) {\n  var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){}  };\n  var mce_validator = $(\"#mc-embedded-subscribe-form\").validate(options);\n  options = { url: 'http:\/\/psischools.us2.list-manage.com\/subscribe\/post-json?u=04e67e18a6ba3fc80a701e87a&id=2f7fadac82&c=?', type: 'GET', dataType: 'json', contentType: \"application\/json; charset=utf-8\",\n                beforeSubmit: function(){\n                    $('#mce_tmp_error_msg').remove();\n                    $('.datefield','#mc_embed_signup').each(\n                        function(){\n                            var txt = 'filled';\n                            var fields = new Array();\n                            var i = 0;\n                            $(':text', this).each(\n                                function(){\n                                    fields[i] = this;\n                                    i++;\n                                });\n                            $(':hidden', this).each(\n                                function(){\n                                \tif ( fields[0].value=='MM' && fields[1].value=='DD' && fields[2].value=='YYYY' ){\n                                \t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t} else if ( fields[0].value=='' && fields[1].value=='' && fields[2].value=='' ){\n                                \t\tthis.value = '';\n\t\t\t\t\t\t\t\t\t} else {\n\t                                    this.value = fields[0].value+'\/'+fields[1].value+'\/'+fields[2].value;\n\t                                }\n                                });\n                        });\n                    return mce_validator.form();\n                }, \n                success: mce_success_cb\n            };\n  $('#mc-embedded-subscribe-form').ajaxForm(options);<\/p>\n<p>});\nfunction mce_success_cb(resp){\n    $('#mce-success-response').hide();\n    $('#mce-error-response').hide();\n    if (resp.result==\"success\"){\n        $('#mce-'+resp.result+'-response').show();\n        $('#mce-'+resp.result+'-response').html(resp.msg);\n        $('#mc-embedded-subscribe-form').each(function(){\n            this.reset();\n    \t});\n    } else {\n        var index = -1;\n        var msg;\n        try {\n            var parts = resp.msg.split(' - ',2);\n            if (parts[1]==undefined){\n                msg = resp.msg;\n            } else {\n                i = parseInt(parts[0]);\n                if (i.toString() == parts[0]){\n                    index = parts[0];\n                    msg = parts[1];\n                } else {\n                    index = -1;\n                    msg = resp.msg;\n                }\n            }\n        } catch(e){\n            index = -1;\n            msg = resp.msg;\n        }\n        try{\n            if (index== -1){\n                $('#mce-'+resp.result+'-response').show();\n                $('#mce-'+resp.result+'-response').html(msg);            \n            } else {\n                err_id = 'mce_tmp_error_msg';\n                html = '<\/p>\n<div id=\"'+err_id+'\" style=\"'+err_style+'\"> '+msg+'<\/div>\n<p>';<\/p>\n<p>                var input_id = '#mc_embed_signup';\n                var f = $(input_id);\n                if (ftypes[index]=='address'){\n                    input_id = '#mce-'+fnames[index]+'-addr1';\n                    f = $(input_id).parent().parent().get(0);\n                } else if (ftypes[index]=='date'){\n                    input_id = '#mce-'+fnames[index]+'-month';\n                    f = $(input_id).parent().parent().get(0);\n                } else {\n                    input_id = '#mce-'+fnames[index];\n                    f = $().parent(input_id).get(0);\n                }\n                if (f){\n                    $(f).append(html);\n                    $(input_id).focus();\n                } else {\n                    $('#mce-'+resp.result+'-response').show();\n                    $('#mce-'+resp.result+'-response').html(msg);\n                }\n            }\n        } catch(e){\n            $('#mce-'+resp.result+'-response').show();\n            $('#mce-'+resp.result+'-response').html(msg);\n        }\n    }\n}\n<\/script><br \/>\n<!--End mc_embed_signup--><\/div>\n<p><!-- Footer --><\/p>\n<div id=\"ft\">&copy; 2009<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Penn State Industries School Woodworking Division e-mail list join our mailing list * indicates required Email Address * First Name * Last Name * Title School * Close &copy; 2009<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-109","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/psischools.com\/public\/index.php?rest_route=\/wp\/v2\/pages\/109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/psischools.com\/public\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/psischools.com\/public\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/psischools.com\/public\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/psischools.com\/public\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=109"}],"version-history":[{"count":9,"href":"http:\/\/psischools.com\/public\/index.php?rest_route=\/wp\/v2\/pages\/109\/revisions"}],"predecessor-version":[{"id":242,"href":"http:\/\/psischools.com\/public\/index.php?rest_route=\/wp\/v2\/pages\/109\/revisions\/242"}],"wp:attachment":[{"href":"http:\/\/psischools.com\/public\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}