function minimum(dz,ss)

{


if (lang == "eng") 
{ 
if (rm == "Rosa" && mz > 4 &&  mz < 9 )
{window.alert("The maximum number of people in the Rosa House is 4. Choose Adelfa.")
return false;}

if (rm == "Rosa" && mz > 8 )
{window.alert("If there are more than 8 people you need both Rosa and Adelfa Houses.")
return false;}

if (rm == "Adelfa" && mz > 8 )
{window.alert("If there are more than 8 people you need both Rosa and Adelfa Houses.")
return false;}}

if (lang == "span") 
{ 
if (rm == "Rosa" && mz > 4 &&  mz < 9 )
{window.alert("El número máximo de personas en la Casa Rosa es 4. Hay que elegir la Casa Adelfa.")
return false;}

if (rm == "Rosa" && mz > 8 )
{window.alert("Si hay más de 8 personas hay que coger la Casa Adelfa y la Casa Rosa.")
return false;}

if (rm == "Adelfa" && mz > 8 )
{window.alert("Si hay más de 8 personas hay que coger la Casa Adelfa y la Casa Rosa.")
return false;}}



//2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 2009 

// SEMANA SANTA MIN 5
hsdate="4/4/2009";
hedate="12/4/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 days.";
textspan = "En estas fechas el minimo de noches es 4";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// PUENTE DE MAYO MIN 3
hsdate="30/4/2009";
hedate="3/5/2009";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// PUENTE OCT MIN 3
hsdate="9/10/2009";
hedate="12/10/2009";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}



// PUENTE NOV MIN 3
hsdate="30/10/2009";
hedate="2/11/2009";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{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 ) {nodis=15 }
if (hold > 0 && (dz < 4 ))
{
texteng = "On these dates there is a minimum booking requirement of 4 days.";
textspan = "En estas fechas el minimo de noches es 4";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// 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 < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

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 2010 2010  

// SEMANA SANTA MIN 5
hsdate="27/3/2010";
hedate="4/4/2010";
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 days.";
textspan = "En estas fechas el minimo de noches es 4";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{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 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// PUENTE OCT MIN 3
hsdate="9/10/2010";
hedate="12/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 booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}



// PUENTE NOV MIN 3
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 booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{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 ) {nodis=15 }
if (hold > 0 && (dz < 4 ))
{
texteng = "On these dates there is a minimum booking requirement of 4 days.";
textspan = "En estas fechas el minimo de noches es 4";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// NAVIDAD MIN 5
hsdate="29/12/2010";
hedate="1/1/2011";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

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  2011  2011  2011   

// SEMANA SANTA MIN 5
hsdate="17/4/2011";
hedate="25/4/2011";
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 days.";
textspan = "En estas fechas el minimo de noches es 4";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{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 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// PUENTE OCT MIN 3
hsdate="9/10/2011";
hedate="12/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 booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}



// PUENTE NOV MIN 3
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 booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{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 ) {nodis=15 }
if (hold > 0 && (dz < 4 ))
{
texteng = "On these dates there is a minimum booking requirement of 4 days.";
textspan = "En estas fechas el minimo de noches es 4";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}

// NAVIDAD MIN 5
hsdate="29/12/2011";
hedate="1/1/2012";
overlap(ss,dz,hsdate,hedate)
if (hold > 0 ) {nodis=15 }
if (hold > 0 && (dz < 3 ))
{
texteng = "On these dates there is a minimum booking requirement of 3 days.";
textspan = "En estas fechas el minimo de noches es 3";

if (lang == "eng")
{text = texteng}
if (lang == "span")
{text = textspan}

window.alert(text)
return false;
}



return nodis
}
