RatingScore = function() { this.BaseURL = 'http://travel.camp-california.com/'; this.rating_desc = "text-align:left;font-family: Arial, Helvetica, sans-serif;font-size:12px;line-height:15px;font-weight:normal;padding:0px 0px 0x 2x;margin:0 0 0 0;width:110px;"; this.rating_img = "text-align:left;font-family: Arial, Helvetica, sans-serif; font-size:12px;line-height:16px;font-weight:normal;padding:0px 0px 0x 2x;margin:0 0 0 0;width:70px;" this.rating_level_top = "text-align:left;font-family: Arial, Helvetica, sans-serif;font-size:18px;font-weight:bold;line-height:20px;color:black;padding-right:8px;padding-left:0px;margin:0 0 0 0;" this.rating_level = "text-align:left;font-family: Arial, Helvetica, sans-serif;font-size:15px;font-weight:bold;line-height:15px;width:30px;padding:0px 0px 0x 0x;margin:0 0 0 0;;text-align:left;" this.rating_total = "text-align:left;font-family: Arial, Helvetica, sans-serif;font-size:12px;line-height:15px;font-weight:normal;padding:0px 2px 0x 0x;margin:0 0 0 0;;text-align:right;" this.rating_about = "text-align:left;font-family: Arial, Helvetica, sans-serif;font-size:12px;line-height:25px;font-weight:normal;padding:0px 0px 0x 2x;margin:0 0 0 0;text-align:left;" this.rating_max = "text-align:left;font-family: Arial, Helvetica, sans-serif; font-size:12px;line-height:20px;font-weight:normal;padding:0px 0px 0x 0x;margin:0 0 0 0;text-align:left;" this.ratings_summary = "text-align:left;float:left;border:solid 0px red;width:210px; height:175px;background-image:url(http://travel.camp-california.com/images/ratingssummary.gif);padding:0px 0px 0x 0x;margin:0 0 0 0;overflow:hidden;" this.non_rating = "text-align:left;float:left;border:solid 0px red;width:210px; height:175px;background-image:url(http://travel.camp-california.com/images/non_rating.gif);padding:0px 0px 0x 0x;margin:0 0 0 0;overflow:hidden;" this.NO_RATING_SCORE = true;; } function onRatingScoreAction(vType) { if (vType == 'reviewnow') { window.open('http://survey.guestrated.com/TakeSurvey.aspx?CustomerID=16569&SurveyID=m2KH552&PortalID=61', 'reviewpark', '') } else if (vType == 'about') { var vURL = 'http://www.guestrated.com/about/about-reviews.gif'; window.showModalDialog(vURL, window, "dialogwidth:660px;dialogheight:600px;center:yes;help:no;status:yes;edge:sunken;scroll:no"); } else if (vType == 'review_park') { window.open('http://survey.guestrated.com/TakeSurvey.aspx?CustomerID=16569&SurveyID=m2KH552&PortalID=61', 'reviewpark', '') } else if (vType == 'guestrated.com') { window.open('http://www.guestrated.com/', 'guest_rated', '') } } function loadRatingScore() { if (document.all) { window.attachEvent('onload',buildRatingScoreRegion); } else{ window.addEventListener('load',buildRatingScoreRegion,false); } } function buildRatingScoreRegion() { try { var vObj = null; var vRegionObj = document.getElementById('ratingScoreRegion'); if (vRegionObj == null) return; vRegionObj.style['width'] = '210px'; vRegionObj.style['height'] = '175px'; vRegionObj.style['overflow'] = 'hidden'; var vRatingScore = new RatingScore(); var vBuilder = new Array(); vBuilder.push("
"); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push(" "); vBuilder.push("
"); vBuilder.push("
"); vBuilder.push("
   
"); vBuilder.push("
"); vBuilder.push("
"); vBuilder.push("
"); vBuilder.push("
"); vBuilder.push("
"); vRegionObj.innerHTML = vBuilder.join("") } catch (ex) { window.status = ex.message; } } loadRatingScore();