function SelectCruiseLine(element, show_all)
{
	$("#ship").removeOption(/./);
	if(show_all)
	{
		$('#ship').addOption('', 'Any Ship');
	}
	$.getJSON("/ajax/lines.php?line_id=" + $(element).val(), function(json){
		for(var key in json)
		{
			$('#ship').addOption(json[key].ship_id, json[key].name);
		}
		if(!show_all)
		{
			$("#ship").val(json[0].ship_id);
		}
		else
		{
			$("#ship").val('');
		}
	});
}

$(document).ready(function(){
	$('#main_image').cycle({ 
	    fx:     'fade', 
	    speed:   500, 
	    timeout: 3000, 
	    next:   '#main_image', 
	    pause:   1 
	});
	
	$(document).pngFix();
});
