function wobble() {
var handset = document.getElementById("handset");
handset.classList.toggle("wobble-trigger");
}
function addCalendarIcon() {
const container = document.getElementById('calendaricon');
const iconCalHTML = `
`;
container.innerHTML = iconCalHTML; }
function openBookingPopup() {
// Create the modal container
var modal = document.createElement('div');
modal.style.display = 'block';
modal.style.position = 'fixed';
modal.style.zIndex = '9999';
modal.style.left = '0';
modal.style.top = '0';
modal.style.width = '100%';
modal.style.height = '100%';
modal.style.overflow = 'auto';
modal.style.backgroundColor = 'rgba(0,0,0,0.4)';
modal.style.borderRadius = '25px';
// Create the modal content
var modalContent = document.createElement('div');
modalContent.style.backgroundColor = '#fefefe';
modalContent.style.margin = '5% auto';
modalContent.style.padding = '1%';
modalContent.style.border = '1px solid #888';
modalContent.style.width = '80%';
modalContent.style.height = '80%';
modalContent.style.borderRadius = '25px';
// Create the close button
var closeButton = document.createElement('span');
closeButton.innerHTML = '×';
closeButton.style.color = '#aaa';
closeButton.style.float = 'right';
closeButton.style.fontSize = '28px';
closeButton.style.fontWeight = 'bold';
closeButton.style.cursor = 'pointer';
closeButton.onclick = function() {
modal.style.display = 'none';
};
// Create the iframe
var iframe = document.createElement('iframe');
iframe.src = 'https://calendar.google.com/calendar/u/0/appointments/schedules/AcZssZ1yCptQZLxFXTRT_qx5wkEM5Y1V3rQQy7bKcIZRYeHoi9P9RZp_he4pp8EirhmqUZqNqavst1hc?gv=true';
iframe.style.width = '100%';
iframe.style.height = '100%';
iframe.style.border = '0';
iframe.style.borderRadius = '25px';
// Append elements to the modal content
modalContent.appendChild(closeButton);
modalContent.appendChild(iframe);
// Append modal content to the modal container
modal.appendChild(modalContent);
// Append the modal container to the body
document.body.appendChild(modal);
}