Copying Code from One Basic Page to Another Does Not Work

I have a map with some javascript and javascript hooks set-up on a basic page called World Map.  It works great, but when I try to duplicate it by copying it to another basic page, the javascript hooks portion of the code does not work.  Here’s the code:

<script type=”text/javascript” src=”http://testsite.com/sites/all/libraries/simplemaps/mapdata.js“></script> 
<script type=”text/javascript” src=”http://testsite.com/sites/all/libraries/simplemaps/worldmap.js“></script>

<div id=”map”></div>

<script type=”text/javascript”> 
simplemaps_worldmap.hooks.click_state = function(id){
   if (id == “USTX”) {
      alert( “TEXAS” );
   } else if (id == “CA”) {
       jQuery.colorbox({width:”40%”, height:”40%”, html:'<h3>Distributors for Canada</h3><br /><p><a target=”_blank” href=”./content/af-hall-company-ltd”>AF Hall Company, Ltd</a></p><p><br />Click on the Distributor for more information</p>’});
   } else if (id == “MX”) {
       jQuery.colorbox({width:”40%”, height:”40%”, html:'<h3>Distributors for Mexico</h3><br /><p><a target=”_blank” href=”./content/tech-energy-control-sa-de-cv”>Tech Energy Control, S.A. De C.V.</a></p><p><br />Click on the Distributor for more information</p>’});
   } else if (id == “USAK”) {
       jQuery.colorbox({width:”40%”, height:”40%”, html:'<h3>Distributors for Alaska</h3><br /><p><a target=”_blank” href=”./content/henry-h-paris-dist-inc”>Henry H Paris Dist Inc</a></p><p><br />Click on the Distributor for more information</p>’});

</script>

There’s nothing that is page specific and both pages have the same settings, so I’m at a loss as to why it works on one but not the other.  Also, I’ve tried it with several different pages with no success.  Any insight as to why this is happening would be greatly appreciated.

Thanks.

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/22/feed