/* FILE ARCHIVED ON 4:18:43 Aug 28, 2008 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 9:05:36 Sep 18, 2011. 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 handleExternalBadgeDataLocal() { var html_output; if (navigator.userAgent.match(/msie (5\.5|6)/i)&&navigator.platform=='Win32') //PNG fix html_output = ""; else html_output = "
"; var currentLength = 1; html_output = html_output + ""; html_output = html_output + ""; html_output = html_output + ""; html_output = html_output + ""; html_output = html_output + ""; html_output = html_output + "
" + "Melysah" + "
Star Power:
" + get_star_rating_local(4.9821, "badge") + "
"; document.write(html_output); } get_star_rating_local = function(score, type) { var ratings_images = "" ; var title = ""; var full_button_class, half_button_class, zero_button_class; score = score / 2; score = score.toString().substr(0, score.toString().indexOf(".")+3); title = "Star Power" + ": " + score; full_button_class = "cpPopupContentUserStarImgonBG"; half_button_class = "cpPopupContentUserStarImghalfBG"; zero_button_class = "cpPopupContentUserStarImgoffBG"; var full_img = ""; var half_img = ""; var zero_img = ""; if (score < 0.25) ratings_images = zero_img+zero_img+zero_img+zero_img+zero_img ; else if (score >= 0.25 && score < 0.75) ratings_images = half_img+zero_img+zero_img+zero_img+zero_img ; else if (score >= 0.75 && score < 1.25) ratings_images = full_img+zero_img+zero_img+zero_img+zero_img ; else if (score >= 1.25 && score < 1.75) ratings_images = full_img+half_img+zero_img+zero_img+zero_img ; else if (score >= 1.75 && score < 2.25) ratings_images = full_img+full_img+zero_img+zero_img+zero_img ; else if (score >= 2.25 && score < 2.75) ratings_images = full_img+full_img+half_img+zero_img+zero_img ; else if (score >= 2.75 && score < 3.25) ratings_images = full_img+full_img+full_img+zero_img+zero_img ; else if (score >= 3.25 && score < 3.75) ratings_images = full_img+full_img+full_img+half_img+zero_img ; else if (score >= 3.75 && score < 4.25) ratings_images = full_img+full_img+full_img+full_img+zero_img ; else if (score >= 4.25 && score < 4.75) ratings_images = full_img+full_img+full_img+full_img+half_img ; else if (score >= 4.75) ratings_images = full_img+full_img+full_img+full_img+full_img ; return ratings_images; } document.write('');