/* FILE ARCHIVED ON 7:16:08 Jul 28, 2009 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 8:40:36 Feb 6, 2017. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ function gdsrWait(rater, loader) { jQuery("#"+rater).css("display", "none"); jQuery("#"+loader).css("display", "block"); } function gdsrEmpty() { } jQuery(document).ready(function() { if (jQuery.browser.msie) jQuery(".gdsr_rating_as > a").attr("href", "javascript:gdsrEmpty()"); jQuery(".gdsr_rating_as > a").click(function() { var el = jQuery(this).attr("id").split("X"); gdsrWait(el[5], el[6]); jQuery.getJSON('/web/20090728071608/http://www.carouselalamancecrossing.com/wp-content/plugins/gd-star-rating/ajax.php', {_ajax_nonce: 'bd5d34169e', vote_id: el[1], vote_value: el[2], vote_type: el[4], vote_tpl: el[7], vote_size: el[8] }, function(json) { gdsrWait(el[6], el[5]); if (json.status == 'ok') { jQuery("#gdr_stars_" + el[4] + el[1]).html(""); jQuery("#gdr_vote_" + el[4] + el[1]).css("width", json.value); jQuery("#gdr_text_" + el[4] + el[1]).addClass("voted"); jQuery("#gdr_text_" + el[4] + el[1]).html(json.rater); } }); }); if (jQuery.browser.msie) jQuery(".gdsr_integration > a").attr("href", "javascript:gdsrEmpty()"); jQuery(".gdsr_integration > a").click(function() { var el = jQuery(this).attr("id").split("X"); var pid = "#" + jQuery(this).parent().attr("id"); var new_width = el[1] * el[2]; jQuery(pid + "_stars_rated").css("width", new_width + "px"); jQuery(pid + "_value").val(el[1]); }); if (jQuery.browser.msie) jQuery(".gdthumb > a").attr("href", "javascript:gdsrEmpty()"); jQuery(".gdthumb > a").click(function() { var cls = jQuery(this).attr('class'); var el = jQuery(this).attr("id").split("X"); if (el[6] == 'Y') gdsrWait("gdsr_thumb_" + el[1] + "_" + el[3] + "_" + el[2], "gdsr_thumb_" + el[1] + "_" + el[3] + "_" + "loader_" + el[2]); jQuery("#gdsr_thumb_" + el[1] + "_" + el[3] + "_" + "up a").replaceWith('
'); jQuery("#gdsr_thumb_" + el[1] + "_" + el[3] + "_" + "dw a").replaceWith('
'); jQuery.getJSON('/web/20090728071608/http://www.carouselalamancecrossing.com/wp-content/plugins/gd-star-rating/ajax.php', {_ajax_nonce: 'bd5d34169e', vote_id: el[1], vote_value: el[2], vote_type: 'r'+el[3], vote_tpl: el[4], vote_size: el[5] }, function(json) { if (el[6] == 'Y') gdsrWait("gdsr_thumb_" + el[1] + "_" + el[3] + "_" + "loader_" + el[2], "gdsr_thumb_" + el[1] + "_" + el[3] + "_" + el[2]); if (json.status == 'ok') { jQuery("#gdsr_thumb_text_" + el[1] + "_" + el[3]).addClass("voted"); jQuery("#gdsr_thumb_text_" + el[1] + "_" + el[3]).html(json.rater); } }); }); });