Jetabroad.AffiliateId = 'FFCA';

Jetabroad.SearchButtonUri = 'http://www.jetabroad.com.au/static/affiliate/canonball/FFCA/searchbutton_320x470.png';

Jetabroad.Uri = 'http://www.jetabroad.com.au';

Jetabroad.RenderCannonball('cannonballForm');



$('label[for="jcMultiCityRadioButton"]').after('<span>&nbsp;<img src="http://www.jetabroad.com.au/static/affiliate/canonball/FFCA/icon_flight_sml.gif" align="absmiddle"><a href="http://www.jetabroad.com.au/?utm_source=aff_FFCA&utm_medium=multiflightsearch&utm_campaign=jetabroad&multicity=yes" target="_blank" id="jc_multilink" title="Click to search and book multi-city flights or flights with stopover in either or both directions">Multi-city &amp; stopover</a></span>');

$('label[for="jcMultiCityRadioButton"]').hide();


function simple_tooltip(target_items, name,x, y){
 $(target_items).each(function(i){
							   
		$("#jcFlightSearchPanel").append("<div class='"+name+"' id='"+name+i+"'><p class='jcTxt'>"+$(this).attr('title')+"</p></div>");
		var my_tooltip = $("#"+name+i);

		$(this).removeAttr("title").mouseover(function(){
				my_tooltip.css({opacity:0.8, display:"none"}).fadeIn(400);
		}).mousemove(function(kmouse){
				my_tooltip.css({left:x, top:y});
		}).mouseout(function(){
				my_tooltip.fadeOut(400);
		});
	});
}

	
	$('label[for="jcChildCountDropDownList"]').attr("title","*A child is 2-11 yrs (unless otherwise specified)");
	$('label[for="jcInfantCountDropDownList"]').attr("title","*An infant is below 2 years at the time of return");
	 simple_tooltip('label[for="jcChildCountDropDownList"]',"jctooltip",110,323);
	 simple_tooltip('label[for="jcInfantCountDropDownList"]',"jctooltip2",105,323);
	 simple_tooltip('a#jc_multilink',"jctooltip3",160,95);







