Datepicker Question

Datepicker Question

Hello All,

I was wondering how it would be possible to disable the next monday, when the day now is a friday.
I can disable every monday, but I only want to disable one, when the day is friday and only the first monday, not every monday.

I was using this, I am getting in the if loop, but it's not returning anything. 


minDate: new Date(y,m,fridayNotMonday),


function fridayNotMonday() 
{
var vdate = new Date();
var vday = vdate.getDay();
var vm = vdate.getMonth(), vd = vdate.getDate(), vy = vdate.getFullYear();
var vd1 = vdate.getDate() + 2;
var vd2 = vdate.getDate() + 4;
if(vday == 5){
alert("friday");
firstDate: new Date(vy,vm,vd2);
return firstDate
} else {
firstDate1: new Date(vy,vm,vd1);
return firstDate1;
}
}



Thx in advance.

Greetings.