﻿
$(document).ready(function () {
    contourdatepicker();
    removeEmptyValueFromSelectInput();
    $(".fancyMe").fancybox({
    	margin : 75,
    	prevEffect	: 'fade',
		nextEffect	: 'fade',
    	helpers : {
    		title : {
    			type : 'float'
    		}
    	},padding:0
    });
});

function contourdatepicker() {
    $('.contourdatepicker').datepicker({
        changeMonth: true,
        changeYear: true,
        dateFormat: 'D, d M yy',
        altFormat: 'yyyy/mm/dd'
    })
}

function removeEmptyValueFromSelectInput() {
    $("select option[value='']").remove();
}
