Dialog.instance().open({"title":"Email It","content":"\n<form action=\"\/bookstore\/email_it\" method=\"post\" onsubmit=\"cursor_wait(this); new Ajax.Request('\/bookstore\/email_it', {asynchronous:true, evalScripts:true, onLoaded:function(request){cursor_clear(this)}, parameters:Form.serialize(this)}); return false;\">\n    <div id=\"email-it-body\">\n    \n        <input type=\"hidden\" name=\"id\" value=\"156779\">\n       \n        <label>Want to share this book?  We can email a link for you.<\/label><br \/><br \/>\n        <div id=\"emailItErrors\">\n            \n        <\/div>\n\n    \t<label>To<\/label> (Separate email addresses with a comma)<br \/>\n\n    \t<span class=\"small\">Limited to 50 email addresses<\/span><br \/>\n\n    \t<textarea cols=\"40\" id=\"email_invite_to\" name=\"email_invite[to]\" rows=\"5\" style=\"width: 255px;\"><\/textarea>\n\n    \t<span class=\"popupErrorMessage\" style=\"display:none\" id=\"requiredMarker_to\">*<\/span><br \/>\n\n    \t<label>Your Name<\/label><br \/>\n\n    \t<input class=\"textfield\" id=\"email_invite_from_name\" name=\"email_invite[from_name]\" size=\"30\" style=\"width: 255px;\" type=\"text\" \/>\n\n    \t<span class=\"popupErrorMessage\" style=\"display:none\" id=\"requiredMarker_from_name\">*<\/span><br \/>\n\n    \t<label>Your Email Address<\/label><br \/>\n\n    \t<input class=\"textfield\" id=\"email_invite_from_email\" name=\"email_invite[from_email]\" size=\"30\" style=\"width: 255px;\" type=\"text\" \/>\n\n    \t<span class=\"popupErrorMessage\" style=\"display:none\" id=\"requiredMarker_from_email\">*<\/span>\n\n    \t<div style=\"clear: both; border: 0px solid black;\"><\/div>\n    \t<div style=\"height: 15px; display: block; overflow: hidden;\"><\/div>\n\n      <div class=\"buttonPanel\" style=\"\">\n      \t<a href=\"#\" onclick=\"Dialog.instance().dismiss();; return false;\"><img alt=\"Cancel_normal\" onmouseout=\"this.src='\/images\/buttons\/cancel_normal.png'\" onmouseover=\"this.src='\/images\/buttons\/cancel_hover.png'\" src=\"\/images\/buttons\/cancel_normal.png?1210287711\" \/><\/a>\n          &nbsp;&nbsp;\n          <input alt=\"Register\" id=\"submitEmailItButton\" onclick=\" this.disabled=true;  if (this.form.onsubmit) { return this.form.onsubmit(); } else { return this.form.submit(); } \" onmouseout=\"this.src='\/images\/buttons\/send_normal.png'\" onmouseover=\"this.src='\/images\/buttons\/send_hover.png'\" src=\"\/images\/buttons\/send_normal.png?1210287711\" type=\"image\" \/>\n      <\/div>\n\t<\/div> \n\n<\/form>","no_overlay":true});