// ÄÎÌÀ ÁÐÓÑÎÂÛÅ
function selectFormHouseBr(frm){
  // Select the div containing all the hidden forms
  var hiddenForms = document.getElementById("allFormsHouseBr");

  // Select every form within the above div and assign it to an array
  theForm = hiddenForms.getElementsByTagName("form");

  // Set the display for each of the above forms to NONE
  for(x=0; x<theForm.length; x++){
    theForm[x].style.display = "none";
  }

  // If the form selected from the list exists, set it's display to BLOCK
 if (onform = document.getElementById('forminfo'+frm)) {
  onform.style.display = 'block';
  }
  
  if (!document.images)
return
picpath="/pic/cat_";
path=document.HouseBr.picture.options[document.HouseBr.picture.selectedIndex].value+'.png';
bigpath=document.HouseBr.picture.options[document.HouseBr.picture.selectedIndex].value+'.png';
document.images.picHouseBr.src=picpath+path;
document.images.bigpicHouseBr.src=picpath+bigpath;
  
}

//  ÄÎÌÀ ÊÀÐÊÀÑÍÛÅ
function selectFormHouseKr(frm){
  // Select the div containing all the hidden forms
  var hiddenForms = document.getElementById("allFormsHouseKr");

  // Select every form within the above div and assign it to an array
  theForm = hiddenForms.getElementsByTagName("form");

  // Set the display for each of the above forms to NONE
  for(x=0; x<theForm.length; x++){
    theForm[x].style.display = "none";
  }

  // If the form selected from the list exists, set it's display to BLOCK
 if (onform = document.getElementById('forminfo'+frm)) {
  onform.style.display = 'block';
  }
  
  if (!document.images)
return
picpath="/pic/cat_";
path=document.HouseKr.picture.options[document.HouseKr.picture.selectedIndex].value+'.png';
bigpath=document.HouseKr.picture.options[document.HouseKr.picture.selectedIndex].value+'.png';
document.images.picHouseKr.src=picpath+path;
document.images.bigpicHouseKr.src=picpath+bigpath;
  
}

//  ÁÀÍÈ ÁÐÓÑÎÂÛÅ
function selectFormBanBr(frm){
  // Select the div containing all the hidden forms
  var hiddenForms = document.getElementById("allFormsBanBr");

  // Select every form within the above div and assign it to an array
  theForm = hiddenForms.getElementsByTagName("form");

  // Set the display for each of the above forms to NONE
  for(x=0; x<theForm.length; x++){
    theForm[x].style.display = "none";
  }

  // If the form selected from the list exists, set it's display to BLOCK
 if (onform = document.getElementById('forminfo'+frm)) {
  onform.style.display = 'block';
  }
  
  if (!document.images)
return
picpath="/pic/cat_";
path=document.BanBr.picture.options[document.BanBr.picture.selectedIndex].value+'.png';
bigpath=document.BanBr.picture.options[document.BanBr.picture.selectedIndex].value+'.png';
document.images.picBanBr.src=picpath+path;
document.images.bigpicBanBr.src=picpath+bigpath;
  
}


//  ÄÀ×È ÁÐÓÑÎÂÛÅ
function selectFormCottage(frm){
  // Select the div containing all the hidden forms
  var hiddenForms = document.getElementById("allFormsCottage");

  // Select every form within the above div and assign it to an array
  theForm = hiddenForms.getElementsByTagName("form");

  // Set the display for each of the above forms to NONE
  for(x=0; x<theForm.length; x++){
    theForm[x].style.display = "none";
  }

  // If the form selected from the list exists, set it's display to BLOCK
 if (onform = document.getElementById('forminfo'+frm)) {
  onform.style.display = 'block';
  }
  
  if (!document.images)
return
picpath="/pic/cat_";
path=document.Cottage.picture.options[document.Cottage.picture.selectedIndex].value+'.png';
bigpath=document.Cottage.picture.options[document.Cottage.picture.selectedIndex].value+'.png';
document.images.picCottage.src=picpath+path;
document.images.bigpicCottage.src=picpath+bigpath;
  
}

