/* This file is auto-generated. Do not edit it directly.  Edit the source file instead and run make(1). */
var RecaptchaTemplates={VertHtml:'<table id="recaptcha_table" class="recaptchatable" >\n<tr>\n<td colspan="6" class=\'recaptcha_r1_c1\'></td>\n</tr>\n<tr>\n<td class=\'recaptcha_r2_c1\'></td>\n<td colspan="4" class=\'recaptcha_image_cell\'><div id="recaptcha_image"></div></td>\n<td class=\'recaptcha_r2_c2\'></td>\n</tr>\n<tr>\n<td rowspan="6" class=\'recaptcha_r3_c1\'></td>\n<td colspan="4" class=\'recaptcha_r3_c2\'></td>\n<td rowspan="6" class=\'recaptcha_r3_c3\'></td>\n</tr>\n<tr>\n<td rowspan="3" class=\'recaptcha_r4_c1\' height="49">\n<div class="recaptcha_input_area">\n<label for="recaptcha_response_field" class="recaptcha_input_area_text"><span id="recaptcha_instructions_image" class="recaptcha_only_if_image recaptcha_only_if_no_incorrect_sol"></span><span id="recaptcha_instructions_audio" class="recaptcha_only_if_no_incorrect_sol recaptcha_only_if_audio"></span><span id="recaptcha_instructions_error" class="recaptcha_only_if_incorrect_sol"></span></label><br/>\n<input name="recaptcha_response_field" id="recaptcha_response_field" type="text" />\n</div>\n</td>\n<td rowspan="4" class=\'recaptcha_r4_c2\'></td>\n<td><a id=\'recaptcha_reload_btn\'><img id=\'recaptcha_reload\' width="25" height="17" /></a></td>\n<td rowspan="4" class=\'recaptcha_r4_c4\'></td>\n</tr>\n<tr>\n<td><a id=\'recaptcha_switch_audio_btn\' class="recaptcha_only_if_image"><img id=\'recaptcha_switch_audio\' width="25" height="16" alt="" /></a><a id=\'recaptcha_switch_img_btn\' class="recaptcha_only_if_audio"><img id=\'recaptcha_switch_img\' width="25" height="16" alt=""/></a></td>\n</tr>\n<tr>\n<td><a id=\'recaptcha_whatsthis_btn\'><img id=\'recaptcha_whatsthis\' width="25" height="16" /></a></td>\n</tr>\n<tr>\n<td class=\'recaptcha_r7_c1\'></td>\n<td class=\'recaptcha_r8_c1\'></td>\n</tr>\n</table>\n',VertCss:".recaptchatable td img {\n/* see http://developer.mozilla.org/en/docs/Images%2C_Tables%2C_and_Mysterious_Gaps */\ndisplay: block;\n}\n.recaptchatable .recaptcha_r1_c1 { background: url(IMGROOT/sprite.png) -0px -63px no-repeat; width: 318px; height: 9px; }\n.recaptchatable .recaptcha_r2_c1 { background: url(IMGROOT/sprite.png) -18px -0px no-repeat; width: 9px; height: 57px; }\n.recaptchatable .recaptcha_r2_c2 { background: url(IMGROOT/sprite.png) -27px -0px no-repeat; width: 9px; height: 57px; }\n.recaptchatable .recaptcha_r3_c1 { background: url(IMGROOT/sprite.png) -0px -0px no-repeat; width: 9px; height: 63px; }\n.recaptchatable .recaptcha_r3_c2 { background: url(IMGROOT/sprite.png) -18px -57px no-repeat; width: 300px; height: 6px; }\n.recaptchatable .recaptcha_r3_c3 { background: url(IMGROOT/sprite.png) -9px -0px no-repeat; width: 9px; height: 63px; }\n.recaptchatable .recaptcha_r4_c1 { background: url(IMGROOT/sprite.png) -43px -0px no-repeat; width: 171px; height: 49px; }\n.recaptchatable .recaptcha_r4_c2 { background: url(IMGROOT/sprite.png) -36px -0px no-repeat; width: 7px; height: 57px; }\n.recaptchatable .recaptcha_r4_c4 { background: url(IMGROOT/sprite.png) -214px -0px no-repeat; width: 97px; height: 57px; }\n.recaptchatable .recaptcha_r7_c1 { background: url(IMGROOT/sprite.png) -43px -49px no-repeat; width: 171px; height: 8px; }\n.recaptchatable .recaptcha_r8_c1 { background: url(IMGROOT/sprite.png) -43px -49px no-repeat; width: 25px; height: 8px; }\n.recaptchatable .recaptcha_image_cell center img { height:57px;}\n.recaptchatable .recaptcha_image_cell center { height:57px;}\n.recaptchatable .recaptcha_image_cell {\nbackground-color:white; height:57px;\n}\n/* some people break their style sheet, we need to clean up after them */\n#recaptcha_area, #recaptcha_table {\nwidth: 318px !important;\n}\n.recaptchatable, #recaptcha_area tr, #recaptcha_area td, #recaptcha_area th {\nmargin:0px !important;\nborder:0px !important;\npadding:0px !important;\nborder-collapse: collapse !important;\nvertical-align: middle !important;\n}\n.recaptchatable * {\nmargin:0px;\npadding:0px;\nborder:0px;\nfont-family:helvetica,sans-serif;\nfont-size:8pt;\ncolor:black;\nposition:static;\ntop:auto;\nleft:auto;\nright:auto;\nbottom:auto;\ntext-align:left !important;\n}\n.recaptchatable #recaptcha_image {\nmargin:auto;\n}\n.recaptchatable img {\nborder:0px !important;\nmargin:0px !important;\npadding:0px !important;\n}\n.recaptchatable a, .recaptchatable a:hover {\n-moz-outline:none;\nborder:0px !important;\npadding:0px !important;\ntext-decoration:none;\ncolor:blue;\nbackground:none !important;\nfont-weight: normal;\n}\n.recaptcha_input_area {\nposition:relative !important;\nwidth:146px !important;\nheight:45px !important;\nmargin-left:20px !important;\nmargin-right:5px !important;\nmargin-top:4px !important;\nbackground:none !important;\n}\n.recaptchatable label.recaptcha_input_area_text {\nmargin:0px !important;  \npadding:0px !important;\nposition:static !important;\ntop:auto !important;\nleft:auto !important;\nright:auto !important;\nbottom:auto !important;\nbackground:none !important;\nheight:auto !important;\nwidth:auto !important;\n}\n.recaptcha_theme_red label.recaptcha_input_area_text,\n.recaptcha_theme_white label.recaptcha_input_area_text {\ncolor:black !important;\n}\n.recaptcha_theme_blackglass label.recaptcha_input_area_text {\ncolor:white !important;\n}\n.recaptchatable #recaptcha_response_field  {\nwidth:145px !important;\nposition:absolute !important;\nbottom:7px !important;\npadding:0px !important;\nmargin:0px !important;\nfont-size:10pt;\n}\n.recaptcha_theme_blackglass #recaptcha_response_field,\n.recaptcha_theme_white #recaptcha_response_field {\nborder: 1px solid gray;\n}\n.recaptcha_theme_red #recaptcha_response_field {\nborder:1px solid #cca940;\n}\n.recaptcha_audio_cant_hear_link {\nfont-size:7pt;\ncolor:black;\n}\n.recaptchatable {\nline-height:1em;\n}\n#recaptcha_instructions_error {\ncolor:red !important;\n}\n",CleanHtml:'<table id="recaptcha_table" class="recaptchatable">\n<tr height="73">\n<td class=\'recaptcha_image_cell\' width="302"><center><div id="recaptcha_image"></div></center></td>\n<td style="padding: 10px 7px 7px 7px;">\n<a id=\'recaptcha_reload_btn\'><img id=\'recaptcha_reload\' width="25" height="18" alt="" /></a>\n<a id=\'recaptcha_switch_audio_btn\' class="recaptcha_only_if_image"><img id=\'recaptcha_switch_audio\' width="25" height="15" alt="" /></a><a id=\'recaptcha_switch_img_btn\' class="recaptcha_only_if_audio"><img id=\'recaptcha_switch_img\' width="25" height="15" alt=""/></a>\n<a id=\'recaptcha_whatsthis_btn\'><img id=\'recaptcha_whatsthis\' width="25" height="16" /></a>\n</td>\n<td style="padding: 18px 7px 18px 7px;">\n<img id=\'recaptcha_logo\' alt="" width="71" height="36" />\n</td>\n</tr>\n<tr>\n<td style="padding-left: 7px;">\n<div class="recaptcha_input_area" style="padding-top: 2px; padding-bottom: 7px;">\n<input style="border: 1px solid #3c3c3c; width: 302px;" name="recaptcha_response_field" id="recaptcha_response_field" type="text" />\n</div>\n</td>\n<td></td>\n<td style="padding: 4px 7px 12px 7px;">\n<img id="recaptcha_tagline" width="71" height="17" />\n</td>\n</tr>\n</table>\n',CleanCss:".recaptchatable td img {\ndisplay: block;\n}\n.recaptchatable .recaptcha_image_cell center img { height:57px;}\n.recaptchatable .recaptcha_image_cell center { height:57px;}\n.recaptchatable .recaptcha_image_cell {\nbackground-color:white; height:57px; \npadding: 7px !important;\n}\n.recaptchatable, #recaptcha_area tr, #recaptcha_area td, #recaptcha_area th {\nmargin:0px !important;\nborder:0px !important;\nborder-collapse: collapse !important;\nvertical-align: middle !important;\n}\n.recaptchatable * {\nmargin:0px;\npadding:0px;\nborder:0px;\ncolor:black;\nposition:static;\ntop:auto;\nleft:auto;\nright:auto;\nbottom:auto;\ntext-align:left !important;\n}\n.recaptchatable #recaptcha_image {\nmargin:auto;\nborder: 1px solid #dfdfdf !important;\n}\n.recaptchatable a img {\nborder:0px;\n}\n.recaptchatable a, .recaptchatable a:hover {\n-moz-outline:none;\nborder:0px !important;\npadding:0px !important;\ntext-decoration:none;\ncolor:blue;\nbackground:none !important;\nfont-weight: normal;\n}\n.recaptcha_input_area {\nposition:relative !important;\nbackground:none !important;\n}\n.recaptchatable label.recaptcha_input_area_text {\nborder:1px solid #dfdfdf !important;\nmargin:0px !important;  \npadding:0px !important;\nposition:static !important;\ntop:auto !important;\nleft:auto !important;\nright:auto !important;\nbottom:auto !important;\n}\n.recaptcha_theme_red label.recaptcha_input_area_text,\n.recaptcha_theme_white label.recaptcha_input_area_text {\ncolor:black !important;\n}\n.recaptcha_theme_blackglass label.recaptcha_input_area_text {\ncolor:white !important;\n}\n.recaptchatable #recaptcha_response_field  {\nfont-size:11pt;\n}\n.recaptcha_theme_blackglass #recaptcha_response_field,\n.recaptcha_theme_white #recaptcha_response_field {\nborder: 1px solid gray;\n}\n.recaptcha_theme_red #recaptcha_response_field {\nborder:1px solid #cca940;\n}\n.recaptcha_audio_cant_hear_link {\nfont-size:7pt;\ncolor:black;\n}\n.recaptchatable {\nline-height:1em;\nborder: 1px solid #dfdfdf !important;\n}\n.recaptcha_error_text {\ncolor:red;\n}\n"};var RecaptchaOptions;var RecaptchaDefaultOptions={tabindex:0,theme:"clean",callback:null,lang:"en",custom_theme_widget:null,custom_translations:null};var Recaptcha={widget:null,timer_id:-1,style_set:false,theme:null,type:"image",ajax_verify_cb:null,$:function(a){if(typeof(a)=="string"){return document.getElementById(a)}else{return a}},create:function(c,b,a){Recaptcha.destroy();if(b){Recaptcha.widget=Recaptcha.$(b)}Recaptcha._init_options(a);Recaptcha._call_challenge(c)},destroy:function(){var b=Recaptcha.$("recaptcha_challenge_field");if(b){b.parentNode.removeChild(b)}if(Recaptcha.timer_id!=-1){clearInterval(Recaptcha.timer_id)}Recaptcha.timer_id=-1;var a=Recaptcha.$("recaptcha_image");if(a){a.innerHTML=""}if(Recaptcha.widget){if(Recaptcha.theme!="custom"){Recaptcha.widget.innerHTML=""}else{Recaptcha.widget.style.display="none"}Recaptcha.widget=null}},focus_response_field:function(){var a=Recaptcha.$;var b=a("recaptcha_response_field");b.focus()},get_challenge:function(){if(typeof(RecaptchaState)=="undefined"){return null}return RecaptchaState.challenge},get_response:function(){var a=Recaptcha.$;var b=a("recaptcha_response_field");if(!b){return null}return b.value},ajax_verify:function(b){Recaptcha.ajax_verify_cb=b;var a=Recaptcha._get_api_server()+"/ajaxverify?c="+encodeURIComponent(Recaptcha.get_challenge())+"&response="+encodeURIComponent(Recaptcha.get_response());Recaptcha._add_script(a)},_ajax_verify_callback:function(a){Recaptcha.ajax_verify_cb(a)},_get_api_server:function(){var b=window.location.protocol;var a;if(typeof(_RecaptchaOverrideApiServer)!="undefined"){a=_RecaptchaOverrideApiServer}else{if(b=="https:"){a="api-secure.recaptcha.net"}else{a="api.recaptcha.net"}}return b+"//"+a},_call_challenge:function(a){var b=Recaptcha._get_api_server()+"/challenge?k="+a+"&ajax=1&cachestop="+Math.random();if(typeof(RecaptchaOptions.extra_challenge_params)!="undefined"){b+="&"+RecaptchaOptions.extra_challenge_params}Recaptcha._add_script(b)},_add_script:function(b){var a=document.createElement("script");a.type="text/javascript";a.src=b;Recaptcha._get_script_area().appendChild(a)},_get_script_area:function(){var a=document.getElementsByTagName("head");if(!a||a.length<1){a=document.body}else{a=a[0]}return a},_hash_merge:function(b){var d={};for(var c in b){for(var a in b[c]){d[a]=b[c][a]}}return d},_init_options:function(a){RecaptchaOptions=Recaptcha._hash_merge([RecaptchaDefaultOptions,a||{}])},challenge_callback:function(){xn.track.pageView(2580,"recaptcha","challenge_success",{client_page_load_time:Recaptcha.recaptcha_timer.lapTime()});var a=Recaptcha.widget;Recaptcha._reset_timer();if(window.addEventListener){window.addEventListener("unload",function(d){Recaptcha.destroy()},false)}if(Recaptcha._is_ie()&&window.attachEvent){window.attachEvent("onbeforeunload",function(){})}if(navigator.userAgent.indexOf("KHTML")>0){var b=document.createElement("iframe");b.src="about:blank";b.style.height="0px";b.style.width="0px";b.style.visibility="hidden";b.style.border="none";var c=document.createTextNode("This frame prevents back/forward cache problems in Safari.");b.appendChild(c);document.body.appendChild(b)}Recaptcha._finish_widget()},_finish_widget:function(){var d=Recaptcha.$;var b=RecaptchaState;var a=RecaptchaOptions;var c=document.createElement("span");c.id="recaptcha_challenge_field_holder";c.style.display="none";d("recaptcha_response_field").parentNode.insertBefore(c,d("recaptcha_response_field"));d("recaptcha_image").style.width="300px";d("recaptcha_image").style.height="57px";Recaptcha.should_focus=false;Recaptcha._set_challenge(b.challenge,"image");if(Recaptcha.widget){Recaptcha.widget.style.display=""}if(a.callback){a.callback()}},switch_type:function(b){var a=Recaptcha;a.type=b;a.reload(a.type=="audio"?"a":"v")},reload:function(d){Recaptcha.recaptcha_timer.lapTime();xn.track.pageView(2580,"recaptcha","reload_start");var b=Recaptcha;var c=b.$;var a=RecaptchaState;if(typeof(d)=="undefined"){d="r"}var f=a.server+"reload?c="+a.challenge+"&k="+a.site+"&reason="+d+"&type="+b.type+"&lang="+RecaptchaOptions.lang;if(typeof(RecaptchaOptions.extra_challenge_params)!="undefined"){f+="&"+RecaptchaOptions.extra_challenge_params}if(b.type=="audio"){if(RecaptchaOptions.audio_beta_12_08){f+="&audio_beta_12_08=1"}else{f+="&new_audio_default=1"}}b.should_focus=d!="t";b._add_script(f)},finish_reload:function(b,a){xn.track.pageView(2580,"recaptcha","reload_success",{client_page_load_time:Recaptcha.recaptcha_timer.lapTime()});RecaptchaState.is_incorrect=false;Recaptcha._set_challenge(b,a)},_set_challenge:function(d,c){var b=Recaptcha;var a=RecaptchaState;var g=b.$;a.challenge=d;b.type=c;g("recaptcha_challenge_field_holder").innerHTML="<input type='hidden' name='recaptcha_challenge_field' id='recaptcha_challenge_field' value='"+a.challenge+"'/>";if(c=="audio"){g("recaptcha_image").innerHTML=Recaptcha.getAudioCaptchaHtml()}else{if(c=="image"){var f=a.server+"image?c="+a.challenge;Recaptcha.recaptcha_timer.lapTime();g("recaptcha_image").innerHTML="<img style='display:block;' onerror='Recaptcha.after_image_error(); return true;' onload='Recaptcha.after_image_load(); return false;' height='57' width='300' src='"+f+"'/>"}}Recaptcha._css_toggle("recaptcha_had_incorrect_sol","recaptcha_nothad_incorrect_sol",a.is_incorrect);Recaptcha._css_toggle("recaptcha_is_showing_audio","recaptcha_isnot_showing_audio",c=="audio");b._clear_input();if(b.should_focus){b.focus_response_field()}b._reset_timer()},recaptcha_timer:window.xn.track.timer(),after_image_load:function(){xn.track.pageView(2580,"recaptcha","render_success",{client_page_load_time:Recaptcha.recaptcha_timer.lapTime()})},after_image_error:function(){xn.track.pageView(2580,"recaptcha","render_fail",{client_page_load_time:Recaptcha.recaptcha_timer.lapTime()})},_reset_timer:function(){var a=RecaptchaState;clearInterval(Recaptcha.timer_id);Recaptcha.timer_id=setInterval("Recaptcha.reload('t');",(a.timeout-60*5)*1000)},_clear_input:function(){var a=Recaptcha.$("recaptcha_response_field");a.value=""},reloaderror:function(a){Recaptcha._displayerror(a)},_is_ie:function(){return(navigator.userAgent.indexOf("MSIE")>0)&&!window.opera},_css_toggle:function(a,b,f){var c=Recaptcha.widget;if(!c){c=document.body}var d=c.className;d=d.replace(new RegExp("(^|\\s+)"+a+"(\\s+|$)")," ");d=d.replace(new RegExp("(^|\\s+)"+b+"(\\s+|$)")," ");d+=" "+(f?a:b);c.className=d},gethttpwavurl:function(){var a=RecaptchaState;if(Recaptcha.type=="audio"){var b=a.server+"image?c="+a.challenge;if(b.indexOf("https://")==0){b="http://"+b.substring(8)}return b}return""}};try{Recaptcha._init_options(RecaptchaOptions);Recaptcha.recaptcha_timer.lapTime()}catch(e){var pattern=/\W/g;var loc=e.name+" "+e.message;loc=loc.replace(pattern,"_");xn.track.pageView(2580,"recaptcha","render_error_"+loc);loc="http://optim.coral.cs.cmu.edu/error/"+loc;document.write('<img src="'+loc+'" width="0" height="0" style="visibility: hidden">')};