`;
}
// FCGS specific content including pricing
// Provides detailed treatment instructions for cats with Feline Chronic Gingivostomatitis (FCGS), including oral and subcutaneous administration options, dosage, and duration.
function getFCGSContent() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Provides treatment guidelines for cats with Feline Infectious Peritonitis (FIP), including dosage, duration, veterinarian review, and the option to combine RetroMAD1 with GS-441524.
function getFIPContent() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Provides treatment recommendations for cats diagnosed with Feline Herpesvirus Type 1 (FHV-1), including oral and subcutaneous administration options, dosage, and treatment duration.
function getFHV1Content() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Provides detailed treatment instructions for symptomatic FeLV cats, including dosage, administration methods, treatment duration, and follow-up recommendations after 90 days.
function getFeLVSymptomaticContent() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Provides treatment recommendations for dogs diagnosed with CPV2, including dosage, administration method, and duration, emphasizing early intervention.
function getCPV2Content() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Provides treatment recommendations for dogs diagnosed with CDV, including dosage, administration method, and duration, emphasizing early intervention.
function getCDVContent() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Provides treatment guidelines for cats diagnosed with Feline Panleukopenia (FPV), including dosage, administration method, duration, and the need for a post-treatment veterinarian review.
function getFPVContent() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Outlines treatment recommendations for symptomatic FIV cats, including dosage, administration methods, duration, and follow-up veterinarian review after 90 days.
function getFIVSymptomaticContent() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Provides monitoring and treatment recommendations for asymptomatic FIV cats, including preventive measures, dosage, and the long-term goal of maintaining a symptom-free and active life.
function getFIVAsymptomaticContent() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Provides treatment recommendations for cats diagnosed with Feline Calicivirus (FCV), including oral and subcutaneous administration options, dosage, and treatment duration.
function getFCVContent() {
return `
Step 1
Step 2
Step 3
Step 4
Step 1
Step 2
Step 3
Step 4
`;
}
// Dynamically generates a treatment script based on pet type, disease, and other factors by combining common and disease-specific content.
function generateScript(petType, disease, country, hasPlacedOrder, quantity) {
let script = "";
// Add common content based on pet type and disease
script += generateCommonContent(petType, disease);
// Add disease-specific content
if (disease === 'Feline Chronic Gingivostomatitis (FCGS)') {
script += getFCGSContent();
} else if (disease === 'Feline Leukemia Virus (FeLV) - Symptomatic') {
script += getFeLVSymptomaticContent();
} else if (disease === 'Feline Leukemia Virus (FeLV) - Asymptomatic') {
script += getFeLVAsymptomaticContent();
}
else if (disease === 'Feline Infectious Peritonitis (FIP)') {
script += getFIPContent();
}
else if (disease === 'Canine Parvovirus (CPV2)') {
script += getCPV2Content();
}
else if (disease === 'Canine Distemper Virus (CDV)') {
script += getCDVContent();
}
else if (disease === 'Feline Herpes Virus (FHV-1)') {
script += getFHV1Content();
}
else if (disease === 'Feline Panleukopenia Virus (FPV)') {
script += getFPVContent();
}
else if (disease === 'Feline Calicivirus (FCV)') {
script += getFCVContent();
}
else if (disease === 'Feline Immunodeficiency Virus (FIV) - Symptomatic') {
script += getFIVSymptomaticContent();
}
else if (disease === 'Feline Immunodeficiency Virus (FIV) - Asymptomatic') {
script += getFIVAsymptomaticContent();
}
// Appends order-related information and a closing section to the script, customized based on whether an order has been placed, and includes contact and social media links.
if (hasPlacedOrder) {
script += `
Please confirm your order for the ${quantity} boxes, and we will prepare an invoice for you shortly.
`;
} else {
// script += "
Thank you for your interest in RetroMAD1. Do let us know if you would like to place an order.
";
return script;
}
// Dynamically generates and displays a script based on user selections of pet type and disease, ensuring the content updates immediately upon dropdown changes.
function generateAndDisplayScript() {
let petType = document.getElementById('pet_type').value;
let disease = document.getElementById('disease').value;
let scriptContainer = document.getElementById('generatedScript');
// Clear the previously generated content
scriptContainer.innerHTML = '';
// If the user selects "Select Disease" or leaves disease empty, do not display any content
if (!petType || !disease || disease === 'Select Disease') {
return; // Exit if no valid selection
}
// Generate new content based on pet type and disease
let scriptContent = generateScript(petType, disease);
scriptContainer.innerHTML = scriptContent; // Display new content
}
// Event listeners for dropdowns to generate the script immediately
document.getElementById('pet_type').addEventListener('change', generateAndDisplayScript);
document.getElementById('disease').addEventListener('change', generateAndDisplayScript);
});
Connection failed: Access denied for user 'newbiovalence_newlayout'@'localhost' to database 'newbiovalence_newlayout'