text: function gantiGambard(){
      document.getElementById('kmrmodal').style.opacity = "1";
      document.getElementById('kmrmodal2').style.opacity = "0.6";
      document.getElementById('kmrmodal3').style.opacity = "0.6";
      document.getElementById('kmrmandimodal').style.opacity = "0.6";
  
      document.getElementById('kmrmodal').style.borderStyle = "solid";
      document.getElementById('kmrmodal2').style.borderStyle = "none";
      document.getElementById('kmrmodal3').style.borderStyle = "none";
      document.getElementById('kmrmandimodal').style.borderStyle = "none";
  
  
      document.getElementById("previewImaged").style.display="block";
      document.getElementById("previewImaged2").style.display="none";
      document.getElementById("previewImaged3").style.display="none";
      document.getElementById("previewImaged4").style.display="none";
  
  
      document.getElementById('textnums').innerHTML="1 / 4";
      document.getElementById('caption').innerHTML= "Kamar Tidur";
  
  
  }
  
  
  function gantiGambard2(){
      document.getElementById('kmrmodal').style.opacity = "0.6";
      document.getElementById('kmrmodal2').style.opacity = "1";
      document.getElementById('kmrmodal3').style.opacity = "0.6";
      document.getElementById('kmrmandimodal').style.opacity = "0.6";
  
      document.getElementById('kmrmodal').style.borderStyle = "none";
      document.getElementById('kmrmodal2').style.borderStyle = "solid";
      document.getElementById('kmrmodal3').style.borderStyle = "none";
      document.getElementById('kmrmandimodal').style.borderStyle = "none";
  
      document.getElementById("previewImaged").style.display="none";
      document.getElementById("previewImaged2").style.display="block";
      document.getElementById("previewImaged3").style.display="none";
      document.getElementById("previewImaged4").style.display="none";
      document.getElementById("previewImaged5").style.display="none";
      document.getElementById("previewImaged6").style.display="none";
  
  
      document.getElementById('textnums').innerHTML="2 / 4";
      document.getElementById('caption').innerHTML= "Kamar Tidur";
  }
  
  function gantiGambard3(){
      document.getElementById('kmrmodal').style.opacity = "0.6";
      document.getElementById('kmrmodal2').style.opacity = "0.6";
      document.getElementById('kmrmodal3').style.opacity = "1";
      document.getElementById('kmrmandimodal').style.opacity = "0.6";
  
      document.getElementById('kmrmodal').style.borderStyle = "none";
      document.getElementById('kmrmodal2').style.borderStyle = "none";
      document.getElementById('kmrmodal3').style.borderStyle = "solid";
      document.getElementById('kmrmandimodal').style.borderStyle = "none";
  
  
      document.getElementById("previewImaged").style.display="none";
      document.getElementById("previewImaged2").style.display="none";
      document.getElementById("previewImaged3").style.display="block";
      document.getElementById("previewImaged4").style.display="none";
  
      document.getElementById('textnums').innerHTML="3 / 4";
      document.getElementById('caption').innerHTML= "Kamar Tidur";
  }
  
  function gantiGambard4(){
      document.getElementById('kmrmodal').style.opacity = "0.6";
      document.getElementById('kmrmodal2').style.opacity = "0.6";
      document.getElementById('kmrmodal3').style.opacity = "0.6";
      document.getElementById('kmrmandimodal').style.opacity = "1";
  
      document.getElementById('kmrmodal').style.borderStyle = "none";
      document.getElementById('kmrmodal2').style.borderStyle = "none";
      document.getElementById('kmrmodal3').style.borderStyle = "none";
      document.getElementById('kmrmandimodal').style.borderStyle = "solid";
  
  
      document.getElementById("previewImaged").style.display="none";
      document.getElementById("previewImaged2").style.display="none";
      document.getElementById("previewImaged3").style.display="none";
      document.getElementById("previewImaged4").style.display="block";
  
      document.getElementById('textnums').innerHTML="4 / 4";
      document.getElementById('caption').innerHTML= "Kamar Mandi";
  
  }
  
  function gantiGambard5(){
      document.getElementById('kmrmodal').style.borderStyle = "none";
      document.getElementById('kmrmodal2').style.borderStyle = "none";
      document.getElementById('kmrmodal3').style.borderStyle = "none";
      document.getElementById('kmrmandimodal').style.borderStyle = "none";
      document.getElementById('kmrmandimodal2').style.borderStyle = "solid";
      document.getElementById('kmrmandimodal3').style.borderStyle = "none";
  
      document.getElementById("previewImaged").style.display="none";
      document.getElementById("previewImaged2").style.display="none";
      document.getElementById("previewImaged3").style.display="none";
      document.getElementById("previewImaged4").style.display="none";
      document.getElementById("previewImaged5").style.display="block";
      document.getElementById("previewImaged6").style.display="none";
  
      document.getElementById('kmrmodal').style.opacity = "0.6";
      document.getElementById('kmrmodal2').style.opacity = "0.6";
      document.getElementById('kmrmodal3').style.opacity = "0.6";
      document.getElementById('kmrmandimodal').style.opacity = "0.6";
      document.getElementById('kmrmandimodal2').style.opacity = "1";
      document.getElementById('kmrmandimodal3').style.opacity = "0.6";
  
      document.getElementById('textnums').innerHTML="5 / 6";
      document.getElementById('caption').innerHTML= "Kamar Mandi";
  }
  
  
  function gantiGambard6(){
      document.getElementById('kmrmodal').style.borderStyle = "none";
      document.getElementById('kmrmodal2').style.borderStyle = "none";
      document.getElementById('kmrmodal3').style.borderStyle = "none";
      document.getElementById('kmrmandimodal').style.borderStyle = "none";
      document.getElementById('kmrmandimodal2').style.borderStyle = "none";
      document.getElementById('kmrmandimodal3').style.borderStyle = "solid";
  
      document.getElementById("previewImaged").style.display="none";
      document.getElementById("previewImaged2").style.display="none";
      document.getElementById("previewImaged3").style.display="none";
      document.getElementById("previewImaged4").style.display="none";
      document.getElementById("previewImaged5").style.display="none";
      document.getElementById("previewImaged6").style.display="block";
  
      document.getElementById('kmrmodal').style.opacity = "0.6";
      document.getElementById('kmrmodal2').style.opacity = "0.6";
      document.getElementById('kmrmodal3').style.opacity = "0.6";
      document.getElementById('kmrmandimodal').style.opacity = "0.6";
      document.getElementById('kmrmandimodal2').style.opacity = "0.6";
      document.getElementById('kmrmandimodal3').style.opacity = "1";
  
      document.getElementById('textnums').innerHTML="6 / 6";
      document.getElementById('caption').innerHTML= "Kamar Mandi";
  }
  