function minimum(dz,ss)
{

nodis=0

// NAVIDAD MIN 5
hsdate="1/1/2006";
hedate="8/1/2006";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 5 ))
{
texteng = "On these dates, there is a minimum of 5 nights.";
textspan = "En estas fechas, hay un minimo de 5 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
}

// ANDALUCIA PUENTE MIN 4
hsdate="24/2/2006";
hedate="28/2/2006";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 4 ))
{
texteng = "On these dates, there is a minimum of 4 nights.";
textspan = "En estas fechas, hay un minimo de 4 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
}

// SAN JOSE PUENTE MIN 3
hsdate="17/3/2006";
hedate="20/3/2006";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates, there is a minimum of 3 nights.";
textspan = "En estas fechas, hay un minimo de 3 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
}


// ANDALUCIA PUENTE MIN 4
hsdate="24/2/2006";
hedate="28/2/2006";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 4 ))
{
texteng = "On these dates, there is a minimum of 4 nights.";
textspan = "En estas fechas, hay un minimo de 4 noches.";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
}

return nodis
}
