
function minimum(dz,ss)
{



// NAVIDAD MIN 5
hsdate="24/12/2009";
hedate="25/12/2009";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 nights.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}

// NAVIDAD MIN 5
hsdate="31/12/2009";
hedate="1/1/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 nights.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}

//2010 2010 2010 2010 2010 2010 2010 

// SEMANA SANTA MIN 5
//hsdate="27/3/2010";
//hedate="4/4/2010";
//overlap(ss,dz,hsdate,hedate)
//if (hold > 0 && (dz < 4 ))
//{
//texteng = "On these dates there is a minimum booking requirement of 4 nights.";
//textspan = "En estas fechas el minimo de noches es 4";
//
//if (lang == "english")
//{text = texteng}
//if (lang == "spanish")
//{text = textspan}
//
//window.alert(text)
//return false;
//}

// PUENTE DE MAYO MIN 3
//hsdate="1/5/2010";
//hedate="3/5/2010";
//overlap(ss,dz,hsdate,hedate)
//if (hold > 0 && (dz < 3 ))
//{
//texteng = "On these dates there is a minimum booking requirement of 3 nights.";
//textspan = "En estas fechas el mínimo de noches es 3";
//
//if (lang == "english")
//{text = texteng}
//if (lang == "spanish")
//{text = textspan}
//
//window.alert(text)
//return false;
//}


// OCTOBRER
hsdate="8/10/2010";
hedate="12/10/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 nights.";
textspan = "En estas fechas el mínimo de noches es 3";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}

// NOVEMBER
hsdate="29/10/2010";
hedate="1/11/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 nights.";
textspan = "En estas fechas el mínimo de noches es 3";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}

// PUENTE INMAC MIN 3
hsdate="3/12/2010";
hedate="8/12/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 && (dz < 4 ))
{
texteng = "On these dates there is a minimum booking requirement of 4 nights.";
textspan = "En estas fechas el minimo de noches es 4";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}

// NAVIDAD MIN 5
hsdate="24/12/2010";
hedate="25/12/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 nights.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}

// NAVIDAD MIN 5
hsdate="31/12/2010";
hedate="1/1/2011";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 nights.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}


}

////////////////////////////////////////////////////////////////





