% var focusGroup = group[0]; var tour_base_Link = baseUrl+ "detail?tour_key="+tour.tour_key; var tour_Link = tour_base_Link; if (focusGroup != null && typeof(focusGroup)!="undefined") { tour_Link = tour_base_Link + "&group_code="+focusGroup['group_code']; } var origin_price = null; if (typeof(focusGroup) == "undefined") { focusGroup = tour.group[0]; } /* 清倉標籤 */ var orgPrice = false; if (["",null,undefined].indexOf(focusGroup.tags_json["7_25"]) == -1) { origin_price = focusGroup.tags_json["7_25"][0]; } var agencyURL = ""; if (tour.agency_info.store == "1") { agencyURL = baseUrl + "agency/" + tour.agency_info.agency_code; } else { agencyURL = baseUrl + "search?agency=" + tour.agency_info.agency_code; } %>