
function minimum(dz,ss)
{


//2009 2009

// SEMANA SANTA MIN 5
hsdate="8/4/2009";
hedate="9/4/2009";
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/2009";
hedate="3/5/2009";
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 mínimo de noches es 4";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}


// OCTOBRER
hsdate="11/10/2009";
hedate="12/10/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 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="4/12/2009";
hedate="8/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="30/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="30/4/2010";
hedate="3/5/2010";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 && (dz < 2 ))
{
texteng = "On these dates there is a minimum booking requirement of 2 nights.";
textspan = "En estas fechas el mínimo de noches es 2";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}


// OCTOBER
hsdate="8/10/2010";
hedate="12/10/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 mínimo de noches es 4";

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="4/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="30/12/2010";
hedate="3/1/2011";
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;
}

//2011 2011 2011 2011 2011 2011 2011 

// SEMANA SANTA MIN 5
hsdate="20/4/2011";
hedate="21/4/2011";
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="30/4/2011";
hedate="3/5/2011";
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 mínimo de noches es 4";

if (lang == "english")
{text = texteng}
if (lang == "spanish")
{text = textspan}

window.alert(text)
return false;
}


// OCTOBRER
hsdate="11/10/2011";
hedate="12/10/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 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="4/12/2011";
hedate="8/12/2011";
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="30/12/2011";
hedate="3/1/2012";
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;
}

}

////////////////////////////////////////////////////////////////





