% var tourBoxClassName = []; var focusGroup = null; if (typeof(group) == "undefined") { group = null; } if (group != null && group.length > 0) { focusGroup = group[0]; } else { if (group != null) { tourBoxClassName.push("soldOutBox"); } } /* 旅遊咖推薦 */ var tripRecommend = false; if (tripRecommend) { tourBoxClassName.push("tripRecommend"); } if (["",null,undefined].indexOf(tour.tour_key) >= 0) { tour.tour_key = tour.agency_code + "-" + tour.tour_code; } var tourURL = baseUrl + "detail?tour_key=" + tour.tour_key; var focusTourURL = tourURL; if (focusGroup != null && ["",null,undefined].indexOf(focusGroup.group_code) == -1) { focusTourURL = tourURL + "&group_code=" + focusGroup.group_code; } var min_price = "--"; if (["",null,undefined].indexOf(tour.min_price) == -1) { min_price = tour.min_price; } %>