You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB
JavaScript

 $(function(){
var f = new gearFlash(660,308);
f.StrImgSrc="/image/cruise/cruise-shipout.JPG|/image/cruise/cruise-room.jpg|/image/cruise/cruise-onboard.JPG|/image/cruise/cruise-food.JPG|/image/cruise/yangtze-scenery.jpg";
f.MaxCount = 5;
f.StrTxt = "Luxurious Cruise Ships|Deluxe and Comfortable Room|Lots of Onboard Activities|Genuine Chinese Food|Amazing Yangtze River Scenery";
f.intSpeed = "300,6000";
f.PlaySwf();
$("#cruisestarttime").datepicker({
showAnim: "fadeIn",
duration: 0,
minDate: 0,
maxDate: "2y",
numberOfMonths: 3,
showButtonPanel: true
})
});
function changeActive(o){
$("#searchBox ul li").removeClass("active");
$(o).parent().addClass("active");
$(".cruiseRouteBox.roundCorner").hide();
$("#r"+$(o).val().replace("-","")).fadeIn(500);
}
function dr(){
cc = 0;
for (var q=0;q<$(".cruiseRouteBox.roundCorner").size();q++){
if ($(".cruiseRouteBox.roundCorner").eq(q).css("display") =="block") {
cc = 1;
break;
return;
}
}
if (cc==0) $("#fromto0").click();
}