function minimum(dz,ss)

{
	
if 	(lang == "")
{lang = eng;}

// DECEMBER PUENTE
hsdate="4/12/2009";
hedate="8/12/2009";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 4 ))
{
texteng = "On these dates there is a minimum booking requirement of 4 nights.";
textspan = "En esta fechas, hay una estancia mínima de 4 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}


//2010 2010 2010 2010 2010 2010 2010 2010 2010 2010 
// NAVIDAD MIN 5
hsdate="29/12/2009";
hedate="1/1/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 5 ))
{
texteng = "On these dates, there is a minimum stay of 5 nights.";
textspan = "En esta fechas, hay una estancia mínima de 5 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// SEMANA SANTA
hsdate="31/3/2010";
hedate="4/4/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 5 ))
{
texteng = "On these dates, there is a minimum stay of 5 nights.";
textspan = "En esta fechas, hay una estancia mínima de 5 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// MAY PUENTE
hsdate="1/5/2010";
hedate="4/5/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates, there is a minimum stay of 3 nights.";
textspan = "En esta fechas, hay una estancia mínima de 3 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// SUMMER 
hsdate="1/8/2010";
hedate="20/8/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 && (dz < 7) )
{
valid = false;

texteng = "On these dates the minimum stay is 7 nights.";
textspan = "En estas fechas la estancia mínima es 7 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// OCTOBER 
hsdate="9/10/2010";
hedate="13/10/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates, there is a minimum stay of 3 nights.";
textspan = "En esta fechas, hay una estancia mínima de 3 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// NOVEMBER
hsdate="30/10/2010";
hedate="2/11/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates, there is a minimum stay of 3 nights.";
textspan = "En esta fechas, hay una estancia mínima de 3 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// DECEMBER PUENTE
hsdate="4/12/2010";
hedate="9/12/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 4 ))
{
texteng = "On these dates, there is a minimum stay of 4 nights.";
textspan = "En esta fechas, hay una estancia mínima de 4 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}



//2011 2011 2011 2011 2011 2011 2011 2011 2011 2011 2011  
// NAVIDAD MIN 5
hsdate="27/12/2010";
hedate="7/1/2011";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 5 ))
{
texteng = "On these dates, there is a minimum stay of 5 nights.";
textspan = "En esta fechas, hay una estancia mínima de 5 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// SEMANA SANTA MIN 5
hsdate="20/4/2011";
hedate="24/4/2011";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 5 ))
{
texteng = "On these dates, there is a minimum stay of 5 nights.";
textspan = "En esta fechas, hay una estancia mínima de 5 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// MAY PUENTE
hsdate="1/5/2011";
hedate="4/5/2011";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates, there is a minimum stay of 3 nights.";
textspan = "En esta fechas, hay una estancia mínima de 3 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// OCTOBER 
hsdate="9/10/2011";
hedate="13/10/2011";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates, there is a minimum stay of 3 nights.";
textspan = "En esta fechas, hay una estancia mínima de 3 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// NOVEMBER
hsdate="30/10/2011";
hedate="2/11/2011";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates, there is a minimum stay of 3 nights.";
textspan = "En esta fechas, hay una estancia mínima de 3 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// DECEMBER PUENTE
hsdate="4/12/2011";
hedate="9/12/2011";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 4 ))
{
texteng = "On these dates, there is a minimum stay of 4 nights.";
textspan = "En esta fechas, hay una estancia mínima de 4 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}



// NAVIDAD MIN 5
hsdate="27/12/2011";
hedate="7/1/2012";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 5 ))
{
texteng = "On these dates, there is a minimum stay of 5 nights.";
textspan = "En esta fechas, hay una estancia mínima de 5 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}





}

