public
Created

Interactive Map

  • Download Gist
template-map.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
<script type="text/javascript">
$(document).ready(function() {
$("#map > #states > img")
.css("cursor","pointer")
.click(function() {
// Gets the id from the img and uses it to click the appropriate #switcher > li
  $("#_" + $(this).attr('id')).click(); 
});
switchers = $('#switchers > li');
states = $('#state_info > div');
switchers.each(function(idx) {
$(this).data('state', states.eq(idx));
}).click(function() {
 switchers.removeClass('active');
 states.removeClass('active');             
 $(this).addClass('active');  
 $(this).data('state').addClass('active');
});
});
</script>
<div id="content">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h1 id="page_title"><?php the_title(); ?></h1>
<?php the_content(); ?>
<div id="map">
<h2>Choose your state:</h2>
<div id="states">
<img id="Image-ak" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/alaska_<?php $state_type = get_post_meta(176, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="131" height="89" alt="Alaska" />
<img id="Image-hi" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/hawaii_<?php $state_type = get_post_meta(177, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="51" height="28" alt="Hawaii" />
<img id="Image-or" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/oregon_<?php $state_type = get_post_meta(178, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="60" height="51" alt="Oregon" />
<img id="Image-wa" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/washington_<?php $state_type = get_post_meta(179, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="51" height="37" alt="Washington" />
<img id="Image-id" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/idaho_<?php $state_type = get_post_meta(180, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="45" height="73" alt="Idaho" />
<img id="Image-ca" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/california_<?php $state_type = get_post_meta(181, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="60" height="102" alt="California" />
<img id="Image-nv" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/nevada_<?php $state_type = get_post_meta(182, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="48" height="73" alt="Nevada" />
<img id="Image-ut" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/utah_<?php $state_type = get_post_meta(183, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="43" height="53" alt="Utah" />
<img id="Image-az" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/arizona_<?php $state_type = get_post_meta(184, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="51" height="59" alt="Arizona" />
<img id="Image-mt" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/montana_<?php $state_type = get_post_meta(185, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="77" height="49" alt="Montana" />
<img id="Image-wy" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/wyoming_<?php $state_type = get_post_meta(186, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="52" height="44" alt="Wyoming" />
<img id="Image-co" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/colorado_<?php $state_type = get_post_meta(187, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="55" height="44" alt="Colorado" />
<img id="Image-tx" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/texas_<?php $state_type = get_post_meta(188, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="105" height="103" alt="Texas" />
<img id="Image-nm" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/new_mexico_<?php $state_type = get_post_meta(189, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="53" height="54" alt="New Mexico" />
<img id="Image-ok" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/oklahoma_<?php $state_type = get_post_meta(190, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="65" height="33" alt="Oklahoma" />
<img id="Image-ks" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/kansas_<?php $state_type = get_post_meta(191, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="55" height="30" alt="Kansas" />
<img id="Image-ne" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/nebraska_<?php $state_type = get_post_meta(192, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="62" height="31" alt="Nebraska" />
<img id="Image-sd" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/south_dakota_<?php $state_type = get_post_meta(193, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="53" height="35" alt="South Dakota" />
<img id="Image-nd" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/north_dakota_<?php $state_type = get_post_meta(194, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="49" height="31" alt="North Dakota" />
<img id="Image-mn" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/minnesota_<?php $state_type = get_post_meta(195, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="49" height="53" alt="Minnesota" />
<img id="Image-ia" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/iowa_<?php $state_type = get_post_meta(196, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="46" height="30" alt="Iowa" />
<img id="Image-mo" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/missouri_<?php $state_type = get_post_meta(197, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="50" height="44" alt="Missouri" />
<img id="Image-ar" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/arkansas_<?php $state_type = get_post_meta(198, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="38" height="34" alt="Arkansas" />
<img id="Image-la" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/louisiana_<?php $state_type = get_post_meta(199, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="43" height="37" alt="Louisiana" />
<img id="Image-wi" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/wisconsin_<?php $state_type = get_post_meta(200, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="40" height="43" alt="Wisconsin" />
<img id="Image-il" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/illinois_<?php $state_type = get_post_meta(201, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="30" height="53" alt="Illinois" />
<img id="Image-mi" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/michigan_<?php $state_type = get_post_meta(202, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="57" height="54" alt="Michigan" />
<img id="Image-ms" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/mississippi_<?php $state_type = get_post_meta(203, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="27" height="46" alt="Mississippi" />
<img id="Image-tn" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/tennesee_<?php $state_type = get_post_meta(204, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="61" height="22" alt="Tennesee" />
<img id="Image-ky" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/kentucky_<?php $state_type = get_post_meta(205, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="55" height="29" alt="Kentucky" />
<img id="Image-in" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/indiana_<?php $state_type = get_post_meta(206, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="23" height="40" alt="Indiana" />
<img id="Image-oh" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/ohio_<?php $state_type = get_post_meta(207, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="32" height="35" alt="Ohio" />
<img id="Image-al" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/alabama_<?php $state_type = get_post_meta(208, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="29" height="46" alt="Alabama" />
<img id="Image-ny" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/new_york_<?php $state_type = get_post_meta(209, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="56" height="43" alt="New York" />
<img id="Image-pa" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/pennsylvania_<?php $state_type = get_post_meta(210, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="44" height="29" alt="Pennsylvania" />
<img id="Image-va" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/virginia_<?php $state_type = get_post_meta(211, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="57" height="33" alt="Virginia" />
<img id="Image-nc" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/north_carolina_<?php $state_type = get_post_meta(212, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="66" height="29" alt="North Carolina" />
<img id="Image-sc" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/south_carolina_<?php $state_type = get_post_meta(213, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="38" height="29" alt="South Carolina" />
<img id="Image-ga" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/georgia_<?php $state_type = get_post_meta(214, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="41" height="42" alt="Georgia" />
<img id="Image-fl" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/florida_<?php $state_type = get_post_meta(215, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="69" height="52" alt="Florida" />
<img id="Image-wv" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/west_virg_<?php $state_type = get_post_meta(216, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="34" height="31" alt="West Virginia" />
<img id="Image-vt" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/vermont_<?php $state_type = get_post_meta(217, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="25" height="49" alt="Vermont" />
<img id="Image-me" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/maine_<?php $state_type = get_post_meta(218, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="28" height="44" alt="Maine" />
<img id="Image-nh" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/new_hampshire_<?php $state_type = get_post_meta(219, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="63" height="27" alt="New Hampshire" />
<img id="Image-ct" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/connecticut_<?php $state_type = get_post_meta(220, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="66" height="45" alt="Connecticut" />
<img id="Image-ma" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/massachusetts_<?php $state_type = get_post_meta(221, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="68" height="19" alt="Massachusetts" />
<img id="Image-ri" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/rhode_isl_<?php $state_type = get_post_meta(222, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="49" height="26" alt="Rhode Island" />
<img id="Image-nj" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/new_jersey_<?php $state_type = get_post_meta(223, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="73" height="57" alt="New Jersey" />
<img id="Image-de" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/delaware_<?php $state_type = get_post_meta(224, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="77" height="61" alt="Delaware" />
<img id="Image-md" src="<?php bloginfo('stylesheet_directory'); ?>/images/map/maryland_<?php $state_type = get_post_meta(225, '_state_type', TRUE);if ($state_type == 'E-Verify-All') { echo '1'; } if ($state_type == 'E-Verify-Public') { echo '2'; } if ($state_type == 'Other') { echo '3'; } if ($state_type == 'None') { echo '4'; } ?>.png" border="0" width="106" height="80" alt="Maryland" />
</div><!--states-->
<ul id="switchers">
<li class="active"></li>
<li id="_Image-ak" title="Alaska"></li>
<li id="_Image-hi" title="Hawaii"></li>
<li id="_Image-or" title="Oregon"></li>
<li id="_Image-wa" title="Washington"></li>
<li id="_Image-id" title="Idaho"></li>
<li id="_Image-ca" title="California"></li>
<li id="_Image-nv" title="Nevada"></li>
<li id="_Image-ut" title="Utah"></li>
<li id="_Image-az" title="Arizona"></li>
<li id="_Image-mt" title="Montana"></li>
<li id="_Image-wy" title="Wyoming"></li>
<li id="_Image-co" title="Colorado"></li>
<li id="_Image-tx" title="Texas"></li>
<li id="_Image-nm" title="New Mexico"></li>
<li id="_Image-ok" title="Oklahoma"></li>
<li id="_Image-ks" title="Kansas"></li>
<li id="_Image-ne" title="Nebraska"></li>
<li id="_Image-sd" title="South Dakota"></li>
<li id="_Image-nd" title="North Dakota"></li>
<li id="_Image-mn" title="Minnesota"></li>
<li id="_Image-ia" title="Iowa"></li>
<li id="_Image-mo" title="Missouri"></li>
<li id="_Image-ar" title="Arkansas"></li>
<li id="_Image-la" title="Louisiana"></li>
<li id="_Image-wi" title="Wisconsin"></li>
<li id="_Image-il" title="Illinois"></li>
<li id="_Image-mi" title="Michigan"></li>
<li id="_Image-ms" title="Mississippi"></li>
<li id="_Image-tn" title="Tennesee"></li>
<li id="_Image-ky" title="Kentucky"></li>
<li id="_Image-in" title="Indiana"></li>
<li id="_Image-oh" title="Ohio"></li>
<li id="_Image-al" title="Alabama"></li>
<li id="_Image-ny" title="New York"></li>
<li id="_Image-pa" title="Pennsylvania"></li>
<li id="_Image-va" title="Virginia"></li>
<li id="_Image-nc" title="North Carolina"></li>
<li id="_Image-sc" title="South Carolina"></li>
<li id="_Image-ga" title="Georgia"></li>
<li id="_Image-fl" title="Florida"></li>
<li id="_Image-wv" title="West Virginia"></li>
<li id="_Image-vt" title="Vermont"></li>
<li id="_Image-me" title="Maine"></li>
<li id="_Image-nh" title="New Hampshire"></li>
<li id="_Image-ct" title="Connecticut"></li>
<li id="_Image-ma" title="Massachusetts"></li>
<li id="_Image-md" title="Maryland"></li>
<li id="_Image-ri" title="Rhode Island"></li>
<li id="_Image-nj" title="New Jersey"></li>
<li id="_Image-de" title="Delaware"></li>
</ul>
<ul id="mapkey">
<li><strong>Key:</strong></li>
<li><div class="dkgrey"></div>E-Verify Required, All Employers</li>
<li><div class="blue"></div>E-Verify Required, Public Employers</li>
<li><div class="tan"></div>Other Legislation</li>
<li><div class="ltgrey"></div>No Action</li>
</ul>
</div>
<div id="state_info">
<div class="active">Click a state to see its info.</div>
<div id="__Image-ak"><h2><?php $var_id = 176; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-hi"><h2><?php $var_id = 177; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-or"><h2><?php $var_id = 178; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-wa"><h2><?php $var_id = 179; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-id"><h2><?php $var_id = 180; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ca"><h2><?php $var_id = 181; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Imaget-nv"><h2><?php $var_id = 182; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ut"><h2><?php $var_id = 183; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-az"><h2><?php $var_id = 184; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-mt"><h2><?php $var_id = 185; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-wy"><h2><?php $var_id = 186; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-co"><h2><?php $var_id = 187; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-tx"><h2><?php $var_id = 188; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-nm"><h2><?php $var_id = 189; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ok"><h2><?php $var_id = 190; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ks"><h2><?php $var_id = 191; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ne"><h2><?php $var_id = 192; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-sd"><h2><?php $var_id = 193; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-nd"><h2><?php $var_id = 194; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-mn"><h2><?php $var_id = 195; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ia"><h2><?php $var_id = 196; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-mo"><h2><?php $var_id = 197; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ar"><h2><?php $var_id = 198; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-la"><h2><?php $var_id = 199; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-wi"><h2><?php $var_id = 200; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-il"><h2><?php $var_id = 201; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-mi"><h2><?php $var_id = 202; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ms"><h2><?php $var_id = 203; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-tn"><h2><?php $var_id = 204; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ky"><h2><?php $var_id = 205; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-in"><h2><?php $var_id = 206; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-oh"><h2><?php $var_id = 207; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-al"><h2><?php $var_id = 208; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ny"><h2><?php $var_id = 209; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-pa"><h2><?php $var_id = 210; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-va"><h2><?php $var_id = 211; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-nc"><h2><?php $var_id = 212; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-sc"><h2><?php $var_id = 213; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ga"><h2><?php $var_id = 214; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-fl"><h2><?php $var_id = 215; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-wv"><h2><?php $var_id = 216; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-vt"><h2><?php $var_id = 217; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-me"><h2><?php $var_id = 218; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-nh"><h2><?php $var_id = 219; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ct"><h2><?php $var_id = 220; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ma"><h2><?php $var_id = 221; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-md"><h2><?php $var_id = 225; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-ri"><h2><?php $var_id = 222; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-nj"><h2><?php $var_id = 223; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
<div id="__Image-de"><h2><?php $var_id = 224; echo get_the_title($var_id); ?></h2><?php $content_post = get_post($var_id); $content = get_post_field('post_content', $var_id); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]>', $content); echo $content; ?></div>
</div>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.