$(document).ready(function(){
		$(".datePick").datepicker(		{showAnim: ''}	); 
		$(".datePick2").datepicker(		{showAnim: ''}	);



		$(".aTab").click(function() { var showt = $(this).attr("name"); $(this).parent().parent().parent().parent().find(".resultsDataWrp").removeClass("visible"); $(this).parent().parent().parent().parent().find("." + showt).addClass("visible"); $(this).parent().parent().find(".active").removeClass("active"); $(this).parent().addClass("active"); });
		$('#ui-datepicker-div tr').each(function() { $(this).find('td:last').css('background', 'red'); });
		
		
		
/*	$(".fancyDropDw").click(function ()	{		$("#options").show();		$(".fancyDropDw").addClass("fancyDropDwH");	});	$("#options li span").click(function ()	{		$("#options").hide();		$(".fancyDropDw").removeClass("fancyDropDwH");		$('#drp_value').html($(this).attr("title"));	});*/
});

$(function() {
    // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
    $("#mail-modal, #quote-modal").dialog("destroy");

    $("#mail-modal, #quote-modal").dialog({
        autoOpen: false,
        resizable: false,
        width: 450,
        height: 320,
        draggable: false,
        modal: true
    });

    $(".saveQuoteBtn").click(function() {
        $("#quote-modal").dialog("open");
        return false;
    });

    $(".emailBtn").click(function() {
        $("#mail-modal").dialog("open");
        return false;
    });

});
