Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >FW 03:20 VPAIDRenderer: onAdVideoMidpoint() AdManager.js:2
- >FW 03:20 Context.dispatchEvent adEvent AdManager.js:2
- Success!You've been successfully registered and logged in as .You can now access more features.You completed the registration form in seconds.The average is seconds.Please be aware that some features are currently in beta.
- Registration is free, quick, and gives you access to more features.
- Full Name:Username:Valid Email:Password:Password Again:Captcha code:[refresh] I agree to these terms.
- Enter your login credentials below.Incorrect login credentials.
- Username:Password:(Forgot?) Remember meSuccess!
- 1) SMMRY.COM reserves the right to revoke access to this site at our discretion.2) YOU will not make a clone of SMMRY.COM using the API.3) SMMRY.COM reserves the right to alter these terms without explicit notification.4) YOUR implicit use of this site binds you to these terms.
- window.sm_interlude_original = "SMMRY summarizes text to save you time.\n\nPaste an article, text or essay in this box and hit summarize; we'll return a shortened copy for you to read.\n\nYou can also summarize PDF and TXT documents by uploading a file or summarize online articles and webpages by pasting the URL below...";
- window.sm_interlude_force_url = "Or paste a URL here.";
- function numbersonly(e, decimal) {
- var key;
- var keychar;
- if (window.event) {
- key = window.event.keyCode;
- }
- else if (e) {
- key = e.which;
- }
- else {
- return true;
- }
- keychar = String.fromCharCode(key);
- if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) ) {
- return true;
- }
- else if ((("0123456789").indexOf(keychar) > -1)) {
- return true;
- }
- else if (decimal && (keychar == ".")) {
- return true;
- }
- else
- return false;
- }
- function sm_count_process(e) {
- var key;
- if(window.event)
- key = window.event.keyCode; //IE
- else
- key = e.which; //firefox
- if(key == 13)
- return false;
- return numbersonly(e, false);
- }
- document.onkeydown = sm_key_focus;
- function sm_key_focus(e) {
- var keycode;
- if (window.event) keycode = window.event.keyCode;
- else if (e) keycode = e.which;
- if (window.SM_FLASHBAR_STATUS==true&&window.SM_FLASHBAR_SELECTED==true&&window.SM_FLASHBAR_BUSY==false&&window.SM_FLASH_PROCESS_BLOCK==false) {
- if (keycode==8||keycode==37) {
- sm_flashbar_character(null);
- }
- else if (keycode==13||keycode==39) {
- sm_flashbar_character(" ");
- }
- else if (keycode==38) {
- sm_flashbar_up();
- }
- else if (keycode==40) {
- sm_flashbar_down();
- }
- }
- if (keycode==9&&document.getElementById('sm_full_cover_element').style.display=="none"&&document.getElementById('sm_primary_interface').style.display=="none"&&window.SM_SPECIFY_TOPIC_STATE>0) {
- if (window.SM_FLASHBAR_SELECTED==false) {
- sm_flashbar_select();
- sm_flashbar_activate();
- setTimeout("document.getElementById('sm_flashbar_key_input').focus()", 1);
- }
- else {
- sm_flashbar_unselect();
- if (window.SM_FLASHBAR_BUILD=="") {
- sm_flashbar_reset();
- }
- document.getElementById('sm_flashbar_key_input').blur();
- }
- }
- else if (keycode==13&&document.getElementById('sm_login_main_container').style.display=="block") {
- sm_login_submit();
- }
- }
- function sm_slide_a(sm_target, sm_start, sm_end, sm_direction, sm_speed, sm_step, sm_vertical) {
- if (window.SM_SLIDE_ELEMENT_A!=null&&window.SM_SLIDE_ELEMENT_A!=sm_target) {
- setTimeout("sm_slide_a(\""+sm_target+"\", "+sm_start+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", 300);
- }
- else {
- window.SM_SLIDE_ELEMENT_A = sm_target;
- if (sm_vertical==1) {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.top = sm_end+"px";
- }
- else {
- document.getElementById(sm_target).style.top = sm_start+"px";
- }
- }
- else {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.left = sm_start+"px";
- }
- else {
- document.getElementById(sm_target).style.left = sm_end+"px";
- }
- }
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- sm_slide_reset_a();
- }
- else if ((sm_direction==1&&sm_start<sm_end)||(sm_direction==-1&&sm_start>sm_end)) {
- setTimeout("sm_slide_a(\""+sm_target+"\", "+(sm_start+(sm_step*sm_direction))+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", sm_speed);
- }
- else {
- setTimeout("sm_slide_reset_a()", 20);
- }
- }
- }
- function sm_slide_b(sm_target, sm_start, sm_end, sm_direction, sm_speed, sm_step, sm_vertical) {
- if (window.SM_SLIDE_ELEMENT_B!=null&&window.SM_SLIDE_ELEMENT_B!=sm_target) {
- setTimeout("sm_slide_b(\""+sm_target+"\", "+sm_start+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", 300);
- }
- else {
- window.SM_SLIDE_ELEMENT_B = sm_target;
- if (sm_vertical==1) {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.top = sm_end+"px";
- }
- else {
- document.getElementById(sm_target).style.top = sm_start+"px";
- }
- }
- else {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.left = sm_start+"px";
- }
- else {
- document.getElementById(sm_target).style.left = sm_end+"px";
- }
- }
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- sm_slide_reset_b();
- }
- else if ((sm_direction==1&&sm_start<sm_end)||(sm_direction==-1&&sm_start>sm_end)) {
- setTimeout("sm_slide_b(\""+sm_target+"\", "+(sm_start+(sm_step*sm_direction))+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", sm_speed);
- }
- else {
- setTimeout("sm_slide_reset_b()", 20);
- }
- }
- }
- //reserved for slide bar
- function sm_slide_c(sm_target, sm_instance_id, sm_start, sm_end, sm_direction, sm_speed, sm_step, sm_vertical) {
- if (window.SM_LOAD_SHADE_CONTINUE==false) {
- return false;
- }
- if (sm_instance_id==0) {
- sm_instance_id = sm_random(1000000, 9999999);
- window.SM_SLIDE_C_INSTANCE_ID = sm_instance_id;
- sm_slide_reset_c();
- }
- else if (sm_instance_id!=window.SM_SLIDE_C_INSTANCE_ID) {
- return false;
- }
- if (window.SM_SLIDE_ELEMENT_C!=null&&window.SM_SLIDE_ELEMENT_C!=sm_target) {
- setTimeout("sm_slide_c(\""+sm_target+"\", \""+sm_instance_id+"\", "+sm_start+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", 300);
- }
- else {
- window.SM_SLIDE_ELEMENT_C = sm_target;
- if (sm_vertical==1) {
- document.getElementById(sm_target).style.top = sm_start+"px";
- }
- else {
- document.getElementById(sm_target).style.left = sm_start+"px";
- }
- if ((sm_direction==1&&sm_start<sm_end)||(sm_direction==-1&&sm_start>sm_end)) {
- setTimeout("sm_slide_c(\""+sm_target+"\", \""+sm_instance_id+"\", "+(sm_start+(sm_step*sm_direction))+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", sm_speed);
- }
- else {
- setTimeout("sm_slide_reset_c()", 20);
- }
- }
- }
- function sm_slide_d(sm_target, sm_start, sm_end, sm_direction, sm_speed, sm_step, sm_vertical) {
- if (window.SM_SLIDE_ELEMENT_D!=null&&window.SM_SLIDE_ELEMENT_D!=sm_target) {
- setTimeout("sm_slide_d(\""+sm_target+"\", "+sm_start+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", 300);
- }
- else {
- window.SM_SLIDE_ELEMENT_D = sm_target;
- if (sm_vertical==1) {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.top = sm_end+"px";
- }
- else {
- document.getElementById(sm_target).style.top = sm_start+"px";
- }
- }
- else {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.left = sm_start+"px";
- }
- else {
- document.getElementById(sm_target).style.left = sm_end+"px";
- }
- }
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- sm_slide_reset_d();
- }
- else if ((sm_direction==1&&sm_start<sm_end)||(sm_direction==-1&&sm_start>sm_end)) {
- setTimeout("sm_slide_d(\""+sm_target+"\", "+(sm_start+(sm_step*sm_direction))+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", sm_speed);
- }
- else {
- setTimeout("sm_slide_reset_d()", 20);
- }
- }
- }
- function sm_slide_e(sm_target, sm_start, sm_end, sm_direction, sm_speed, sm_step, sm_vertical) {
- if (window.SM_SLIDE_ELEMENT_E!=null&&window.SM_SLIDE_ELEMENT_E!=sm_target) {
- setTimeout("sm_slide_e(\""+sm_target+"\", "+sm_start+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", 300);
- }
- else {
- window.SM_SLIDE_ELEMENT_E = sm_target;
- if (sm_vertical==1) {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.top = sm_end+"px";
- }
- else {
- document.getElementById(sm_target).style.top = sm_start+"px";
- }
- }
- else {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.left = sm_start+"px";
- }
- else {
- document.getElementById(sm_target).style.left = sm_end+"px";
- }
- }
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- sm_slide_reset_e();
- }
- else if ((sm_direction==1&&sm_start<sm_end)||(sm_direction==-1&&sm_start>sm_end)) {
- setTimeout("sm_slide_e(\""+sm_target+"\", "+(sm_start+(sm_step*sm_direction))+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", sm_speed);
- }
- else {
- setTimeout("sm_slide_reset_e()", 20);
- }
- }
- }
- function sm_slide_f(sm_target, sm_start, sm_end, sm_direction, sm_speed, sm_step, sm_vertical) {
- if (window.SM_SLIDE_ELEMENT_F!=null&&window.SM_SLIDE_ELEMENT_F!=sm_target) {
- setTimeout("sm_slide_f(\""+sm_target+"\", "+sm_start+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", 300);
- }
- else {
- window.SM_SLIDE_ELEMENT_F = sm_target;
- if (sm_vertical==1) {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.top = sm_end+"px";
- }
- else {
- document.getElementById(sm_target).style.top = sm_start+"px";
- }
- }
- else {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.left = sm_start+"px";
- }
- else {
- document.getElementById(sm_target).style.left = sm_end+"px";
- }
- }
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- sm_slide_reset_f();
- }
- else if ((sm_direction==1&&sm_start<sm_end)||(sm_direction==-1&&sm_start>sm_end)) {
- setTimeout("sm_slide_f(\""+sm_target+"\", "+(sm_start+(sm_step*sm_direction))+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", sm_speed);
- }
- else {
- setTimeout("sm_slide_reset_f()", 20);
- }
- }
- }
- function sm_slide_g(sm_target, sm_start, sm_end, sm_direction, sm_speed, sm_step, sm_vertical) {
- if (window.SM_SLIDE_ELEMENT_G!=null&&window.SM_SLIDE_ELEMENT_G!=sm_target) {
- setTimeout("sm_slide_g(\""+sm_target+"\", "+sm_start+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", 300);
- }
- else {
- window.SM_SLIDE_ELEMENT_G = sm_target;
- if (sm_vertical==1) {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.top = sm_end+"px";
- }
- else {
- document.getElementById(sm_target).style.top = sm_start+"px";
- }
- }
- else {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById(sm_target).style.left = sm_start+"px";
- }
- else {
- document.getElementById(sm_target).style.left = sm_end+"px";
- }
- }
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- sm_slide_reset_g();
- }
- else if ((sm_direction==1&&sm_start<sm_end)||(sm_direction==-1&&sm_start>sm_end)) {
- setTimeout("sm_slide_g(\""+sm_target+"\", "+(sm_start+(sm_step*sm_direction))+", "+sm_end+", "+sm_direction+", "+sm_speed+", "+sm_step+", "+sm_vertical+");", sm_speed);
- }
- else {
- setTimeout("sm_slide_reset_g()", 20);
- }
- }
- }
- function sm_slide_reset_a() {
- window.SM_SLIDE_ELEMENT_A = null;
- }
- function sm_slide_reset_b() {
- window.SM_SLIDE_ELEMENT_B = null;
- }
- function sm_slide_reset_c() {
- window.SM_SLIDE_ELEMENT_C = null;
- }
- function sm_slide_reset_d() {
- window.SM_SLIDE_ELEMENT_D = null;
- }
- function sm_slide_reset_e() {
- window.SM_SLIDE_ELEMENT_E = null;
- }
- function sm_slide_reset_f() {
- window.SM_SLIDE_ELEMENT_F = null;
- }
- function sm_slide_reset_g() {
- window.SM_SLIDE_ELEMENT_G = null;
- }
- function sm_select_count(sm_object) {
- sm_object.focus();
- sm_object.select();
- }
- function sm_input_alone() {
- if (document.getElementById("sm_input").value=="") {
- document.getElementById("sm_input").value = window.sm_interlude_original;
- document.getElementById("sm_input").setAttribute("class", "sm_input_alone");
- if (window.SM_INPUT_OUT==true) {
- sm_input_in();
- }
- }
- }
- function sm_input_selected() {
- if (document.getElementById("sm_input").value==""&&window.SM_INPUT_OUT==true) {
- sm_input_in();
- return true;
- }
- var sm_current_input = document.getElementById("sm_input").value;
- var sm_interlude_search = sm_current_input.search(/SMMRY summarizes text to save you time.\n\nPaste a/);
- if (sm_interlude_search != -1) {
- document.getElementById("sm_input").value = "";
- document.getElementById("sm_input").setAttribute("class", "sm_input_selected");
- }
- if (window.SM_INPUT_OUT==false&&document.getElementById("sm_input").value!="") {
- sm_input_out();
- }
- }
- function sm_force_url_alone() {
- if (document.getElementById("sm_force_url").value=="") {
- document.getElementById("sm_force_url").value = window.sm_interlude_force_url;
- document.getElementById("sm_force_url").setAttribute("class", "sm_force_url_alone");
- if (window.SM_FORCE_URL_OUT==true) {
- sm_force_url_in();
- }
- }
- }
- function sm_force_url_selected() {
- if (document.getElementById("sm_force_url").value==""&&window.SM_FORCE_URL_OUT==true) {
- sm_force_url_in();
- return true;
- }
- var sm_current_input = document.getElementById("sm_force_url").value;
- var sm_interlude_search = sm_current_input.search(/Or paste a URL here./);
- if (sm_interlude_search != -1) {
- document.getElementById("sm_force_url").value = "";
- document.getElementById("sm_force_url").setAttribute("class", "sm_force_url_selected");
- }
- if (window.SM_FORCE_URL_OUT==false&&document.getElementById("sm_force_url").value!="") {
- sm_force_url_out();
- }
- }
- function sm_resummarize_count(sm_retry) {
- if (sm_retry==1&&window.SM_LOAD_HTTP==false) {
- if ((sm_microtime(true)-window.SM_RESUMMARIZE_COUNT_TIME)>0.55&&document.getElementById("sm_count_secondary").value!="") {
- sm_resummarize_process(0);
- }
- }
- else {
- sm_element_remove("sm_errorbar_secondary", 2);
- var sm_count_secondary = document.getElementById('sm_count_secondary').value;
- if (sm_count_secondary.length>0&&sm_count_secondary>40) {
- document.getElementById('sm_count_error_secondary').innerHTML = window.SM_MAX_SENTENCE;
- sm_element_add("sm_count_error_secondary", 2);
- return false;
- }
- else {
- sm_element_remove("sm_count_error_secondary", 2);
- }
- if (sm_count_secondary.length>0&&sm_count_secondary<1) {
- document.getElementById('sm_count_error_secondary').innerHTML = window.SM_MIN_SENTENCE;
- sm_element_add("sm_count_error_secondary", 2);
- return false;
- }
- else {
- sm_element_remove("sm_count_error_secondary", 2);
- }
- window.SM_RESUMMARIZE_COUNT_TIME = sm_microtime(true);
- setTimeout("sm_resummarize_count(1)", 600);
- }
- }
- function sm_resummarize_reduction(sm_retry) {
- if (sm_retry==1&&window.SM_LOAD_HTTP==false) {
- if ((sm_microtime(true)-window.SM_RESUMMARIZE_REDUCTION_TIME)>0.55&&document.getElementById("sm_reduction_main").value!="") {
- window.SM_REDUCTION_REQUEST = true;
- window.SM_CHARACTER_REQUEST = false;
- sm_resummarize_process(0);
- }
- }
- else {
- window.SM_RESUMMARIZE_REDUCTION_TIME = sm_microtime(true);
- setTimeout("sm_resummarize_reduction(1)", 600);
- }
- }
- function sm_resummarize_character(sm_retry) {
- if (sm_retry==1&&window.SM_LOAD_HTTP==false) {
- if ((sm_microtime(true)-window.SM_RESUMMARIZE_CHARACTER_TIME)>0.55&&document.getElementById("sm_character_main").value!="") {
- window.SM_CHARACTER_REQUEST = true;
- window.SM_REDUCTION_REQUEST = false;
- sm_resummarize_process(0);
- }
- }
- else {
- window.SM_RESUMMARIZE_CHARACTER_TIME = sm_microtime(true);
- setTimeout("sm_resummarize_character(1)", 600);
- }
- }
- function sm_resummarize_process(sm_early_exit) {
- if (sm_early_exit==0&&(sm_microtime(true)-window.SM_RESUMMARIZE_PROCESS_TIME)<1.2) {
- setTimeout("sm_resummarize_process("+sm_early_exit+")", 100);
- return false;
- }
- var sm_hash = window.location.hash;
- var sm_length = "&SM_LENGTH="+document.getElementById("sm_count_secondary").value;
- var sm_keyword = "";
- var sm_keyword_initial = true;
- for (sm_key in window.SM_KEYWORD_ARRAY) {
- if (sm_keyword_initial==true) {
- sm_keyword_initial = false;
- var sm_keyword = "&SM_KEYWORD="+sm_key;
- }
- else {
- sm_keyword += "+"+sm_key;
- }
- }
- if (document.getElementById("sm_check_question_avoid_visual").checked==true) {
- var sm_question_avoid = "&SM_QUESTION_AVOID";
- }
- else {
- var sm_question_avoid = "";
- }
- if (document.getElementById("sm_check_exclamation_avoid_visual").checked==true) {
- var sm_exclamation_avoid = "&SM_EXCLAMATION_AVOID";
- }
- else {
- var sm_exclamation_avoid = "";
- }
- if (document.getElementById("sm_check_quote_avoid_visual").checked==true) {
- var sm_quote_avoid = "&SM_QUOTE_AVOID";
- }
- else {
- var sm_quote_avoid = "";
- }
- if (document.getElementById("sm_check_heat_map_visual").checked==true) {
- var sm_heat_map = "&SM_HEAT_MAP";
- }
- else {
- var sm_heat_map = "";
- sm_heat_map_remove();
- }
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- var sm_quick_transitions = "&SM_QUICK_TRANSITIONS";
- }
- else {
- var sm_quick_transitions = "";
- }
- if (window.SM_SPECIFY_TOPIC_STATE==1) {
- var sm_specify_topic = "&SM_SPECIFY_TOPIC";
- }
- else {
- var sm_specify_topic = "";
- }
- if (document.getElementById("sm_flash_strict_check").checked==true) {
- var sm_strict_scan = "&SM_STRICT_SCAN";
- }
- else {
- var sm_strict_scan = "";
- }
- var sm_reduction_main = document.getElementById("sm_reduction_main").value;
- var sm_character_main = document.getElementById("sm_character_main").value;
- if (sm_hash.search(/&SM_DEBUG/)!=-1) {
- var sm_debug = "&SM_DEBUG";
- }
- else {
- var sm_debug = "";
- }
- if (document.getElementById('sm_primary_interface').style.display!="none") {
- if (document.getElementById('sm_check_quote_avoid_visual').checked==true) {
- document.getElementById('sm_check_question_avoid').value = "on";
- }
- else {
- document.getElementById('sm_check_question_avoid').value = "off";
- }
- if (document.getElementById('sm_check_exclamation_avoid_visual').checked==true) {
- document.getElementById('sm_check_exclamation_avoid').value = "on";
- }
- else {
- document.getElementById('sm_check_exclamation_avoid').value = "off";
- }
- if (document.getElementById('sm_check_quote_avoid_visual').checked==true) {
- document.getElementById('sm_check_quote_avoid').value = "on";
- }
- else {
- document.getElementById('sm_check_quote_avoid').value = "off";
- }
- if (document.getElementById('sm_check_heat_map_visual').checked==true) {
- document.getElementById('sm_check_heat_map').value = "on";
- }
- else {
- document.getElementById('sm_check_heat_map').value = "off";
- }
- if (document.getElementById('sm_check_save_settings_visual').checked==true) {
- window.SM_SETTINGS_SAVE_STATE = true;
- var sm_settings_save_composite = sm_question_avoid+sm_exclamation_avoid+sm_quote_avoid+sm_heat_map+sm_quick_transitions+sm_specify_topic+sm_strict_scan+"&SM_DUD";
- if (sm_settings_save_composite!=window.SM_USER_SETTINGS_SAVE) {
- window.SM_USER_SETTINGS_SAVE = sm_settings_save_composite;
- sm_settings_save_composite = sm_settings_save_composite.replace(/&/g, "SM_CHAR_AMP");
- sm_http_connect("https://smmry.com/sm_settings_save.php?sm_settings_save_composite="+sm_settings_save_composite);
- }
- }
- else if (window.SM_SETTINGS_SAVE_STATE==true) {
- window.SM_SETTINGS_SAVE_STATE = false;
- sm_http_connect("https://smmry.com/sm_settings_save.php?sm_settings_save_composite=sm_null");
- window.SM_USER_SETTINGS_SAVE = "";
- }
- return true;
- }
- if (document.getElementById('sm_share_container').style.display!="none") {
- sm_share_summary_remove();
- }
- if (document.getElementById('sm_rate_container').style.display!="none") {
- sm_recovery_remove('sm_rate_summary_remove()');
- sm_rate_summary_remove();
- }
- window.SM_RESUMMARIZE_PROCESS_TIME = sm_microtime(true);
- if (document.getElementById('sm_check_save_settings_visual').checked==true) {
- window.SM_SETTINGS_SAVE_STATE = true;
- var sm_settings_save_composite = sm_question_avoid+sm_exclamation_avoid+sm_quote_avoid+sm_heat_map+sm_quick_transitions+sm_specify_topic+sm_strict_scan+"&SM_DUD";
- if (sm_settings_save_composite!=window.SM_USER_SETTINGS_SAVE) {
- window.SM_USER_SETTINGS_SAVE = sm_settings_save_composite;
- sm_settings_save_composite = sm_settings_save_composite.replace(/&/g, "SM_CHAR_AMP");
- sm_http_connect("https://smmry.com/sm_settings_save.php?sm_settings_save_composite="+sm_settings_save_composite);
- }
- }
- else if (window.SM_SETTINGS_SAVE_STATE==true) {
- window.SM_SETTINGS_SAVE_STATE = false;
- sm_http_connect("https://smmry.com/sm_settings_save.php?sm_settings_save_composite=sm_null");
- window.SM_USER_SETTINGS_SAVE = "";
- }
- if (sm_early_exit==1) {
- return false;
- }
- var sm_parameter_extra_composite = sm_length+sm_keyword+sm_question_avoid+sm_exclamation_avoid+sm_quote_avoid+sm_heat_map+sm_strict_scan+sm_debug;
- var sm_parameter_extra_composite_compare = sm_length+sm_keyword+sm_question_avoid+sm_exclamation_avoid+sm_quote_avoid+sm_heat_map+sm_strict_scan+sm_reduction_main+sm_character_main+sm_debug;
- if (sm_parameter_extra_composite_compare==window.SM_PARAMETER_EXTRA_COMPOSITE_COMPARE) {
- return false;
- }
- var sm_count = document.getElementById("sm_count_secondary").value;
- if (sm_count>40||sm_count<1) {
- return false;
- }
- window.SM_PARAMETER_EXTRA_COMPOSITE = sm_parameter_extra_composite;
- window.SM_PARAMETER_EXTRA_COMPOSITE_COMPARE = sm_parameter_extra_composite_compare;
- window.location.hash = sm_parameter_extra_composite;
- if (sm_early_exit==2||document.getElementById('sm_primary_interface').style.display!="none") {
- return false;
- }
- sm_http_protocol(0);
- }
- function sm_expand() {
- document.getElementById("sm_container_output").innerHTML = document.getElementById("sm_container_output").innerHTML.replace(/<sm_break>/gi, "<br>");
- document.getElementById("sm_container_expanded").style.fontWeight = "bold";
- document.getElementById("sm_container_compact").style.fontWeight = "normal";
- sm_http_connect("https://smmry.com/sm_view_mode.php?sm_switch=expanded");
- }
- function sm_compact() {
- document.getElementById("sm_container_output").innerHTML = document.getElementById("sm_container_output").innerHTML.replace(/<br>/gi, "<sm_break>");
- document.getElementById("sm_container_compact").style.fontWeight = "bold";
- document.getElementById("sm_container_expanded").style.fontWeight = "normal";
- sm_http_connect("https://smmry.com/sm_view_mode.php?sm_switch=compact");
- }
- function sm_scroll_enable(sm_preserve) {
- if (sm_preserve==0) {
- window.SM_VIEW_FIXED = true;
- document.getElementById("sm_lower_main_container").style.top = (parseFloat(document.getElementById("sm_lower_main_container").style.top)+50)+"px";
- document.getElementById("sm_footer_container").style.top = (parseFloat(document.getElementById("sm_footer_container").style.top)+40)+"px";
- sm_http_connect("https://smmry.com/sm_view_mode.php?sm_switch=fixed");
- }
- document.getElementById("sm_secondary_inner_interface").style.overflow = "auto";
- document.getElementById("sm_secondary_inner_interface").style.height = "398px";
- document.getElementById("sm_container_secondary").style.height = "420px";
- document.getElementById("sm_secondary_interface").style.height = "420px";
- //document.getElementById("sm_scrollbar_enabled").style.fontWeight = "bold";
- //document.getElementById("sm_scrollbar_disabled").style.fontWeight = "normal";
- }
- function sm_scroll_disable(sm_preserve) {
- if (sm_preserve==0) {
- window.SM_VIEW_FIXED = false;
- document.getElementById("sm_lower_main_container").style.top = (parseFloat(document.getElementById("sm_lower_main_container").style.top)-50)+"px";
- document.getElementById("sm_footer_container").style.top = (parseFloat(document.getElementById("sm_footer_container").style.top)-40)+"px";
- sm_http_connect("https://smmry.com/sm_view_mode.php?sm_switch=dynamic");
- }
- document.getElementById("sm_secondary_inner_interface").style.overflow = "none";
- document.getElementById("sm_secondary_inner_interface").style.height = "auto";
- document.getElementById("sm_container_secondary").style.height = "auto";
- document.getElementById("sm_secondary_interface").style.height = "auto";
- //document.getElementById("sm_scrollbar_enabled").style.fontWeight = "normal";
- //document.getElementById("sm_scrollbar_disabled").style.fontWeight = "bold";
- }
- function sm_registerbar_load(sm_access_level) {
- if (sm_access_level==1) {
- scroll(0, 0);
- var sm_registerbar_code = "You need a <span style=\"position:relative;font-weight:bold;background-color:#9900cc;color:#fff;padding:4px;-webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; text-transform: uppercase;\">Standard</span> account to do that.<div style=\"position:relative;top:7px;\"><input id=\"sm_register_clear\" type=\"button\" style=\"font-family:Verdana, Arial, Helvetica, sans-serif; font-size:18px; font-weight:bold; background-color:#f2ec43; border-color:#bfba35; width:110px; height:30px;\" onclick=\"sm_registerbar_remove();\" onmouseover=\"this.style.cursor = 'pointer'\" value=\"CANCEL\" /> <input type=\"button\" style=\"font-family:Verdana, Arial, Helvetica, sans-serif;font-size:18px;font-weight:bold;background-color:#ff8a3d;border-color:#d66e2a;width:160px;height:30px;\" onclick=\"sm_register_launch();\" onmouseover=\"this.style.cursor = 'pointer'\" value=\"REGISTER\" /> <input type=\"button\" style=\"font-family:Verdana, Arial, Helvetica, sans-serif;font-size:18px;font-weight:bold;background-color:#60e25d;border-color:#49aa47;width:100px;height:30px;\" onclick=\"sm_login_launch();\" onmouseover=\"this.style.cursor = 'pointer'\" value=\"LOGIN\" /></div>";
- }
- else if (sm_access_level==2) {
- scroll(0, 0);
- var sm_registerbar_code = "You need a <span style=\"position:relative;font-weight:bold;background-color:#39F;padding:4px;-webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; text-transform: uppercase;\">Plus</span> account to do that.<div style=\"position:relative;top:7px;\"><input id=\"sm_register_clear\" type=\"button\" style=\"font-family:Verdana, Arial, Helvetica, sans-serif; font-size:18px; font-weight:bold; background-color:#f2ec43; border-color:#bfba35; width:110px; height:30px;\" onclick=\"sm_registerbar_remove();\" onmouseover=\"this.style.cursor = 'pointer'\" value=\"CANCEL\" /> <input type=\"button\" style=\"font-family:Verdana, Arial, Helvetica, sans-serif;font-size:18px;font-weight:bold;background-color:#ff8a3d;border-color:#d66e2a;width:160px;height:30px;\" onclick=\"sm_register_launch();\" onmouseover=\"this.style.cursor = 'pointer'\" value=\"MORE INFO\" />";
- if (window.SM_USER_PLUS==false) {
- sm_registerbar_code += " <input type=\"button\" style=\"font-family:Verdana, Arial, Helvetica, sans-serif;font-size:18px;font-weight:bold;background-color:#60e25d;border-color:#49aa47;width:100px;height:30px;\" onclick=\"sm_login_launch();\" onmouseover=\"this.style.cursor = 'pointer'\" value=\"LOGIN\" />";
- }
- sm_registerbar_code += "</div>";
- }
- if (document.getElementById('sm_primary_interface').style.display=="block") {
- document.getElementById('sm_registerbar_primary').innerHTML = sm_registerbar_code;
- sm_element_add('sm_registerbar_primary', 10);
- }
- else {
- document.getElementById('sm_registerbar_secondary').innerHTML = sm_registerbar_code;
- sm_element_add('sm_registerbar_secondary', 10);
- }
- }
- function sm_registerbar_remove() {
- document.getElementById('sm_registerbar_primary').innerHTML = "";
- document.getElementById('sm_registerbar_secondary').innerHTML = "";
- sm_element_remove('sm_registerbar_primary', 5);
- sm_element_remove('sm_registerbar_secondary', 5);
- }
- function sm_http_protocol(sm_initial) {
- if (window.SM_LOAD_HTTP==true) {
- return false;
- }
- if (window.SM_LOAD_HTTP_SUB==true) {
- setTimeout("sm_http_protocol("+sm_initial+")", 100);
- return false;
- }
- sm_http_object = sm_http_object_retrieve();
- if (sm_http_object!=null) {
- window.SM_LOAD_HTTP = true;
- sm_element_snap_add("sm_loading_notice");
- sm_element_remove("sm_errorbar_primary", 2);
- sm_element_remove("sm_errorbar_secondary", 2);
- sm_element_remove("sm_primary_interface", 2);
- sm_load_add(sm_initial);
- var sm_hash = window.location.hash;
- var sm_count = 7;
- if (sm_hash.search(/&SM_LENGTH=/)!=-1) {
- var sm_length_array = sm_hash.split("&SM_LENGTH=");
- if (sm_hash.search(/&/)==-1&&sm_length_array[1]==parseFloat(sm_length_array[1])) {
- var sm_count = sm_length_array[1];
- }
- else {
- var sm_length_array = sm_length_array[1].split("&");
- if (sm_length_array[0]==parseFloat(sm_length_array[0])) {
- var sm_count = sm_length_array[0];
- }
- }
- document.getElementById('sm_count_secondary').value = sm_count;
- document.getElementById('sm_count_primary').value = sm_count;
- }
- if (sm_hash.search(/&SM_KEYWORD=/)!=-1) {
- window.SM_KEYWORD_ARRAY = sm_flash_refresh();
- var sm_keyword = "&SM_KEYWORD="+window.SM_KEYWORD_ARRAY[0];
- var sm_keyword_initial = true;
- for (sm_key in window.SM_KEYWORD_ARRAY) {
- if (sm_keyword_initial==true) {
- sm_keyword_initial = false;
- var sm_keyword = "&SM_KEYWORD="+sm_key;
- }
- else {
- sm_keyword += "+"+sm_key;
- }
- }
- }
- else {
- var sm_keyword = "";
- }
- if (sm_hash.search(/&SM_QUESTION_AVOID/)!=-1||(sm_initial==1&&typeof window.SM_USER_SETTINGS_SAVE!="undefined")&&window.SM_USER_SETTINGS_SAVE.search(/&SM_QUESTION_AVOID/)!=-1) {
- var sm_question_avoid = "&SM_QUESTION_AVOID";
- if (typeof window.SM_USER_SETTINGS_SAVE!="undefined"&&window.SM_USER_SETTINGS_SAVE.search(/&SM_DUD/)!=-1&&window.SM_USER_SETTINGS_SAVE.search(/&SM_QUESTION_AVOID/)==-1) {
- document.getElementById('sm_check_question_avoid_visual').indeterminate = true;
- }
- else {
- document.getElementById('sm_check_question_avoid_visual').checked = true;
- }
- }
- else {
- var sm_question_avoid = "";
- document.getElementById('sm_check_question_avoid_visual').checked = false;
- }
- if (sm_hash.search(/&SM_EXCLAMATION_AVOID/)!=-1||(sm_initial==1&&typeof window.SM_USER_SETTINGS_SAVE!="undefined")&&window.SM_USER_SETTINGS_SAVE.search(/&SM_EXCLAMATION_AVOID/)!=-1) {
- var sm_exclamation_avoid = "&SM_EXCLAMATION_AVOID";
- if (typeof window.SM_USER_SETTINGS_SAVE!="undefined"&&window.SM_USER_SETTINGS_SAVE.search(/&SM_DUD/)!=-1&&window.SM_USER_SETTINGS_SAVE.search(/&SM_EXCLAMATION_AVOID/)==-1) {
- document.getElementById('sm_check_exclamation_avoid_visual').indeterminate = true;
- }
- else {
- document.getElementById('sm_check_exclamation_avoid_visual').checked = true;
- }
- }
- else {
- var sm_exclamation_avoid = "";
- document.getElementById('sm_check_exclamation_avoid_visual').checked = false;
- }
- if (sm_hash.search(/&SM_QUOTE_AVOID/)!=-1||(sm_initial==1&&typeof window.SM_USER_SETTINGS_SAVE!="undefined")&&window.SM_USER_SETTINGS_SAVE.search(/&SM_QUOTE_AVOID/)!=-1) {
- var sm_quote_avoid = "&SM_QUOTE_AVOID";
- if (typeof window.SM_USER_SETTINGS_SAVE!="undefined"&&window.SM_USER_SETTINGS_SAVE.search(/&SM_DUD/)!=-1&&window.SM_USER_SETTINGS_SAVE.search(/&SM_QUOTE_AVOID/)==-1) {
- document.getElementById('sm_check_quote_avoid_visual').indeterminate = true;
- }
- else {
- document.getElementById('sm_check_quote_avoid_visual').checked = true;
- }
- }
- else {
- var sm_quote_avoid = "";
- document.getElementById('sm_check_quote_avoid_visual').checked = false;
- }
- if (sm_hash.search(/&SM_HEAT_MAP/)!=-1||(sm_initial==1&&typeof window.SM_USER_SETTINGS_SAVE!="undefined")&&window.SM_USER_SETTINGS_SAVE.search(/&SM_HEAT_MAP/)!=-1) {
- var sm_heat_map = "&SM_HEAT_MAP";
- if (typeof window.SM_USER_SETTINGS_SAVE!="undefined"&&window.SM_USER_SETTINGS_SAVE.search(/&SM_DUD/)!=-1&&window.SM_USER_SETTINGS_SAVE.search(/&SM_HEAT_MAP/)==-1) {
- document.getElementById('sm_check_heat_map_visual').indeterminate = true;
- }
- else {
- document.getElementById('sm_check_heat_map_visual').checked = true;
- }
- }
- else {
- var sm_heat_map = "";
- document.getElementById('sm_check_heat_map_visual').checked = false;
- }
- if ((sm_initial==1&&typeof window.SM_USER_SETTINGS_SAVE!="undefined")&&window.SM_USER_SETTINGS_SAVE.search(/&SM_QUICK_TRANSITIONS/)!=-1) {
- document.getElementById('sm_check_quick_transitions_visual').checked = true;
- }
- if ((sm_initial==1&&typeof window.SM_USER_SETTINGS_SAVE!="undefined")&&window.SM_USER_SETTINGS_SAVE.search(/&SM_SPECIFY_TOPIC/)!=-1) {
- document.getElementById('sm_check_specify_topic_visual').checked = true;
- }
- if (sm_hash.search(/&SM_STRICT_SCAN/)!=-1||(sm_initial==1&&typeof window.SM_USER_SETTINGS_SAVE!="undefined")&&window.SM_USER_SETTINGS_SAVE.search(/&SM_STRICT_SCAN/)!=-1) {
- var sm_strict_scan = "&SM_STRICT_SCAN";
- if (typeof window.SM_USER_SETTINGS_SAVE!="undefined"&&window.SM_USER_SETTINGS_SAVE.search(/&SM_DUD/)!=-1&&window.SM_USER_SETTINGS_SAVE.search(/&SM_HEAT_MAP/)==-1) {
- document.getElementById('sm_flash_strict_check').indeterminate = true;
- }
- else {
- document.getElementById('sm_flash_strict_check').checked = true;
- }
- }
- else {
- var sm_strict_scan = "";
- document.getElementById('sm_flash_strict_check').checked = false;
- }
- if (window.SM_REDUCTION_REQUEST==true) {
- window.SM_REDUCTION_REQUEST = false;
- var sm_reduction_count = document.getElementById('sm_reduction_main').value;
- }
- else {
- var sm_reduction_count = -1;
- }
- if (window.SM_CHARACTER_REQUEST==true&&sm_reduction_count==-1) {
- window.SM_CHARACTER_REQUEST = false;
- var sm_character_count = document.getElementById('sm_character_main').value;
- }
- else {
- var sm_character_count = -1;
- }
- if (sm_hash.search(/&SM_DEBUG/)!=-1) {
- var sm_debug = "&SM_DEBUG";
- }
- else {
- var sm_debug = "";
- }
- var sm_parameter_extra_composite = sm_keyword+sm_question_avoid+sm_exclamation_avoid+sm_quote_avoid+sm_heat_map+sm_strict_scan+sm_debug;
- if (sm_initial==1) {
- window.SM_PARAMETER_EXTRA_COMPOSITE_COMPARE = "&SM_LENGTH="+sm_count+sm_keyword+sm_question_avoid+sm_exclamation_avoid+sm_quote_avoid+sm_heat_map+sm_strict_scan+"[SM_REDUCTION_SPOT][SM_CHARACTER_SPOT]"+sm_debug;
- window.location.hash = "&SM_LENGTH="+sm_count+sm_parameter_extra_composite;
- }
- sm_http_object.open("GET", "https://smmry.com/sm_portal.php?&SM_TOKEN=1669516522&SM_POST_SAVE=0&SM_REDUCTION="+sm_reduction_count+"&SM_CHARACTER="+sm_character_count+"&SM_LENGTH="+sm_count+sm_parameter_extra_composite+"&SM_URL=http://money.cnn.com/2018/04/01/news/sports-betting-supreme-court-new-jersey/index.html");
- sm_http_object.send(null);
- sm_http_object.onreadystatechange = function(){
- if (sm_http_object.readyState == 4) {
- var sm_response = sm_http_object.responseText;
- sm_response = sm_response.replace(/\[SM_a\]/g, "<span id=\"sm_flash_");
- sm_response = sm_response.replace(/\[SM_b\]/g, "\" onclick=\"sm_flash_process('");
- sm_response = sm_response.replace(/\[SM_c\]/g, "', this,");
- sm_response = sm_response.replace(/\[SM_d\]/g, ")\" onmouseover=\"sm_flash_add('");
- sm_response = sm_response.replace(/\[SM_e\]/g, "', this, ");
- sm_response = sm_response.replace(/\[SM_f\]/g, ");\" onmouseout=\"sm_flash_remove('");
- sm_response = sm_response.replace(/\[SM_g\]/g, ");\">");
- sm_response = sm_response.replace(/\[SM_h\]/g, "</span>");
- sm_response = sm_response.replace(/\[SM_i\]/g, "<span style=\"background-color:");
- sm_response = sm_response.replace(/\[SM_j\]/g, "rgb(255, ");
- sm_response = sm_response.replace(/\[SM_k\]/g, ", 0)\"> ");
- sm_response = sm_response.replace(/\[SM_l\]/g, "<br><br>");
- sm_response = sm_response.replace(/\[SM_m\]/g, "<sm_break><sm_break>");
- sm_response = sm_response.replace(/\[SM_n\]/g, "rgb(75, ");
- if (sm_response.search(/SM_DIVIDE/)==-1) {
- sm_errorbar_message("INTERNAL SERVER ERROR OCCURED", "primary");
- sm_element_snap_remove("sm_secondary_interface");
- sm_element_snap_remove("sm_secondary_upper_bar");
- sm_element_snap_remove("sm_flashbar_container");
- sm_element_snap_remove("sm_lower_container");
- sm_element_snap_add("sm_primary_interface");
- if (window.SM_VIEW_FIXED==false) {
- document.getElementById('sm_footer_container').style.top = (parseFloat(document.getElementById('sm_footer_container').style.top)+20)+"px";
- }
- sm_upload_initiate();
- }
- else {
- var sm_response_array = sm_response.split("SM_DIVIDE");
- if (sm_response_array[1].search(/SENTENCE AMOUNT REDUCED/)!=-1) {
- var sm_count_array = sm_response.split("REDUCED TO ");
- var sm_count_array = sm_count_array[1].split("SM_DIVIDE");
- document.getElementById('sm_count_secondary').value = sm_count_array[0];
- window.location.hash = "&SM_LENGTH="+sm_count_array[0]+sm_parameter_extra_composite;
- }
- if (sm_response_array[1].search(/MAXIMUM SENTENCE AMOUNT IS/)!=-1) {
- var sm_count_array = sm_response.split("MAXIMUM SENTENCE AMOUNT IS ");
- var sm_count_array = sm_count_array[1].split("SM_DIVIDE");
- document.getElementById('sm_count_secondary').value = sm_count_array[0];
- window.location.hash = "&SM_LENGTH="+sm_count_array[0]+sm_parameter_extra_composite;
- }
- if (sm_response_array[1].search(/MINIMUM SENTENCE AMOUNT IS/)!=-1) {
- var sm_count_array = sm_response.split("MINIMUM SENTENCE AMOUNT IS ");
- var sm_count_array = sm_count_array[1].split("SM_DIVIDE");
- document.getElementById('sm_count_secondary').value = sm_count_array[0];
- window.location.hash = "&SM_LENGTH="+sm_count_array[0]+sm_parameter_extra_composite;
- }
- document.getElementById('sm_errorbar_primary').innerHTML = "";
- document.getElementById('sm_errorbar_secondary').innerHTML = "";
- if (sm_response_array[0]==1) {
- sm_element_snap_remove("sm_secondary_interface");
- sm_element_snap_remove("sm_secondary_upper_bar");
- sm_element_snap_remove("sm_flashbar_container");
- sm_element_snap_remove("sm_lower_container");
- sm_element_snap_add("sm_primary_interface");
- if (window.SM_VIEW_FIXED==false) {
- document.getElementById('sm_footer_container').style.top = (parseFloat(document.getElementById('sm_footer_container').style.top)+20)+"px";
- }
- sm_errorbar_message(sm_response_array[1], "primary");
- sm_upload_initiate();
- } else {
- sm_element_snap_remove("sm_load_shade");
- if (sm_heat_map=="&SM_HEAT_MAP") {
- sm_heat_map_add();
- }
- window.SM_BATON_TITLE = sm_response_array[2];
- window.SM_BATON_OUTPUT = sm_response_array[3];
- if (window.SM_BATON_OUTPUT.length==0) {
- window.SM_BATON_OUTPUT = "<div style=\"position:relative;top:5px;font-size:18px;font-weight:bold;background-color:#cccc00;border-style:solid;border-width:2px;border-color:#000;padding:5px;\">No sentences available, try broadening your settings.</div><div style=\"height:20px;\"></div>";
- }
- setTimeout("sm_load_remove_wait(1, "+sm_initial+");", 10);
- if (sm_response_array[1]!="") {
- sm_errorbar_message(sm_response_array[1], "secondary");
- }
- if (sm_response_array[4]!="") {
- var sm_flash_array = new Object();
- var sm_flash_sub_array = new Object();
- var sm_flash_sub_sub_array = new Object();
- var sm_flash_transfer_array = sm_response_array[4].split("[SM_B]");
- sm_flash_transfer_array.splice(0, 1);
- for (sm_key in sm_flash_transfer_array) {
- var sm_flash_transfer_sub_array = sm_flash_transfer_array[sm_key].split("[SM_C]");
- sm_flash_sub_array[sm_flash_transfer_sub_array[1]] = sm_flash_transfer_sub_array[0];
- sm_flash_sub_sub_array[sm_flash_transfer_sub_array[0]] = sm_flash_transfer_sub_array[1];
- sm_flash_array[sm_flash_transfer_sub_array[0]] = new Array();
- var sm_flash_transfer_sub_sub_array = sm_flash_transfer_sub_array[2].split("[SM_D]");
- sm_flash_transfer_sub_sub_array.splice(0, 1);
- for (sm_key_sub in sm_flash_transfer_sub_sub_array) {
- sm_flash_array[sm_flash_transfer_sub_array[0]].push(sm_flash_transfer_sub_sub_array[sm_key_sub]);
- }
- }
- window.SM_FLASH_GROUP_ARRAY = sm_flash_array;
- window.SM_FLASH_SHORT_ARRAY = sm_flash_sub_array;
- window.SM_FLASH_REVERSE_ARRAY = sm_flash_sub_sub_array;
- }
- if (sm_response_array[5]!="") {
- var sm_flash_array = new Array();
- var sm_flash_sub_array = new Object();
- var sm_flash_transfer_array = sm_response_array[5].split("[SM_B]");
- sm_flash_transfer_array.splice(0, 1);
- var sm_flash_counter = sm_substr_count(sm_response_array[5], "[SM_B]");
- for (sm_key in sm_flash_transfer_array) {
- var sm_flash_transfer_sub_array = sm_flash_transfer_array[sm_key].split("[SM_C]");
- sm_flash_sub_array[sm_flash_transfer_sub_array[0]] = sm_flash_transfer_sub_array[1];
- sm_flash_array[sm_flash_counter] = sm_flash_transfer_sub_array[0];
- sm_flash_counter--;
- }
- window.SM_FLASH_RANK_ARRAY = sm_flash_array;
- window.SM_FLASH_COLOUR_ARRAY = sm_flash_sub_array;
- }
- if (sm_response_array[6]!="") {
- document.getElementById('sm_reduction_main').value = sm_response_array[6];
- if (sm_initial==1) {
- window.SM_PARAMETER_EXTRA_COMPOSITE_COMPARE = window.SM_PARAMETER_EXTRA_COMPOSITE_COMPARE.replace("[SM_REDUCTION_SPOT]", sm_response_array[6]);
- }
- if (window.SM_REDUCTION_FOCUS==true) {
- sm_select_count(document.getElementById('sm_reduction_main'));
- }
- }
- if (sm_response_array[7]!="") {
- document.getElementById('sm_character_main').value = sm_response_array[7];
- if (sm_initial==1) {
- window.SM_PARAMETER_EXTRA_COMPOSITE_COMPARE = window.SM_PARAMETER_EXTRA_COMPOSITE_COMPARE.replace("[SM_CHARACTER_SPOT]", sm_response_array[7]);
- }
- if (window.SM_CHARACTER_FOCUS==true) {
- sm_select_count(document.getElementById('sm_character_main'));
- }
- }
- if (window.SM_COUNT_FOCUS==true) {
- sm_select_count(document.getElementById('sm_count_secondary'));
- }
- if (sm_response_array[8]!="") {
- document.getElementById('sm_count_secondary').value = sm_response_array[8];
- sm_resummarize_process(2);
- }
- if (sm_response_array[9]!="") {
- window.SM_SIGNATURE = sm_response_array[9];
- }
- if (sm_response_array[10]!="") {
- document.getElementById("sm_container_debug").innerHTML = sm_response_array[10];
- document.getElementById("sm_container_debug").style.display = "block";
- document.getElementById("sm_outer_debug").style.display = "block";
- }
- else {
- document.getElementById("sm_container_debug").innerHTML = "";
- document.getElementById("sm_container_debug").style.display = "none";
- document.getElementById("sm_outer_debug").style.display = "none";
- }
- }
- }
- window.SM_FLASH_PROCESS_BLOCK = false;
- window.SM_LOAD_HTTP = false;
- sm_element_snap_remove("sm_loading_notice");
- }
- }
- }
- }
- function sm_heat_map_add() {
- document.getElementById('sm_container_secondary').style.backgroundColor = "#939393";
- document.getElementById('sm_secondary_text_style').style.backgroundColor = "#666666";
- document.getElementById('sm_reduction_main').style.backgroundColor = "#666666";
- document.getElementById('sm_reduction_main').style.borderTopColor = "#333333";
- document.getElementById('sm_reduction_main').style.borderLeftColor = "#333333";
- document.getElementById('sm_reduction_main').style.borderBottomColor = "#ead9ff";
- document.getElementById('sm_reduction_main').style.borderRightColor = "#ead9ff";
- document.getElementById('sm_character_main').style.backgroundColor = "#666666";
- document.getElementById('sm_character_main').style.borderTopColor = "#333333";
- document.getElementById('sm_character_main').style.borderLeftColor = "#333333";
- document.getElementById('sm_character_main').style.borderBottomColor = "#ead9ff";
- document.getElementById('sm_character_main').style.borderRightColor = "#ead9ff";
- }
- function sm_heat_map_remove() {
- document.getElementById('sm_container_secondary').style.backgroundColor = "#ead9ff";
- document.getElementById('sm_secondary_text_style').style.backgroundColor = "#cebee2";
- document.getElementById('sm_reduction_main').style.backgroundColor = "#cebee2";
- document.getElementById('sm_reduction_main').style.borderTopColor = "#c141c1";
- document.getElementById('sm_reduction_main').style.borderLeftColor = "#c141c1";
- document.getElementById('sm_reduction_main').style.borderBottomColor = "#b7a3d1";
- document.getElementById('sm_reduction_main').style.borderRightColor = "#b7a3d1";
- document.getElementById('sm_character_main').style.backgroundColor = "#cebee2";
- document.getElementById('sm_character_main').style.borderTopColor = "#c141c1";
- document.getElementById('sm_character_main').style.borderLeftColor = "#c141c1";
- document.getElementById('sm_character_main').style.borderBottomColor = "#b7a3d1";
- document.getElementById('sm_character_main').style.borderRightColor = "#b7a3d1";
- }
- function sm_flash_refresh() {
- var sm_hash = window.location.hash;
- var sm_keyword_local_array = new Array();
- if (sm_hash.search(/&SM_KEYWORD=/)!=-1) {
- var sm_keyword_array = sm_hash.split("&SM_KEYWORD=");
- if (sm_keyword_array[1].search(/&/)==-1) {
- var sm_keyboard_compile = sm_keyword_array[1];
- }
- else {
- var sm_keyword_sub_array = sm_keyword_array[1].split("&");
- var sm_keyboard_compile = sm_keyword_sub_array[0];
- }
- if (sm_keyboard_compile.search(/\+/)==-1&&parseFloat(sm_keyboard_compile)==sm_keyboard_compile) {
- sm_keyword_local_array[sm_keyboard_compile] = true;
- }
- else {
- sm_keyword_array = sm_keyboard_compile.split("+");
- var sm_keyword_counter = 0;
- for (sm_key in sm_keyword_array) {
- if (sm_keyword_counter==5) {
- break;
- }
- if (parseFloat(sm_keyword_array[sm_key])==sm_keyword_array[sm_key]) {
- sm_keyword_local_array[sm_keyword_array[sm_key]] = true;
- }
- sm_keyword_counter++;
- }
- }
- }
- return sm_keyword_local_array;
- }
- function sm_flash_purge() {
- if (window.SM_FLASH_PROCESS_BLOCK==true) {
- return false;
- }
- if (window.SM_FLASHBAR_PURGE_BLOCK==false) {
- window.SM_FLASHBAR_BUILD = "";
- window.SM_FLASH_CURRENT_ARRAY = new Array();
- }
- for (sm_key in window.SM_KEYWORD_ARRAY) {
- for (sm_key_sub in window.SM_FLASH_GROUP_ARRAY[window.SM_FLASH_RANK_ARRAY[sm_key]]) {
- if (document.getElementById("sm_flash_"+window.SM_FLASH_GROUP_ARRAY[window.SM_FLASH_RANK_ARRAY[sm_key]][sm_key_sub])) {
- document.getElementById("sm_flash_"+window.SM_FLASH_GROUP_ARRAY[window.SM_FLASH_RANK_ARRAY[sm_key]][sm_key_sub]).style.backgroundColor = window.SM_FLASH_COLOUR_ARRAY[window.SM_FLASH_RANK_ARRAY[sm_key]];
- }
- if (window.SM_FLASHBAR_PURGE_BLOCK==false&&typeof window.SM_FLASH_CURRENT_ARRAY[window.SM_FLASH_RANK_ARRAY[sm_key]]=="undefined") {
- window.SM_FLASH_CURRENT_ARRAY[window.SM_FLASH_RANK_ARRAY[sm_key]] = true;
- window.SM_FLASHBAR_BUILD += window.SM_FLASH_REVERSE_ARRAY[window.SM_FLASH_RANK_ARRAY[sm_key]]+" ";
- }
- }
- }
- if (window.SM_FLASHBAR_PURGE_BLOCK==false&&window.SM_FLASHBAR_BUILD!="") {
- sm_flashbar_activate();
- sm_flashbar_character("");
- }
- if (window.SM_FLASHBAR_PURGE_BLOCK==true) {
- window.SM_FLASHBAR_PURGE_BLOCK = false;
- }
- }
- function sm_flash_clear() {
- window.SM_KEYWORD_ARRAY = new Array();
- window.SM_FLASH_CURRENT_ARRAY = new Array();
- sm_resummarize_process(0);
- }
- function sm_flash_process(sm_flash_group_unique, sm_object, sm_active) {
- window.SM_FLASHBAR_HOVER_SUB = false;
- if (sm_active!=0&&window.SM_SPECIFY_TOPIC_STATE==0) {
- sm_specify_topic_indeterminate();
- }
- if (sm_active==1||sm_active==2) {
- window.SM_FLASH_PROCESS_BLOCK = true;
- sm_keyword_local_array = sm_flash_refresh();
- var sm_keyword_counter = 0;
- for (sm_key in sm_keyword_local_array) {
- if (sm_keyword_local_array[sm_key]==true) {
- sm_keyword_counter++;
- }
- }
- if ((sm_keyword_local_array[sm_array_search(sm_flash_group_unique, window.SM_FLASH_RANK_ARRAY)])&&sm_keyword_local_array[sm_array_search(sm_flash_group_unique, window.SM_FLASH_RANK_ARRAY)]==true) {
- delete sm_keyword_local_array[sm_array_search(sm_flash_group_unique, window.SM_FLASH_RANK_ARRAY)];
- window.SM_KEYWORD_ARRAY = sm_keyword_local_array;
- delete window.SM_FLASH_CURRENT_ARRAY[sm_flash_group_unique];
- if (sm_active==1) {
- window.SM_FLASHBAR_BUILD = window.SM_FLASHBAR_BUILD.replace(window.SM_FLASH_REVERSE_ARRAY[sm_flash_group_unique]+" ", "");
- sm_flashbar_activate();
- sm_flashbar_character("");
- if (window.SM_FLASHBAR_BUILD=="") {
- sm_flashbar_reset();
- }
- }
- sm_resummarize_process(0);
- }
- else if (sm_keyword_counter<5) {
- sm_keyword_local_array[sm_array_search(sm_flash_group_unique, window.SM_FLASH_RANK_ARRAY)] = true;
- window.SM_KEYWORD_ARRAY = sm_keyword_local_array;
- window.SM_FLASH_CURRENT_ARRAY[sm_flash_group_unique] = true;
- if (sm_active==1) {
- window.SM_FLASHBAR_BUILD += window.SM_FLASH_REVERSE_ARRAY[sm_flash_group_unique]+" ";
- sm_flashbar_activate();
- sm_flashbar_character("");
- }
- sm_resummarize_process(0);
- }
- else {
- document.getElementById('sm_flash_warning_container').style.top = (sm_object_position_top(sm_object)-40)+"px";
- document.getElementById('sm_flash_warning_container').style.left = (sm_object_position_left(sm_object)-185)+"px";
- sm_element_add("sm_flash_warning_container", 2);
- setTimeout("sm_element_remove(\"sm_flash_warning_container\", 2);", 1800);
- }
- }
- else {
- document.getElementById('sm_flash_info_container').style.top = (sm_object_position_top(sm_object)-40)+"px";
- document.getElementById('sm_flash_info_container').style.left = (sm_object_position_left(sm_object)+(sm_object.offsetWidth/2)-120)+"px";
- sm_element_add("sm_flash_info_container", 2);
- setTimeout("sm_element_remove(\"sm_flash_info_container\", 2);", 990);
- }
- }
- function sm_flash_add(sm_flash_group_unique, sm_object, sm_active) {
- if (sm_active==1) {
- for (sm_key in window.SM_FLASH_GROUP_ARRAY[sm_flash_group_unique]) {
- if (document.getElementById("sm_flash_"+window.SM_FLASH_GROUP_ARRAY[sm_flash_group_unique][sm_key])) {
- document.getElementById("sm_flash_"+window.SM_FLASH_GROUP_ARRAY[sm_flash_group_unique][sm_key]).style.backgroundColor = window.SM_FLASH_COLOUR_ARRAY[sm_flash_group_unique];
- document.getElementById("sm_flash_"+window.SM_FLASH_GROUP_ARRAY[sm_flash_group_unique][sm_key]).style.cursor = 'pointer';
- }
- }
- }
- else {
- sm_object.style.backgroundColor = "#ead9ff";
- sm_object.style.cursor = 'pointer';
- }
- }
- function sm_flash_remove(sm_flash_group_unique, sm_object, sm_active) {
- if (sm_active==1) {
- for (sm_key in window.SM_FLASH_GROUP_ARRAY[sm_flash_group_unique]) {
- if (document.getElementById("sm_flash_"+window.SM_FLASH_GROUP_ARRAY[sm_flash_group_unique][sm_key])&&!window.SM_KEYWORD_ARRAY[sm_array_search(sm_flash_group_unique, window.SM_FLASH_RANK_ARRAY)]) {
- document.getElementById("sm_flash_"+window.SM_FLASH_GROUP_ARRAY[sm_flash_group_unique][sm_key]).style.backgroundColor = "transparent";
- }
- }
- }
- else {
- sm_object.style.backgroundColor = "transparent";
- }
- }
- function sm_flashbar_key_cycle() {
- if (document.getElementById('sm_flashbar_key_input').value=="") {
- setTimeout("sm_flashbar_key_cycle()", 1);
- }
- else {
- sm_flashbar_input();
- }
- }
- function sm_flashbar_input() {
- var sm_key = document.getElementById('sm_flashbar_key_input').value;
- document.getElementById('sm_flashbar_key_input').value = "";
- if (window.SM_FLASHBAR_BUSY==false&&window.SM_FLASH_PROCESS_BLOCK==false) {
- sm_flashbar_character(sm_key);
- }
- }
- function sm_flashbar_recover() {
- if (window.SM_FLASHBAR_SELECTED==true) {
- setTimeout("document.getElementById('sm_flashbar_key_input').focus();", 1);
- }
- }
- function sm_flashbar_rollback() {
- if (window.SM_FLASHBAR_BUILD.length>0) {
- var sm_pointer = window.SM_FLASHBAR_BUILD.length-1;
- while (window.SM_FLASHBAR_BUILD.substr(sm_pointer, 1)!=" "&&window.SM_FLASHBAR_BUILD.length>0) {
- window.SM_FLASHBAR_BUILD = window.SM_FLASHBAR_BUILD.substr(0, sm_pointer);
- sm_pointer--;
- }
- }
- window.SM_FLASHBAR_TYPE_BLOCK = false;
- }
- function sm_flashbar_up() {
- if (window.SM_FLASHBAR_NAV>0) {
- window.SM_FLASHBAR_NAV--;
- }
- var sm_counter = window.SM_FLASHBAR_NAV_MAX;
- for (sm_key in window.SM_FLASHBAR_NAV_MENU) {
- if (sm_counter==(window.SM_FLASHBAR_NAV+1)&&document.getElementById('sm_flashbar_list_element_'+(window.SM_FLASHBAR_NAV+1))) {
- document.getElementById('sm_flashbar_list_element_'+(window.SM_FLASHBAR_NAV+1)).style.backgroundColor = window.SM_FLASHBAR_NAV_MENU[sm_key];
- }
- else if (sm_counter!=0&&sm_counter==window.SM_FLASHBAR_NAV) {
- sm_flashbar_outer_update(sm_key);
- }
- sm_counter--;
- }
- if (document.getElementById('sm_flashbar_list_element_'+window.SM_FLASHBAR_NAV)) {
- document.getElementById('sm_flashbar_list_element_'+window.SM_FLASHBAR_NAV).style.backgroundColor = "#F60";
- }
- else {
- sm_flashbar_outer_update(false);
- }
- }
- function sm_flashbar_down() {
- if (window.SM_FLASHBAR_NAV<window.SM_FLASHBAR_NAV_MAX) {
- window.SM_FLASHBAR_NAV++;
- }
- var sm_counter = window.SM_FLASHBAR_NAV_MAX;
- for (sm_key in window.SM_FLASHBAR_NAV_MENU) {
- if (sm_counter==(window.SM_FLASHBAR_NAV-1)&&document.getElementById('sm_flashbar_list_element_'+(window.SM_FLASHBAR_NAV-1))) {
- document.getElementById('sm_flashbar_list_element_'+(window.SM_FLASHBAR_NAV-1)).style.backgroundColor = window.SM_FLASHBAR_NAV_MENU[sm_key];
- }
- else if (sm_counter==window.SM_FLASHBAR_NAV) {
- sm_flashbar_outer_update(sm_key);
- }
- sm_counter--;
- }
- if (document.getElementById('sm_flashbar_list_element_'+window.SM_FLASHBAR_NAV)) {
- document.getElementById('sm_flashbar_list_element_'+window.SM_FLASHBAR_NAV).style.backgroundColor = "#F60";
- }
- }
- function sm_flashbar_list_rebuild() {
- var sm_counter = window.SM_FLASHBAR_NAV_MAX;
- for (sm_key in window.SM_FLASHBAR_NAV_MENU) {
- document.getElementById('sm_flashbar_list_element_'+sm_counter).style.backgroundColor = window.SM_FLASHBAR_NAV_MENU[sm_key];
- sm_counter--;
- }
- }
- function sm_flashbar_list_update(sm_flashbar_list_focus) {
- sm_flashbar_list_build = "";
- if (sm_flashbar_list_focus=="") {
- var sm_flash_colour_local = new Array();
- for (sm_key in window.SM_FLASH_COLOUR_ARRAY) {
- if (typeof window.SM_FLASH_CURRENT_ARRAY[sm_key]=="undefined") {
- sm_flash_colour_local[sm_key] = window.SM_FLASH_COLOUR_ARRAY[sm_key];
- }
- }
- }
- else {
- var sm_flash_colour_local = new Array();
- for (sm_key in window.SM_FLASH_COLOUR_ARRAY) {
- if ((window.SM_FLASH_REVERSE_ARRAY[sm_key])&&typeof window.SM_FLASH_CURRENT_ARRAY[sm_key]=="undefined"&&window.SM_FLASH_REVERSE_ARRAY[sm_key].toLowerCase().substr(0, sm_flashbar_list_focus.length)==sm_flashbar_list_focus.toLowerCase()) {
- sm_flash_colour_local[sm_key] = window.SM_FLASH_COLOUR_ARRAY[sm_key];
- }
- }
- }
- var sm_made = false;
- var sm_counter = 0;
- for (sm_key in sm_flash_colour_local) {
- sm_counter++;
- }
- window.SM_FLASHBAR_NAV_MAX = sm_counter;
- window.SM_FLASHBAR_NAV_MENU = sm_flash_colour_local;
- for (sm_key in sm_flash_colour_local) {
- sm_made = true;
- sm_flashbar_list_build = "<span id=\"sm_flashbar_list_element_"+sm_counter+"\" style=\"background-color:"+sm_flash_colour_local[sm_key]+";\" onclick=\"window.SM_FLASHBAR_LIST_BLOCK = true;sm_flashbar_add('"+sm_key+"')\" onmouseover=\"sm_flashbar_list_rebuild();window.SM_FLASHBAR_NAV = "+sm_counter+";this.style.cursor = 'pointer';this.style.backgroundColor = '#F60';sm_flashbar_outer_update('"+sm_key+"');sm_flash_add('"+sm_key+"', this, 1);\" onmouseout=\"window.SM_FLASHBAR_NAV = 0;this.style.backgroundColor = '"+sm_flash_colour_local[sm_key]+"';sm_flashbar_outer_update(false);sm_flash_remove('"+sm_key+"', this, 1);\">"+window.SM_FLASH_REVERSE_ARRAY[sm_key].replace(/-/g, "‑")+"</span><br />"+sm_flashbar_list_build;
- sm_counter--;
- }
- var sm_counter = 0;
- for (sm_key in window.SM_FLASH_CURRENT_ARRAY) {
- sm_counter++;
- }
- if (sm_counter>=5) {
- window.SM_FLASHBAR_TYPE_BLOCK = true;
- sm_flashbar_list_build = "<span id=\"sm_flashbar_empty\" style=\"position:relative;top:2px;background-color:#cccc00;font-size:18px;font-weight:bold;padding:2px;\">You cannot select more than 5 keywords.</span>";
- var sm_flashbar_push_local = "0px";
- setTimeout("sm_flashbar_pointer_manual(1)", 1);
- }
- else if (sm_made==false) {
- window.SM_FLASHBAR_TYPE_BLOCK = true;
- sm_flashbar_list_build = "<span id=\"sm_flashbar_empty\" style=\"position:relative;top:2px;background-color:#cccc00;font-size:18px;font-weight:bold;padding:2px;\">No such keyword exists in this text.</span>";
- var sm_flashbar_push_local = "0px";
- }
- else {
- window.SM_FLASHBAR_TYPE_BLOCK = false;
- var sm_flashbar_push_local = window.SM_FLASHBAR_PUSH;
- }
- var sm_position_base = sm_object_position_top(document.getElementById('sm_flashbar_container'));
- document.getElementById('sm_flashbar_pointer').style.top = (sm_position_base-6)+"px";
- document.getElementById('sm_flashbar_pointer_red').style.top = (sm_position_base-6)+"px";
- document.getElementById('sm_flashbar_box').style.top = (sm_position_base+21)+"px";
- document.getElementById('sm_flashbar_box_undercast').style.top = (sm_position_base+21)+"px";
- document.getElementById('sm_flashbar_box').innerHTML = "<div id=\"sm_flashbar_keyword_container\" align=\"left\" style=\"position:relative;left:"+sm_flashbar_push_local+";width:1px;\">"+sm_flashbar_list_build+"</div>";
- document.getElementById('sm_flashbar_box_undercast').style.height = document.getElementById('sm_flashbar_keyword_container').offsetHeight+"px";
- return sm_flash_colour_local;
- }
- function sm_flashbar_build_process(sm_flashbar_build_local) {
- var sm_flashbar_inner = "<span id=\"sm_flashbar_inner_set\">";
- var sm_flashbar_outer = "";
- var sm_flashbar_outer_match = "";
- var sm_flashbar_list = "";
- var sm_flashbar_build_last = sm_flashbar_build_local.substr(sm_flashbar_build_local.length-1, 1);
- if (sm_flashbar_build_local.search(/ /)!=-1) {
- var sm_flashbar_build_last_block = false;
- var sm_flashbar_array = sm_flashbar_build_local.split(" ");
- var sm_flashbar_array_length = sm_flashbar_array.length;
- var sm_counter = 1;
- for (sm_key in sm_flashbar_array) {
- if (sm_flashbar_array_length==sm_counter&&sm_flashbar_build_last!=" ") {
- sm_flashbar_inner += "</span>";
- sm_flashbar_build_last_block = true;
- }
- if (sm_flashbar_array_length!=sm_counter&&window.SM_FLASH_COLOUR_ARRAY[window.SM_FLASH_SHORT_ARRAY[sm_flashbar_array[sm_key]]]) {
- sm_flashbar_inner += "<span style=\"background-color:"+window.SM_FLASH_COLOUR_ARRAY[window.SM_FLASH_SHORT_ARRAY[sm_flashbar_array[sm_key]]]+";\" onclick=\"window.SM_FLASHBAR_LIST_BLOCK = true;sm_flash_process('"+window.SM_FLASH_SHORT_ARRAY[sm_flashbar_array[sm_key]]+"', document.getElementById('sm_flashbox_main'), 1)\" onmouseover=\"this.style.cursor = 'pointer';window.SM_FLASHBAR_HOVER_SUB = true;\" onmouseout=\"window.SM_FLASHBAR_HOVER_SUB = false;\">"+sm_flashbar_array[sm_key]+"</span> ";
- }
- else if (sm_flashbar_array_length==sm_counter) {
- sm_flashbar_outer_match = sm_flashbar_array[sm_key];
- sm_flashbar_inner += "<span style=\"background-color:#ead9ff;\">"+sm_flashbar_array[sm_key]+"</span>";
- }
- else {
- window.SM_FLASHBAR_BUILD = window.SM_FLASHBAR_BUILD.replace(sm_flashbar_array[sm_key]+" ", "");
- }
- sm_flashbar_list = sm_flashbar_array[sm_key];
- sm_counter++;
- }
- if (sm_flashbar_build_last_block==false) {
- sm_flashbar_inner += "</span>";
- }
- }
- else {
- if (sm_flashbar_build_local!="") {
- sm_flashbar_outer_match = sm_flashbar_build_local;
- if (sm_flashbar_build_last==" "&&window.SM_FLASH_COLOUR_ARRAY[window.SM_FLASH_SHORT_ARRAY[sm_flashbar_build_local]]) {
- sm_flashbar_inner = "<span style=\"background-color:"+window.SM_FLASH_COLOUR_ARRAY[window.SM_FLASH_SHORT_ARRAY[sm_flashbar_build_local]]+";\" onclick=\"window.SM_FLASHBAR_LIST_BLOCK = true;sm_flash_process('"+window.SM_FLASH_SHORT_ARRAY[sm_flashbar_array[sm_key]]+"', document.getElementById('sm_flashbox_main'), 1)\" onmouseover=\"this.style.cursor = 'pointer';window.SM_FLASHBAR_HOVER_SUB = true;\" onmouseout=\"window.SM_FLASHBAR_HOVER_SUB = false;\">"+sm_flashbar_build_local+"</span>";
- }
- else {
- sm_flashbar_inner = "<span style=\"background-color:#ead9ff;\">"+sm_flashbar_build_local+"</span>";
- }
- sm_flashbar_inner += "</span>";
- sm_flashbar_list = sm_flashbar_build_local;
- }
- }
- window.SM_FLASHBAR_OUTER_RAW = false;
- window.SM_FLASHBAR_OUTER_RAW_RAW = false;
- sm_flash_colour_remote = sm_flashbar_list_update(sm_flashbar_list);
- var sm_flash_colour_remote_length = 0;
- for (sm_key in sm_flash_colour_remote) {
- sm_flash_colour_remote_length++;
- }
- if (sm_flash_colour_remote_length>0&&sm_flashbar_outer_match!="") {
- var sm_flashbar_nav_local = window.SM_FLASHBAR_NAV;
- if (sm_flashbar_nav_local==0) {
- sm_flashbar_nav_local = 1;
- }
- var sm_flashbar_outer_complete = "";
- var sm_counter = sm_flash_colour_remote_length;
- for (sm_key in sm_flash_colour_remote) {
- if (sm_counter==sm_flashbar_nav_local) {
- window.SM_FLASHBAR_OUTER_RAW = sm_key;
- window.SM_FLASHBAR_OUTER_RAW_RAW = sm_key;
- var sm_flashbar_outer_complete = window.SM_FLASH_REVERSE_ARRAY[sm_key];
- var sm_flashbar_outer_colour = sm_flash_colour_remote[sm_key];
- sm_flashbar_outer_partial = sm_flashbar_outer_complete.substr(sm_flashbar_outer_match.length, sm_flashbar_outer_complete.length-sm_flashbar_outer_match.length);
- sm_flashbar_outer = "<span style=\"background-color:"+sm_flashbar_outer_colour+"\">"+sm_flashbar_outer_partial+"</span>";
- break;
- }
- sm_counter--;
- }
- }
- window.SM_FLASHBAR_OUTER_MATCH = sm_flashbar_outer_match;
- return "<span id=\"sm_flashbar_inner\">"+sm_flashbar_inner+"</span><span id=\"sm_flashbar_outer\">"+sm_flashbar_outer+"</span>";
- }
- function sm_flashbar_outer_update(sm_flashbar_keyword) {
- if (document.getElementById('sm_flashbar_outer')&&window.SM_FLASHBAR_TYPE_BLOCK==false) {
- var sm_flashbar_outer_content = "";
- if (sm_flashbar_keyword===false) {
- if (window.SM_FLASHBAR_OUTER_RAW_RAW!==false) {
- window.SM_FLASHBAR_OUTER_RAW = window.SM_FLASHBAR_OUTER_RAW_RAW;
- sm_flashbar_outer_match = window.SM_FLASHBAR_OUTER_MATCH;
- sm_flashbar_outer_complete = window.SM_FLASH_REVERSE_ARRAY[window.SM_FLASHBAR_OUTER_RAW];
- sm_flashbar_outer_partial = sm_flashbar_outer_complete.substr(sm_flashbar_outer_match.length, sm_flashbar_outer_complete.length-sm_flashbar_outer_match.length);
- sm_flashbar_outer_content = "<span style=\"background-color:"+window.SM_FLASH_COLOUR_ARRAY[window.SM_FLASHBAR_OUTER_RAW]+"\">"+sm_flashbar_outer_partial+"</span>";
- }
- else {
- window.SM_FLASHBAR_OUTER_RAW = false;
- }
- }
- else if (document.getElementById('sm_flashbar_outer')&&typeof window.SM_FLASH_COLOUR_ARRAY[sm_flashbar_keyword]!="undefined") {
- if (window.SM_FLASHBAR_OUTER_RAW_RAW!==false) {
- sm_flashbar_outer_match = window.SM_FLASHBAR_OUTER_MATCH;
- sm_flashbar_outer_complete = window.SM_FLASH_REVERSE_ARRAY[sm_flashbar_keyword];
- sm_flashbar_outer_partial = sm_flashbar_outer_complete.substr(sm_flashbar_outer_match.length, sm_flashbar_outer_complete.length-sm_flashbar_outer_match.length);
- }
- else {
- sm_flashbar_outer_partial = window.SM_FLASH_REVERSE_ARRAY[sm_flashbar_keyword];
- }
- window.SM_FLASHBAR_OUTER_RAW = sm_flashbar_keyword;
- sm_flashbar_outer_content = "<span style=\"background-color:"+window.SM_FLASH_COLOUR_ARRAY[sm_flashbar_keyword]+"\">"+sm_flashbar_outer_partial+"</span>";
- }
- document.getElementById('sm_flashbar_outer').innerHTML = sm_flashbar_outer_content;
- }
- }
- function sm_flashbar_add(sm_flashbar_keyword) {
- window.SM_FLASHBAR_NAV = 0;
- setTimeout("document.getElementById('sm_flashbar_key_input').focus()", 1);
- sm_element_snap_add("sm_loading_notice");
- sm_flashbar_rollback();
- window.SM_FLASHBAR_OUTER_RAW = false;
- window.SM_FLASHBAR_OUTER_RAW_RAW = false;
- sm_flashbar_character(window.SM_FLASH_REVERSE_ARRAY[sm_flashbar_keyword]);
- sm_flash_process(sm_flashbar_keyword, document.getElementById('sm_flashbar_main'), 2);
- window.SM_FLASHBAR_OUTER_RAW = false;
- window.SM_FLASHBAR_OUTER_RAW_RAW = false;
- sm_flashbar_character(" ");
- }
- function sm_flashbar_delete() {
- window.SM_FLASHBAR_NAV = 0;
- if (window.SM_FLASHBAR_BUILD.search(/ /)!=-1) {
- var sm_flashbar_array = window.SM_FLASHBAR_BUILD.split(" ");
- delete sm_flashbar_array[sm_flashbar_array.length-1];
- for (sm_key in window.SM_FLASH_CURRENT_ARRAY) {
- if (sm_array_search(window.SM_FLASH_REVERSE_ARRAY[sm_key], sm_flashbar_array)===false) {
- window.SM_FLASHBAR_PURGE_BLOCK = true;
- sm_element_snap_add("sm_loading_notice");
- sm_flash_process(sm_key, document.getElementById('sm_flashbar_main'), 2);
- window.SM_FLASHBAR_OUTER_RAW = sm_key;
- window.SM_FLASHBAR_OUTER_RAW_RAW = sm_key;
- }
- }
- }
- else {
- for (sm_key in window.SM_FLASH_CURRENT_ARRAY) {
- window.SM_FLASHBAR_PURGE_BLOCK = true;
- sm_element_snap_add("sm_loading_notice");
- sm_flash_process(sm_key, document.getElementById('sm_flashbar_main'), 2);
- window.SM_FLASHBAR_OUTER_RAW = sm_key;
- window.SM_FLASHBAR_OUTER_RAW_RAW = sm_key;
- }
- }
- }
- function sm_flashbar_character(sm_character) {
- window.SM_FLASHBAR_BUSY = true;
- if (sm_character==null) {
- if (window.SM_FLASHBAR_BUILD.length>0) {
- window.SM_FLASHBAR_BUILD = window.SM_FLASHBAR_BUILD.substr(0, window.SM_FLASHBAR_BUILD.length-1);
- sm_flashbar_delete();
- }
- }
- else if (window.SM_FLASHBAR_TYPE_BLOCK==true||(sm_character==" "&&window.SM_FLASHBAR_BUILD.substr(window.SM_FLASHBAR_BUILD.length-1, 1)==" "&&window.SM_FLASHBAR_OUTER_RAW===false)||(sm_character==" "&&window.SM_FLASHBAR_BUILD==""&&window.SM_FLASHBAR_OUTER_RAW===false)) {
- sm_flashbar_type_error();
- window.SM_FLASHBAR_BUSY = false;
- return false;
- }
- else {
- if (sm_character==" "&&window.SM_FLASHBAR_OUTER_RAW!==false) {
- sm_flashbar_add(window.SM_FLASHBAR_OUTER_RAW);
- window.SM_FLASHBAR_BUSY = false;
- return true;
- }
- else {
- window.SM_FLASHBAR_BUILD += sm_character;
- }
- }
- document.getElementById('sm_flashbar_main').innerHTML = sm_flashbar_build_process(window.SM_FLASHBAR_BUILD);
- var sm_flashbar_build_last = window.SM_FLASHBAR_BUILD.substr(window.SM_FLASHBAR_BUILD.length-1, 1);
- if (document.getElementById('sm_flashbar_inner')) {
- var sm_flashbar_pointer_push = document.getElementById('sm_flashbar_inner').offsetWidth;
- if (sm_flashbar_build_last==" ") {
- sm_flashbar_pointer_push += 6;
- }
- }
- else {
- var sm_flashbar_pointer_push = 0;
- }
- document.getElementById('sm_flashbar_pointer').style.marginLeft = (-345 + sm_flashbar_pointer_push)+"px";
- document.getElementById('sm_flashbar_pointer_red').style.marginLeft = (-345 + sm_flashbar_pointer_push)+"px";
- if (document.getElementById('sm_flashbar_inner_set')) {
- var sm_flashbar_inner_set_width = document.getElementById('sm_flashbar_inner_set').offsetWidth;
- if (sm_flashbar_build_last==" ") {
- sm_flashbar_inner_set_width += 6;
- }
- }
- else {
- var sm_flashbar_inner_set_width = 0;
- }
- if (document.getElementById('sm_flashbar_empty')) {
- document.getElementById('sm_flashbar_keyword_container').style.left = "0px";
- }
- else {
- document.getElementById('sm_flashbar_keyword_container').style.left = (-341 + (sm_flashbar_inner_set_width+342))+"px";
- }
- window.SM_FLASHBAR_PUSH = document.getElementById('sm_flashbar_keyword_container').style.left;
- window.SM_FLASHBAR_BUSY = false;
- }
- function sm_flashbar_type_error() {
- if (window.SM_FLASHBAR_SELECTED==true&&window.SM_FLASHBAR_TYPE_ERROR==false) {
- window.SM_FLASHBAR_TYPE_ERROR = true;
- sm_element_add("sm_flashbar_pointer_red", 0);
- setTimeout("sm_element_remove(\"sm_flashbar_pointer_red\", 12);", 1000);
- setTimeout("window.SM_FLASHBAR_TYPE_ERROR = false;", 1200);
- }
- }
- function sm_flashbar_pointer_manual(sm_with_space) {
- sm_flashbar_pointer_push = document.getElementById('sm_flashbar_inner_set').offsetWidth;
- if (sm_with_space==1) {
- sm_flashbar_pointer_push += 6;
- }
- document.getElementById('sm_flashbar_pointer').style.marginLeft = (-345 + sm_flashbar_pointer_push)+"px";
- document.getElementById('sm_flashbar_pointer_red').style.marginLeft = (-345 + sm_flashbar_pointer_push)+"px";
- }
- function sm_flashbar_mouseover() {
- document.getElementById('sm_flashbar_main').style.cursor = 'text';
- window.SM_FLASHBAR_HOVER = true;
- }
- function sm_flashbar_mouseout() {
- window.SM_FLASHBAR_HOVER = false;
- }
- function sm_flashbar_select() {
- document.getElementById('sm_flashbar_main').style.borderColor = "#ead9ff";
- sm_element_add("sm_flashbar_box_undercast", 2, 70);
- sm_element_add("sm_flashbar_box", 2);
- sm_element_add("sm_flashbar_pointer", 2);
- window.SM_FLASHBAR_SELECTED = true;
- }
- function sm_flashbar_unselect() {
- document.getElementById('sm_flashbar_main').style.borderColor = "#666";
- sm_element_remove("sm_flashbar_box_undercast", 2, 70);
- sm_element_remove("sm_flashbar_box", 2);
- sm_element_remove("sm_flashbar_pointer", 2);
- sm_element_remove("sm_flashbar_pointer_red", 2);
- window.SM_FLASHBAR_SELECTED = false;
- window.SM_FLASHBAR_HOVER_SUB = false;
- }
- function sm_flashbar_activate() {
- if (window.SM_FLASHBAR_BUILD!="") {
- document.getElementById('sm_flashbar_main').innerHTML = sm_flashbar_build_process(window.SM_FLASHBAR_BUILD);
- }
- else {
- document.getElementById('sm_flashbar_main').innerHTML = sm_flashbar_build_process("");
- }
- document.getElementById('sm_flashbar_main').style.color = "#000";
- window.SM_FLASHBAR_STATUS = true;
- }
- function sm_flashbar_reset() {
- if (window.SM_FLASHBAR_SELECTED==false) {
- document.getElementById('sm_flashbar_main').innerHTML = "Add keywords here to make this summary more specific to a topic.";
- document.getElementById('sm_flashbar_main').style.color = "#666";
- window.SM_FLASHBAR_STATUS = false;
- }
- }
- function sm_flashbar_initial() {
- window.SM_FLASHBAR_BUSY = false;
- window.SM_FLASHBAR_PUSH = "2px";
- window.SM_FLASHBAR_NAV = 0;
- window.SM_FLASHBAR_NAV_MAX = 0;
- window.SM_FLASHBAR_NAV_MENU = false;
- window.SM_FLASHBAR_TYPE_BLOCK = false;
- window.SM_FLASHBAR_OUTER_RAW = false;
- window.SM_FLASHBAR_OUTER_RAW_RAW = false;
- window.SM_FLASHBAR_BUILD = "";
- window.SM_FLASHBAR_HOVER = false;
- window.SM_FLASHBAR_HOVER_SUB = false;
- window.SM_FLASHBAR_SELECTED = false;
- window.SM_FLASHBAR_STATUS = false;
- window.SM_FLASHBAR_PURGE_BLOCK = false;
- window.SM_FLASHBAR_TYPE_ERROR = false;
- window.SM_FLASHBAR_OUTER_MATCH = false;
- window.SM_FLASHBAR_LIST_BLOCK = false;
- window.SM_FLASHBAR_DOWN_STORE = false;
- window.SM_FLASHBAR_UP_STORE = false;
- sm_flashbar_reset();
- }
- function sm_flashbar_global() {
- if (window.SM_FLASHBAR_LIST_BLOCK==false&&window.SM_FLASHBAR_HOVER==true&&window.SM_FLASHBAR_SELECTED==false&&window.SM_FLASHBAR_HOVER_SUB==false) {
- sm_flashbar_select();
- sm_flashbar_activate();
- setTimeout("document.getElementById('sm_flashbar_key_input').focus()", 1);
- }
- else if (window.SM_FLASHBAR_LIST_BLOCK==false&&window.SM_FLASHBAR_HOVER==false&&window.SM_FLASHBAR_HOVER_SUB==false) {
- sm_flashbar_unselect();
- if (window.SM_FLASHBAR_BUILD=="") {
- sm_flashbar_reset();
- }
- document.getElementById('sm_flashbar_key_input').blur();
- }
- else if (window.SM_FLASHBAR_LIST_BLOCK==false&&window.SM_FLASHBAR_HOVER==true) {
- setTimeout("document.getElementById('sm_flashbar_key_input').focus()", 1);
- }
- window.SM_FLASHBAR_LIST_BLOCK = false;
- }
- function sm_load_complete() {
- window.SM_LOAD_MAIN = false;
- }
- function sm_load_add_delay_complete() {
- window.SM_LOAD_DELAY_EXTRA = false;
- }
- function sm_load_add_delay(sm_initial) {
- if (window.SM_LOAD_HTTP==true) {
- window.SM_LOAD_SIDE_STATE = true;
- window.SM_LOAD_DELAY_EXTRA = true;
- if (window.SM_FLASHBAR_SELECTED==true) {
- sm_flashbar_unselect();
- }
- sm_scroll_enable(1);
- if (sm_initial==0) {
- setTimeout("sm_heat_map_remove()", 100);
- setTimeout("document.getElementById(\"sm_secondary_upper_bar\").style.zIndex = \"-10\";", 10);
- setTimeout("document.getElementById(\"sm_lower_container\").style.zIndex = \"-10\";", 10);
- if (window.SM_SPECIFY_TOPIC_STATE>0) {
- setTimeout("sm_specify_topic_remove()", 100);
- setTimeout("sm_slide_d(\"sm_secondary_upper_bar\", -1, 35, 1, 8, 3, 1);", 240);
- setTimeout("sm_slide_e(\"sm_lower_container\", -1, -50, -1, 8, 3, 1);", 240);
- }
- else {
- setTimeout("sm_slide_d(\"sm_secondary_upper_bar\", -1, 35, 1, 8, 3, 1);", 100);
- setTimeout("sm_slide_e(\"sm_lower_container\", -1, -35, -1, 8, 3, 1);", 100);
- }
- setTimeout("sm_element_remove(\"sm_secondary_inner_interface\", 2);", 200);
- setTimeout("sm_element_remove(\"sm_secondary_text_style\", 2);", 200);
- setTimeout("sm_element_add(\"sm_secondary_interface\", 2);", 200);
- setTimeout("sm_load_shade_pulse();", 300);
- setTimeout("sm_load_add_delay_complete()", 310);
- window.SM_LOAD_SHADE_CONTINUE = true;
- }
- }
- }
- function sm_load_add(sm_initial) {
- window.SM_LOAD_MAIN = true;
- if (sm_initial==1) {
- window.SM_LOAD_SHADE_CONTINUE = true;
- sm_load_shade_pulse();
- }
- window.SM_LOAD_DELAY_EXTRA = false;
- setTimeout("sm_load_add_delay("+sm_initial+")", 800);
- document.getElementById("sm_secondary_upper_bar").style.zIndex = "-10";
- document.getElementById("sm_lower_container").style.zIndex = "-10";
- setTimeout("sm_load_complete()", 200);
- }
- function sm_load_remove_wait(sm_append, sm_initial) {
- if (window.SM_LOAD_MAIN==true) {
- setTimeout("sm_load_remove_wait("+sm_append+", "+sm_initial+")", 10);
- }
- else {
- if (window.SM_LOAD_DELAY_EXTRA==true) {
- window.SM_LOAD_DELAY_EXTRA = false;
- setTimeout("sm_load_remove("+sm_append+", "+sm_initial+");", 300);
- }
- else {
- sm_load_remove(sm_append, sm_initial);
- }
- }
- }
- function sm_load_remove(sm_append, sm_initial) {
- var sm_title = sm_stripslashes(window.SM_BATON_TITLE);
- var sm_output = sm_stripslashes(window.SM_BATON_OUTPUT);
- delete window.SM_BATON_TITLE;
- delete window.SM_BATON_OUTPUT;
- if (sm_append==1) {
- if (2==2) {
- document.getElementById('sm_title_container').innerHTML = sm_title;
- document.title = sm_title;
- }
- document.getElementById("sm_container_output").innerHTML = sm_output;
- }
- sm_element_snap_add("sm_secondary_interface");
- window.SM_LOAD_SHADE_CONTINUE = false;
- sm_element_snap_remove("sm_load_shade");
- sm_element_snap_add("sm_secondary_upper_bar");
- sm_element_snap_add("sm_flashbar_container");
- sm_element_snap_add("sm_lower_container");
- if (window.SM_LOAD_SIDE_STATE==true) {
- sm_slide_d("sm_secondary_upper_bar", 35, -1, -1, 8, 3, 1);
- sm_slide_e("sm_lower_container", -35, -1, 1, 8, 3, 1);
- }
- else {
- document.getElementById('sm_secondary_upper_bar').style.top = "-1px";
- document.getElementById('sm_lower_container').style.top = "1px";
- }
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- var sm_quick_transitions_reduce = 690;
- }
- else {
- var sm_quick_transitions_reduce = 0;
- }
- if ((window.SM_LOAD_SIDE_STATE==true&&window.SM_SPECIFY_TOPIC_STATE>0)||(sm_initial==1&&window.SM_SPECIFY_TOPIC_STATE>0)) {
- setTimeout("sm_specify_topic_add()", 700-sm_quick_transitions_reduce);
- }
- else if (sm_initial==1&&window.SM_KEYWORD_ARRAY.length!=0) {
- setTimeout("sm_specify_topic_indeterminate();", 700-sm_quick_transitions_reduce);
- }
- if (window.SM_LOAD_SIDE_STATE = true) {
- window.SM_LOAD_SIDE_STATE = false;
- }
- sm_element_add("sm_secondary_inner_interface", 2);
- sm_element_add("sm_secondary_text_style", 2);
- sm_flash_purge();
- if (window.SM_VIEW_FIXED==false) {
- setTimeout("sm_scroll_disable(1);", 10);
- }
- else {
- document.getElementById('sm_secondary_inner_interface').style.overflow = "auto";
- }
- setTimeout("document.getElementById(\"sm_secondary_upper_bar\").style.zIndex = \"10\";", 800-sm_quick_transitions_reduce);
- setTimeout("document.getElementById(\"sm_lower_container\").style.zIndex = \"10\";", 800-sm_quick_transitions_reduce);
- }
- function sm_load_shade_pulse() {
- sm_load_shade_execute("document.getElementById(\"sm_load_shade\").style.top = \"-15px\";", 100);
- sm_load_shade_execute("sm_element_add(\"sm_load_shade\", 2);", 100);
- sm_load_shade_execute("sm_load_shade_plus()", 200);
- }
- function sm_load_shade_plus() {
- if (window.SM_LOAD_SHADE_CONTINUE==true) {
- sm_slide_c("sm_load_shade", 0, -14, 258, 1, 60, 7, 1);
- sm_load_shade_pause();
- }
- else {
- sm_element_snap_remove("sm_load_shade");
- }
- }
- function sm_load_shade_pause() {
- if (window.SM_SLIDE_ELEMENT_C==null) {
- sm_element_remove("sm_load_shade", 2);
- sm_load_shade_pulse();
- }
- else {
- sm_load_shade_execute("sm_load_shade_pause()", 20)
- }
- }
- function sm_load_shade_execute(sm_execute, sm_delay) {
- if (window.SM_LOAD_SHADE_CONTINUE==true) {
- setTimeout(sm_execute, sm_delay);
- }
- else {
- sm_element_remove("sm_load_shade", 0);
- }
- }
- function sm_input_out() {
- if (window.SM_INPUT_OUT==false) {
- window.SM_INPUT_OUT = true;
- sm_singular_method_check();
- sm_element_add("sm_input_clear", 2);
- sm_slide_b("sm_input_clear", -260, -280, -1, 8, 3, 0);
- }
- }
- function sm_input_in() {
- if (window.SM_INPUT_OUT==true) {
- window.SM_INPUT_OUT = false;
- sm_singular_method_check();
- sm_element_remove("sm_input_clear", 2);
- sm_slide_b("sm_input_clear", -280, -260, 1, 8, 3, 0);
- }
- }
- function sm_input_clear_execute() {
- document.getElementById('sm_input').value = "";
- sm_input_alone();
- sm_input_in();
- }
- function sm_force_url_out() {
- if (window.SM_FORCE_URL_OUT==false) {
- window.SM_FORCE_URL_OUT = true;
- sm_singular_method_check();
- sm_element_add("sm_force_url_follow", 2);
- sm_slide_a("sm_force_url_follow", 260, 280, 1, 8, 3, 0);
- sm_element_add("sm_force_url_clear", 2);
- sm_slide_b("sm_force_url_clear", -260, -280, -1, 8, 3, 0);
- }
- }
- function sm_force_url_in() {
- if (window.SM_FORCE_URL_OUT==true) {
- window.SM_FORCE_URL_OUT = false;
- sm_singular_method_check();
- sm_element_remove("sm_force_url_follow", 2);
- sm_slide_a("sm_force_url_follow", 280, 260, -1, 8, 3, 0);
- sm_element_remove("sm_force_url_clear", 2);
- sm_slide_b("sm_force_url_clear", -280, -260, 1, 8, 3, 0);
- }
- }
- function sm_force_url_clear_execute() {
- document.getElementById('sm_force_url').value = "";
- sm_force_url_alone();
- sm_force_url_in();
- }
- function sm_force_url_follow_execute() {
- var sm_follow_url = document.getElementById('sm_force_url').value;
- if (sm_follow_url.substring(0, 7)!="http://"&&sm_follow_url.substring(0, 8)!="https://") {
- sm_follow_url = "http://"+sm_follow_url;
- }
- window.location = sm_follow_url;
- }
- function sm_singular_method_check() {
- var sm_counter = 0;
- if (window.SM_INPUT_OUT==true) {
- sm_counter++;
- }
- if (window.SM_FORCE_URL_OUT==true) {
- sm_counter++;
- }
- if (document.getElementById('sm_force_upload_file').value!="sm_null") {
- sm_counter++;
- }
- var sm_submit_disabled = null;
- if (sm_counter>1) {
- sm_errorbar_message("PLEASE USE ONLY ONE METHOD OF INPUT", "primary");
- sm_submit_disabled = true;
- }
- else if (window.SM_ERRORBAR_REMOVE_BLOCK_PRIMARY==false) {
- sm_errorbar_clear("primary");
- sm_submit_disabled = false;
- }
- else {
- window.SM_ERRORBAR_REMOVE_BLOCK_PRIMARY = false;
- }
- if (document.getElementById('sm_count_primary').value>40) {
- sm_submit_disabled = true;
- }
- if (document.getElementById('sm_count_primary').value==0) {
- sm_submit_disabled = true;
- }
- if (document.getElementById('sm_count_primary').value>40&&document.getElementById('sm_count_error_primary').style.display=="none") {
- document.getElementById('sm_count_error_primary').innerHTML = window.SM_MAX_SENTENCE;
- sm_element_add("sm_count_error_primary", 2);
- }
- if (document.getElementById('sm_count_primary').value==0&&document.getElementById('sm_count_error_primary').style.display=="none") {
- document.getElementById('sm_count_error_primary').innerHTML = window.SM_MIN_SENTENCE;
- sm_element_add("sm_count_error_primary", 2);
- }
- if (document.getElementById('sm_count_primary').value<=40&&document.getElementById('sm_count_primary').value>0&&document.getElementById('sm_count_error_primary').style.display=="block") {
- sm_element_remove("sm_count_error_primary", 2);
- }
- document.getElementById('sm_submit').disabled = sm_submit_disabled;
- }
- function sm_errorbar_clear(sm_errorbar) {
- sm_element_remove('sm_errorbar_'+sm_errorbar, 5);
- }
- function sm_errorbar_message(sm_message, sm_errorbar) {
- document.getElementById('sm_errorbar_'+sm_errorbar).innerHTML = "<div style=\"display:inline-block;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:17px;font-weight:bold;background-color:#EEFA11;padding:2px;\"> "+sm_message+" </div>";
- sm_element_add('sm_errorbar_'+sm_errorbar, 10);
- }
- function sm_upload_initiate() {
- var uploader = new qq.FileUploader({
- element: document.getElementById('sm_upload_instance'),
- action: 'https://smmry.com/sm_upload_process.php',
- debug: false
- });
- }
- function sm_save_process(sm_post_toggle) {
- if (window.SM_USER_ARRAY==false) {
- return false;
- }
- if (sm_post_toggle==1) {
- window.SM_POST_PART = false;
- if (window.SM_USER_ARRAY==true) {
- window.SM_POST_USER_ID = window.SM_USER_ID;
- }
- document.getElementById('sm_post_part_3').style.display = "none";
- document.getElementById('sm_post_part_2').style.display = "none";
- document.getElementById('sm_post_part_1').style.display = "inline";
- document.getElementById('sm_share_summary').disabled = true;
- document.getElementById('sm_post_public_check_enable').checked = false;
- document.getElementById('sm_post_public_check_disable').checked = false;
- }
- else {
- window.SM_POST_PART = true;
- document.getElementById('sm_post_part_3').style.display = "none";
- document.getElementById('sm_post_part_2').style.display = "inline";
- document.getElementById('sm_post_part_1').style.display = "none";
- document.getElementById('sm_share_summary').disabled = true;
- }
- sm_http_connect("https://smmry.com/sm_post_toggle.php?sm_post_mode=2&sm_post_toggle="+sm_post_toggle+"&sm_post_public=0&sm_post_id=http://money.cnn.com/2018/04/01/news/sports-betting-supreme-court-new-jersey/index.html&sm_pass_hash="+window.location.hash.replace("#", "")+"&sm_signature="+window.SM_SIGNATURE);
- }
- function sm_save_public_update() {
- if (document.getElementById('sm_post_public_check_enable').checked==true) {
- var sm_post_public = 1;
- document.getElementById('sm_share_summary').disabled = false;
- document.getElementById('sm_post_public_check_disable').checked = true;
- }
- else {
- var sm_post_public = 0;
- document.getElementById('sm_share_summary').disabled = true;
- document.getElementById('sm_post_public_check_disable').checked = false;
- if (document.getElementById('sm_share_container').style.display!="none") {
- sm_share_summary_remove();
- }
- }
- sm_http_connect("https://smmry.com/sm_post_toggle.php?sm_post_mode=1&sm_post_toggle=0&sm_post_public="+sm_post_public+"&sm_post_id=http://money.cnn.com/2018/04/01/news/sports-betting-supreme-court-new-jersey/index.html"+"&sm_signature="+window.SM_SIGNATURE);
- }
- function sm_rate_summary_info_add(sm_info_id, sm_object) {
- var sm_info_content = "";
- if (sm_info_id=="sm_informativeness_score") {
- sm_info_content = "How well does this summary provide relevant descriptive information?"
- }
- else if (sm_info_id=="sm_pithiness_score") {
- sm_info_content = "How dense and efficient is this summary?"
- }
- else if (sm_info_id=="sm_clarity_score") {
- sm_info_content = "How clear and easy to understand is this summary?"
- }
- else if (sm_info_id=="sm_error_score") {
- sm_info_content = "Does this summary contain any mistakes/faults?<br />e.g. Missing punctuation."
- }
- document.getElementById('sm_rate_summary_info_container').innerHTML = sm_info_content;
- document.getElementById('sm_rate_summary_info_container').style.top = (sm_object_position_top(sm_object)-80)+"px";
- document.getElementById('sm_rate_summary_info_container').style.left = (sm_object_position_left(sm_object)-150)+"px";
- sm_element_add("sm_rate_summary_info_container", 3);
- }
- function sm_rate_summary_info_remove() {
- sm_element_remove("sm_rate_summary_info_container", 3);
- }
- function sm_rate_summary_clear(sm_object) {
- sm_object.style.outlineWidth = "0px";
- if (sm_object.value.length!=0&&parseFloat(sm_object.value)==sm_object.value&&sm_object.value>5) {
- sm_object.value = 5;
- }
- }
- function sm_rate_summary_process() {
- var sm_rate_pass = true;
- if (document.getElementById('sm_informativeness_score').value.length==0) {
- document.getElementById('sm_informativeness_score').style.outlineWidth = "4px";
- sm_rate_pass = false;
- }
- else {
- document.getElementById('sm_informativeness_score').style.outlineWidth = "0px";
- }
- if (document.getElementById('sm_pithiness_score').value.length==0) {
- document.getElementById('sm_pithiness_score').style.outlineWidth = "4px";
- sm_rate_pass = false;
- }
- else {
- document.getElementById('sm_clarity_score').style.outlineWidth = "0px";
- }
- if (document.getElementById('sm_clarity_score').value.length==0) {
- document.getElementById('sm_clarity_score').style.outlineWidth = "4px";
- sm_rate_pass = false;
- }
- else {
- document.getElementById('sm_clarity_score').style.outlineWidth = "0px";
- }
- if (sm_rate_pass==true) {
- var sm_parameters = "SM_CHAR_AMPSM_LENGTH="+document.getElementById('sm_count_secondary').value;
- if (document.getElementById('sm_check_question_avoid_visual').checked==true) {
- sm_parameters += "SM_CHAR_AMPSM_QUESTION_AVOID";
- }
- if (document.getElementById('sm_check_exclamation_avoid_visual').checked==true) {
- sm_parameters += "SM_CHAR_AMPSM_EXLAMATION_AVOID";
- }
- if (document.getElementById('sm_check_quote_avoid_visual').checked==true) {
- sm_parameters += "SM_CHAR_AMPSM_QUOTE_AVOID";
- }
- if (document.getElementById('sm_check_heat_map_visual').checked==true) {
- sm_parameters += "SM_CHAR_AMPSM_HEAT_MAP";
- }
- sm_element_snap_remove('sm_rate_container');
- sm_element_snap_add('sm_feedback_container');
- sm_http_connect("https://smmry.com/sm_rate.php?sm_rate_key=68688d9b429490eab594064e4149e2b0&sm_informativeness_score="+document.getElementById('sm_informativeness_score').value+"&sm_pithiness_score="+document.getElementById('sm_pithiness_score').value+"&sm_clarity_score="+document.getElementById('sm_clarity_score').value+"&sm_error_score="+document.getElementById('sm_error_score').value+"&sm_parameters="+sm_parameters);
- setTimeout("sm_element_remove(\"sm_feedback_container\", 3);", 2500);
- setTimeout("sm_element_add(\"sm_lower_container\", 3);", 2720);
- }
- }
- function sm_rate_summary_initiate() {
- sm_element_remove("sm_lower_container", 3);
- setTimeout("sm_element_add(\"sm_rate_container\", 3);", 220);
- }
- function sm_rate_summary_remove() {
- sm_element_remove("sm_rate_container", 3);
- setTimeout("sm_element_add(\"sm_lower_container\", 3);", 220);
- setTimeout("document.getElementById('sm_informativeness_score').style.outlineWidth = \"0px\";document.getElementById('sm_informativeness_score').value = \"\";document.getElementById('sm_clarity_score').style.outlineWidth = \"0px\";document.getElementById('sm_clarity_score').value = \"\";document.getElementById('sm_pithiness_score').style.outlineWidth = \"0px\";document.getElementById('sm_pithiness_score').value = \"\";document.getElementById('sm_error_score').checked = false;", 220);
- }
- function sm_share_connect_load() {
- if (document.getElementById('sm_share_connect').src.length>0) {
- document.getElementById('sm_share_connect_load_element').style.display = "none";
- document.getElementById('sm_share_connect').style.display = "block";
- }
- }
- function sm_share_summary_initiate() {
- sm_element_remove("sm_lower_container", 3);
- setTimeout("sm_element_add(\"sm_share_container\", 3);", 220);
- setTimeout("document.getElementById('sm_share_connect').src = \"https://smmry.com/sm_share_pass/http://money.cnn.com/2018/04/01/news/sports-betting-supreme-court-new-jersey/index.html\"", 320);
- }
- function sm_share_summary_remove() {
- sm_element_remove("sm_share_container", 3);
- setTimeout("sm_element_add(\"sm_lower_container\", 3);", 220);
- setTimeout("sm_share_original_reset();", 320);
- setTimeout("document.getElementById('sm_share_check_original').checked = false;", 320);
- setTimeout("document.getElementById('sm_share_connect_load_element').style.display = \"block\";", 320);
- setTimeout("document.getElementById('sm_share_connect').style.display = \"none\";", 320);
- }
- function sm_share_original_reset() {
- var sm_share_connect = document.getElementById('sm_share_connect');
- var sm_share_connect_content = sm_share_connect.contentDocument || sm_share_connect.contentWindow.document;
- sm_share_connect_content.getElementById('sm_share_container_main').style.display = "block";
- sm_share_connect_content.getElementById('sm_share_container_original').style.display = "none";
- }
- function sm_share_original_toggle() {
- var sm_share_connect = document.getElementById('sm_share_connect');
- var sm_share_connect_content = sm_share_connect.contentDocument || sm_share_connect.contentWindow.document;
- if (sm_share_connect_content.getElementById('sm_share_container_main').style.display!="none") {
- sm_share_connect_content.getElementById('sm_share_container_main').style.display = "none";
- sm_share_connect_content.getElementById('sm_share_container_original').style.display = "block";
- document.getElementById('sm_share_check_original').checked = true;
- }
- else {
- sm_share_connect_content.getElementById('sm_share_container_main').style.display = "block";
- sm_share_connect_content.getElementById('sm_share_container_original').style.display = "none";
- document.getElementById('sm_share_check_original').checked = false;
- }
- }
- function sm_settings_process() {
- if (document.getElementById('sm_primary_interface').style.display=="none") {
- var sm_postion_top = sm_object_position_top(document.getElementById('sm_settings_button_secondary'));
- document.getElementById("sm_settings_float").style.marginLeft = "-350px";
- }
- else {
- var sm_postion_top = sm_object_position_top(document.getElementById('sm_settings_button_primary'));
- document.getElementById("sm_settings_float").style.marginLeft = "-208px";
- }
- document.getElementById("sm_settings_float").style.left = "-220px";
- document.getElementById("sm_settings_float").style.display = "block";
- var sm_settings_height = document.getElementById("sm_settings_float").offsetHeight;
- document.getElementById("sm_settings_float").style.display = "none";
- document.getElementById("sm_settings_float").style.left = "50%";
- document.getElementById("sm_settings_float").style.top = (sm_postion_top-sm_settings_height+28)+"px";
- if (document.getElementById('sm_primary_interface').style.display=="none") {
- sm_element_remove("sm_settings_button_secondary", 2);
- }
- else {
- sm_element_remove("sm_settings_button_primary", 2);
- }
- sm_element_add("sm_settings_float", 2);
- }
- function sm_settings_remove() {
- sm_element_remove("sm_settings_float", 2);
- if (document.getElementById('sm_primary_interface').style.display=="none") {
- sm_element_add("sm_settings_button_secondary", 2);
- }
- else {
- sm_element_add("sm_settings_button_primary", 2);
- }
- }
- function sm_settings_populate_primary() {
- if (document.getElementById('sm_primary_interface').style.display!="none"&&typeof window.SM_USER_SETTINGS_SAVE!="undefined") {
- if (window.SM_USER_SETTINGS_SAVE.search(/&SM_QUESTION_AVOID/)!=-1) {
- document.getElementById('sm_check_question_avoid_visual').checked = true;
- }
- else {
- document.getElementById('sm_check_question_avoid_visual').checked = false;
- }
- if (window.SM_USER_SETTINGS_SAVE.search(/&SM_EXCLAMATION_AVOID/)!=-1) {
- document.getElementById('sm_check_exclamation_avoid_visual').checked = true;
- }
- else {
- document.getElementById('sm_check_exclamation_avoid_visual').checked = false;
- }
- if (window.SM_USER_SETTINGS_SAVE.search(/&SM_QUOTE_AVOID/)!=-1) {
- document.getElementById('sm_check_quote_avoid_visual').checked = true;
- }
- else {
- document.getElementById('sm_check_quote_avoid_visual').checked = false;
- }
- if (window.SM_USER_SETTINGS_SAVE.search(/&SM_HEAT_MAP/)!=-1) {
- document.getElementById('sm_check_heat_map_visual').checked = true;
- }
- else {
- document.getElementById('sm_check_heat_map_visual').checked = false;
- }
- if (window.SM_USER_SETTINGS_SAVE.search(/&SM_QUICK_TRANSITIONS/)!=-1) {
- document.getElementById('sm_check_quick_transitions_visual').checked = true;
- }
- else {
- document.getElementById('sm_check_quick_transitions_visual').checked = false;
- }
- if (window.SM_USER_SETTINGS_SAVE.search(/&SM_SPECIFY_TOPIC/)!=-1) {
- document.getElementById('sm_check_specify_topic_visual').checked = true;
- }
- else {
- document.getElementById('sm_check_specify_topic_visual').checked = false;
- }
- if (window.SM_USER_SETTINGS_SAVE.search(/&SM_STRICT_SCAN/)!=-1) {
- document.getElementById('sm_flash_strict_check').checked = true;
- }
- else {
- document.getElementById('sm_flash_strict_check').checked = false;
- }
- }
- }
- function sm_settings_save_fail() {
- document.getElementById('sm_check_save_settings_visual').checked = false;
- }
- function sm_quick_transitions_update() {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- document.getElementById('sm_check_quick_transitions_visual').checked = true;
- sm_http_connect("https://smmry.com/sm_quick_transitions.php?sm_quick_transitions_state=1");
- }
- else {
- document.getElementById('sm_check_quick_transitions_visual').checked = false;
- sm_http_connect("https://smmry.com/sm_quick_transitions.php?sm_quick_transitions_state=0");
- }
- }
- function sm_quick_transitions_toggle() {
- if (window.SM_QUICK_TRANSITIONS_STATE==true) {
- window.SM_QUICK_TRANSITIONS_STATE = false;
- }
- else {
- window.SM_QUICK_TRANSITIONS_STATE = true;
- }
- sm_quick_transitions_update();
- sm_resummarize_process(1);
- }
- function sm_specify_topic_update() {
- if (window.SM_SPECIFY_TOPIC_STATE==0) {
- document.getElementById('sm_check_specify_topic_visual').checked = false;
- sm_http_connect("https://smmry.com/sm_specify_topic.php?sm_specify_topic_state=0");
- }
- else if (window.SM_SPECIFY_TOPIC_STATE==1) {
- document.getElementById('sm_check_specify_topic_visual').checked = true;
- sm_http_connect("https://smmry.com/sm_specify_topic.php?sm_specify_topic_state=1");
- }
- else if (window.SM_SPECIFY_TOPIC_STATE==2) {
- document.getElementById('sm_check_specify_topic_visual').indeterminate = true;
- sm_http_connect("https://smmry.com/sm_specify_topic.php?sm_specify_topic_state=0");
- }
- }
- function sm_specify_topic_indeterminate() {
- if (window.SM_SPECIFY_TOPIC_STATE!=0&&window.SM_SPECIFY_TOPIC_STATE!=1) {
- return false;
- }
- if (window.SM_SPECIFY_TOPIC_STATE==0) {
- sm_specify_topic_add();
- }
- window.SM_SPECIFY_TOPIC_STATE = 2;
- sm_specify_topic_update();
- }
- function sm_specify_topic_add() {
- if (window.SM_SPECIFY_TOPIC_BLOCK==true) {
- return false;
- }
- window.SM_SPECIFY_TOPIC_BLOCK = true;
- sm_slide_a("sm_container_secondary", -24, 0, 1, 8, 3, 1);
- sm_slide_b("sm_lower_main_container", parseFloat(document.getElementById("sm_lower_main_container").style.top), parseFloat(document.getElementById("sm_lower_main_container").style.top)+24, 1, 8, 3, 1);
- sm_slide_e("sm_footer_container", parseFloat(document.getElementById("sm_footer_container").style.top), parseFloat(document.getElementById("sm_footer_container").style.top)+24, 1, 8, 3, 1);
- setTimeout("document.getElementById(\"sm_flashbar_container\").style.zIndex = \"10\"", 200);
- setTimeout("window.SM_SPECIFY_TOPIC_BLOCK = false;", 210);
- }
- function sm_specify_topic_remove() {
- if (window.SM_SPECIFY_TOPIC_BLOCK==true) {
- return false;
- }
- window.SM_SPECIFY_TOPIC_BLOCK = true;
- document.getElementById("sm_flashbar_container").style.zIndex = "-10";
- sm_slide_a("sm_container_secondary", 0, -24, -1, 8, 3, 1);
- sm_slide_b("sm_lower_main_container", parseFloat(document.getElementById("sm_lower_main_container").style.top), parseFloat(document.getElementById("sm_lower_main_container").style.top)-24, -1, 8, 3, 1);
- sm_slide_e("sm_footer_container", parseFloat(document.getElementById("sm_footer_container").style.top), parseFloat(document.getElementById("sm_footer_container").style.top)-24, -1, 8, 3, 1);
- setTimeout("window.SM_SPECIFY_TOPIC_BLOCK = false;", 210);
- }
- function sm_specify_topic_toggle() {
- if (window.SM_SPECIFY_TOPIC_BLOCK==true) {
- sm_specify_topic_update();
- return false;
- }
- if (window.SM_SPECIFY_TOPIC_STATE==2) {
- window.SM_SPECIFY_TOPIC_STATE = 1;
- }
- else if (window.SM_SPECIFY_TOPIC_STATE==0) {
- window.SM_SPECIFY_TOPIC_STATE = 1;
- sm_specify_topic_add();
- sm_resummarize_process(1);
- }
- else {
- window.SM_SPECIFY_TOPIC_STATE = 0;
- sm_specify_topic_remove();
- sm_flash_clear();
- }
- sm_specify_topic_update();
- }
- function sm_summarize() {
- var sm_current_input = document.getElementById("sm_input").value;
- var sm_interlude_original = sm_current_input.search(/SMMRY summarizes text to save you time.\n\nPaste a/);
- var sm_current_input = document.getElementById("sm_force_url").value;
- var sm_interlude_url = sm_current_input.search(/Or paste a URL here./);
- if (sm_interlude_original!=-1&&sm_interlude_url!=-1&&document.getElementById('sm_force_upload_file').value=="sm_null") {
- sm_errorbar_message("YOU MUST FIRST INPUT SOMETHING", "primary");
- } else {
- document.sm_container_primary.submit();
- }
- }
- function sm_referral_run() {
- var sm_hash = window.location.hash;
- var sm_referral_key;
- if (sm_hash.search("&SM_REFERRAL=")!=-1) {
- var sm_hash_split = sm_hash.split("&SM_REFERRAL=");
- sm_referral_key = sm_hash_split[1].substr(0, 6);
- sm_http_connect("https://smmry.com/sm_referral_receive.php?sm_referral_key="+sm_referral_key);
- window.location.hash = sm_hash.replace("&SM_REFERRAL="+sm_referral_key, "");
- }
- }
- function sm_initial() {
- sm_referral_run();
- sm_common_script_initial();
- sm_user_run();
- sm_user_array_populate();
- sm_settings_populate_primary();
- window.SM_SIGNATURE = "smmry.com";
- window.SM_INPUT_OUT = false;
- window.SM_FORCE_URL_OUT = false;
- window.SM_MAX_SENTENCE = "MAX IS 40";
- window.SM_MIN_SENTENCE = "MIN IS 1";
- window.SM_LOAD_SHADE_CONTINUE = false;
- window.SM_LOAD_MAIN = false;
- window.SM_LOAD_HTTP = false;
- window.SM_LOAD_HTTP_SUB = false;
- window.SM_LOAD_SIDE_STATE = false;
- window.SM_RESUMMARIZE_COUNT_TIME = 0;
- window.SM_RESUMMARIZE_REDUCTION_TIME = 0;
- window.SM_RESUMMARIZE_CHARACTER_TIME = 0;
- window.SM_RESUMMARIZE_PROCESS_TIME = 0;
- window.SM_PARAMETER_EXTRA_COMPOSITE = null;
- window.SM_PARAMETER_EXTRA_COMPOSITE_COMPARE = null;
- window.SM_KEYWORD_ARRAY = new Array();
- window.SM_FLASH_CURRENT_ARRAY = new Object();
- window.SM_FLASH_RANK_ARRAY = new Array();
- window.SM_FLASH_GROUP_ARRAY = new Object();
- window.SM_FLASH_SHORT_ARRAY = new Object();
- window.SM_FLASH_REVERSE_ARRAY = new Object();
- window.SM_FLASH_COLOUR_ARRAY = new Object();
- window.SM_FLASH_PROCESS_BLOCK = false;
- window.SM_SPECIFY_TOPIC_STATE = 0;
- window.SM_SPECIFY_TOPIC_BLOCK = false;
- window.SM_ERRORBAR_REMOVE_BLOCK_PRIMARY = false;
- window.SM_SETTINGS_ADVANCED_STATE = false;
- window.SM_SETTINGS_SAVE_STATE = false;
- window.SM_REDUCTION_REQUEST = false;
- window.SM_CHARACTER_REQUEST = false;
- window.SM_REDUCTION_FOCUS = false;
- window.SM_CHARACTER_FOCUS = false;
- window.SM_COUNT_FOCUS = false;
- window.SM_QUICK_TRANSITIONS_STATE = false;
- window.SM_POST_USER_ID = false;
- window.SM_POST_ARRAY = false;
- window.SM_POST_OWN = false;
- window.SM_POST_PART = true;
- window.SM_VIEW_FIXED = false;
- sm_force_url_out();
- sm_http_protocol(1);
- }
- window.onclick = function() {
- sm_flashbar_global();
- }
- window.onload = function() {
- sm_initial();
- sm_flashbar_initial();
- }
- PLEASE ENABLE JAVASCRIPT FOR THIS SITE TO WORKSummarize my text in sentences.SMMRY summarizes text to save you time.
- Paste an article, text or essay in this box and hit summarize; we'll return a shortened copy for you to read.
- You can also summarize PDF and TXT documents by uploading a file or summarize online articles and webpages by pasting the URL below...This is a sentence summary of http://money.cnn.com/2018/04/01/news/spor...Strict Scan [?]Reduced By: % Characters: RELEVANCE /5 EFFICIENCY /5 CLARITY /5 ERROR(S) Thank you for your feedback.SETTINGSAvoid Questions [?]Avoid Exclamations [?]Avoid Quotations [?]Heat Map [?]Quick Transitions [?]Specify Topic [?]Remember Settings [?]You cannot select more than 5 keywordsNot a significant keywordLOADING...SUMMARIZE|ABOUT|API|PARTNER|BOOKMARK WIDGET|CONTACTREGISTER|LOGIN© 2018 Smmry.com
- choose_page.js:32
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement