share_popup = new Kidzbop.ShareContentPopup("game");
share_popup.updateContent("\n<div class=\"new_popup_content\">\n  <h1><img alt=\"SHARE THIS VIDEO\" class=\"pngfix\" src=\"http://3530.voxcdn.com/images/page-send/h1-share_this_game.png\" /></h1>\n  <div id=\"content_info\">\n    <img alt=\"Thumbnail__pig_110x110_promo\" class=\"thumbnail\" height=\"113\" src=\"http://3530.voxcdn.com/uploads/game/259/thumbnail__pig_110x110_promo.png?1248811423\" width=\"113\" />\n    <h3 class=\"game_info\">Pig On the Rocket</h3>\n    <p class=\"game_info\">Steer to collect rocket fuel and food for your rocket-riding piggy. But dont fly into Flappy the Bird!</p>\n    <div class=\"clear_left\"></div>\n  </div>\n  \n<div class=\"option\" id=\"im_option\">\n  <h3><img alt=\"SHARE A LINK TO THIS BY IM, CHAT OR FACEBOOK\" src=\"http://3530.voxcdn.com/images/page-send/h3-share_game_by_im.png\" /></h3>\n  <p id=\"success_msg\" style=\"display:none\">Message copied.</p>\n  <div class=\"step\">\n    <h4><img alt=\"1\" class=\"pngfix\" src=\"http://3530.voxcdn.com/images/page-home/h4-nr1.png?1328172171\" /></h4>\n    <p class=\"short_message\" id=\"copy_msg\">Click <span>HERE</span> to copy <img alt=\"\" class=\"pngfix\" src=\"http://3530.voxcdn.com/images/page-home/arrow.png?1328172171\" /></p>\n  </div>\n  <div class=\"step\">\n    <h4><img alt=\"2\" class=\"pngfix\" src=\"http://3530.voxcdn.com/images/page-home/h4-nr2.png?1328172171\" /></h4>\n    <p class=\"long_message\">Then paste into an IM, chat or Facebook post.</p>\n  </div>\n</div>\n\n  \n\n<div class=\"option\" id=\"email_option\">\n  <form action=\"/send/save_not_logged_user_emails?object_class=Plaything&amp;object_id=259\" id=\"send_to_friend_form\" method=\"post\" onsubmit=\"new Ajax.Request('/send/save_not_logged_user_emails?object_class=Plaything&amp;object_id=259', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)}); return false;\">\n    <h3><img alt=\"SHARE A LINK TO THIS BY EMAIL:\" src=\"http://3530.voxcdn.com/images/page-send/h3-share_game_by_email.png\" /></h3>\n    <div id=\"sent_confirmation\"></div>\n    <div id=\"email_boxes\">\n      \n<div class=\"step\">\n  \n    <h4><img alt=\"1\" class=\"pngfix\" src=\"http://3530.voxcdn.com/images/page-home/h4-nr1.png?1328172171\" /></h4>\n  \n  <p class=\"short_message\"><input class=\"send_to_friend_email_field\" id=\"friend_emails_\" name=\"friend_emails[]\" onfocus=\"if (this.value == 'To: Enter email address here') {this.value = '' }\" type=\"text\" value=\"To: Enter email address here\" /></p>\n</div>\n\n      <a href=\"#\" id=\"add_more\" onclick=\"$('share_content_popup').style.height = ($('share_content_popup').getHeight() + 71) +'px'\nElement.insert(&quot;add_more&quot;, { before: &quot;\\n&lt;div class=\\&quot;step\\&quot;&gt;\\n  \\n  &lt;p class=\\&quot;short_message\\&quot;&gt;&lt;input class=\\&quot;send_to_friend_email_field\\&quot; id=\\&quot;friend_emails_\\&quot; name=\\&quot;friend_emails[]\\&quot; onfocus=\\&quot;if (this.value == 'To: Enter email address here') {this.value = '' }\\&quot; type=\\&quot;text\\&quot; value=\\&quot;To: Enter email address here\\&quot; /&gt;&lt;/p&gt;\\n&lt;/div&gt;\\n&quot; });\n$('im_option').style.height = ($('email_option').getHeight() - 52) +'px'; return false;\">+ ADD MORE</a>\n    </div>\n    <div class=\"step\">\n      <div id=\"email_error_message\" style=\"display:none;\">\n\tOops! The email addres(es) highlighted above <br /> isn't working. Check to make sure its right and try again.\n      </div>\n      <h4><img alt=\"2\" class=\"pngfix\" src=\"http://3530.voxcdn.com/images/page-home/h4-nr2.png?1328172171\" /></h4>\n      <p class=\"short_message\" onclick=\"if (validateEmailsAndSubmit(false,'fff')) { $('send_to_friend_form').onsubmit()}\" id=\"invite_friends_submit\">Click <span>HERE</span> to send <img alt=\"\" class=\"pngfix\" src=\"http://3530.voxcdn.com/images/page-home/arrow.png?1328172171\" /></p>\n    </div>\n  </form>\n</div>\n\n  <div class=\"clear_left\"></div>\n  \n</div>\n<script type=\"text/javascript\">\n//<![CDATA[\n\n  ZeroClipboard.setMoviePath('/flash/ZeroClipboard.swf?nocache='+new Date().getTime());\n  var clip = new ZeroClipboard.Client();\n  clip.setText('Hey! Check out this game on KIDZBOP.com: http://www.kidzbop.com/games/pig-on-the-rocket?utm_source=kblink&utm_medium=share_game&utm_campaign=kblink');\n  clip.addEventListener( 'onComplete', function() {$('success_msg').show();});\n  clip.setHandCursor(true);\n  clip.glue('copy_msg');\n  var html = clip.getHTML( 279, 42 )\n  Element.insert('copy_msg',{before : html});\n\n  new HackedAutocompleter('friend_login', 'found_friends', '/send/get_friends', {\n            updateElement: Kidzbop.Send.selectFriend,\n      indicator: 'search_friend_indicator',\n      callback: Kidzbop.Send.addSelectedFriendsIds\n  });\n\n\n//]]>\n</script>\n");
share_popup.open();
