﻿// JScript File

function pageViewClick(link)
{        
    if (link.toLowerCase() == 'talkingtodoctor'.toLowerCase())    
    {            
         premarinClick('Premarin:ALL:callout:To Talking with Your Doctor 3.0'
                ,'ALL'
                ,'callout'
                ,'To Talking with Your Doctor 3.0'
                ,'Premarin:ALL:callout:To Talking with Your Doctor 3.0'
                ,'education'
                ,'education'
                ,'Premarin:ALL:callout:To Talking with Your Doctor 3.0'
                ,'education'
                ,'event17');                      
                 
    }
    else if(link.toLowerCase() == 'pvc'.toLowerCase())
    {
        premarinClick('Premarin:ALL:callout:To PVC.com'
                    ,'ALL'
                    ,'callout'
                    ,'To PVC.com'
                    ,'Premarin:ALL:callout:To PVC.com'
                    ,'education'
                    ,'education'
                    ,'Premarin:ALL:callout:To PVC.com'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'toprempro'.toLowerCase())
    {
        premarinClick('Premarin:ALL:callout:To Prempro Natural Menopause Symptoms'
                    ,'ALL'
                    ,'callout'
                    ,'To Prempro Natural Menopause Symptoms'
                    ,'Premarin:ALL:callout:To Prempro Natural Menopause Symptoms'
                    ,'education'
                    ,'education'
                    ,'Premarin:ALL:callout:To Prempro Natural Menopause Symptoms'
                    ,'education'
                    ,'event17');
    }    
    else if(link.toLowerCase() == 'Patient'.toLowerCase())
    {
        premarinClick('Premarin:ALL:callout:Patient Information'
                    ,'ALL'
                    ,'callout'
                    ,'Patient Information'
                    ,'Premarin:ALL:callout:Patient Information'
                    ,'education'
                    ,'education'
                    ,'Premarin:ALL:callout:Patient Information'
                    ,'education'
                    ,'event17');
    }
}
function pageViewClickHomeCallout(link)
{
    
    if (link.toLowerCase() == 'Benefits'.toLowerCase())
    {                
        premarinClick('Premarin:home:callout:To Premarin Benefits 2.1'
                    ,'home'
                    ,'callout'
                    ,'To Premarin Benefits 2.1'
                    ,'Premarin:home:callout:To Premarin Benefits 2.1'
                    ,'education'
                    ,'education'
                    ,'Premarin:home:callout:To Premarin Benefits 2.1'
                    ,'education'
                    ,'event17');
                        
    }
    else if (link.toLowerCase() == 'Hormone'.toLowerCase())
    {
        premarinClick('Premarin:home:callout:To On the record Premarin and Hormone Therapy 2.2'
                    ,'home'
                    ,'callout'
                    ,'To On the record Premarin and Hormone Therapy 2.2'
                    ,'Premarin:home:callout:To On the record Premarin and Hormone Therapy 2.2'
                    ,'education'
                    ,'education'
                    ,'Premarin:home:callout:To On the record Premarin and Hormone Therapy 2.2'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Doctor'.toLowerCase())
    {
        premarinClick('Premarin:home:callout:To Talking with Your Doctor 3.0'
                    ,'home'
                    ,'callout'
                    ,'To Talking with Your Doctor 3.0'
                    ,'Premarin:home:callout:To Talking with Your Doctor 3.0'
                    ,'education'
                    ,'education'
                    ,'Premarin:home:callout:To Talking with Your Doctor 3.0'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'PVC'.toLowerCase())
    {
        premarinClick('Premarin:home:callout:To PVC.com'
                    ,'home'
                    ,'callout'
                    ,'To PVC.com'
                    ,'Premarin:home:callout:To PVC.com'
                    ,'education'
                    ,'education'
                    ,'Premarin:home:callout:To PVC.com'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Symptoms'.toLowerCase())
    {
        premarinClick('Premarin:home:callout:To Prempro Natural Menopause Symptoms'
                    ,'home'
                    ,'callout'
                    ,'To Prempro Natural Menopause Symptoms'
                    ,'Premarin:home:callout:To Prempro Natural Menopause Symptoms'
                    ,'education'
                    ,'education'
                    ,'Premarin:home:callout:To Prempro Natural Menopause Symptoms'
                    ,'education'
                    ,'event17');
    }    
    else if (link.toLowerCase() == 'Patient'.toLowerCase())
    {
        premarinClick('Premarin:home:callout:Patient Information'
                    ,'home'
                    ,'callout'
                    ,'Patient Information'
                    ,'Premarin:home:callout:Patient Information'
                    ,'education'
                    ,'education'
                    ,'Premarin:home:callout:Patient Information'
                    ,'education'
                    ,'event17');
    }
    return false
}

function pageViewClickMenopause(link)
{

    if (link.toLowerCase() == 'hotflashes'.toLowerCase())
    {                
        premarinClick('Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 1 Hot Flashes'
                    ,'Menopause After Hysterectomy:Menopause Symptoms'
                    ,'Menopause Symptoms'
                    ,'Tab 1 Hot Flashes'
                    ,'Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 1 Hot Flashes'
                    ,'education'
                    ,'education'
                    ,'Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 1 Hot Flashes'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'nightsweats'.toLowerCase())
    {
       premarinClick('Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 2 Night Sweats'
                    ,'Menopause After Hysterectomy:Menopause Symptoms'
                    ,'Menopause Symptoms'
                    ,'Tab 2 Night Sweats'
                    ,'Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 2 Night Sweats'
                    ,'education'
                    ,'education'
                    ,'Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 2 Night Sweats'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'symptoms'.toLowerCase())
    {
        premarinClick('Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 3 Vaginal Symptoms'
                    ,'Menopause After Hysterectomy:Menopause Symptoms'
                    ,'Menopause Symptoms'
                    ,'Tab 3 Vaginal Symptoms'
                    ,'Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 3 Vaginal Symptoms'
                    ,'education'
                    ,'education'
                    ,'Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 3 Vaginal Symptoms'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Osteoporosis'.toLowerCase())
    {
        premarinClick('Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 4 Osteoporosis'
                    ,'Menopause After Hysterectomy:Menopause Symptoms'
                    ,'Menopause Symptoms'
                    ,'Tab 4 Osteoporosis'
                    ,'Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 4 Osteoporosis'
                    ,'education'
                    ,'education'
                    ,'Premarin:Menopause After Hysterectomy:Menopause Symptoms:Menopause Symptoms:Tab 4 Osteoporosis'
                    ,'education'
                    ,'event17');
    }
}

function pageViewClickQuestion(link)
{
    if (link.toLowerCase() == 'Q1'.toLowerCase())
    {
        premarinClick('Premarin:Talking with your Doctor:Self Assessment:Question 1'
                    ,'Talking with your Doctor:Self Assessment'                    
                    ,'Question 1'
                    ,''
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 1'
                    ,'education'
                    ,'education'
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 1'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Q2'.toLowerCase())
    {
        premarinClick('Premarin:Talking with your Doctor:Self Assessment:Question 2'
                    ,'Talking with your Doctor:Self Assessment'
                    ,'Question 2'
                    ,''
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 2'
                    ,'education'
                    ,'education'
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 2'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Q3'.toLowerCase())
    {
        premarinClick('Premarin:Talking with your Doctor:Self Assessment:Question 3'
                    ,'Talking with your Doctor:Self Assessment'                    
                    ,'Question 3'
                    ,''
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 3'
                    ,'education'
                    ,'education'
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 3'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Q4'.toLowerCase())
    {
        premarinClick('Premarin:Talking with your Doctor:Self Assessment:Question 4'
                    ,'Talking with your Doctor:Self Assessment'
                    ,'Question 4'
                    ,''
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 4'
                    ,'education'
                    ,'education'
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 4'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Q5'.toLowerCase())
    {
        premarinClick('Premarin:Talking with your Doctor:Self Assessment:Question 5'
                    ,'Talking with your Doctor:Self Assessment'
                    ,'Question 5'
                    ,''
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 5'
                    ,'education'
                    ,'education'
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 5'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Q6'.toLowerCase())
    {
        premarinClick('Premarin:Talking with your Doctor:Self Assessment:Question 6'
                    ,'Talking with your Doctor:Self Assessment'
                    ,'Question 6'
                    ,''
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 6'
                    ,'education'
                    ,'education'
                    ,'Premarin:Talking with your Doctor:Self Assessment:Question 6'
                    ,'education'
                    ,'event17');
    }
}
function pageViewClickFAQ(link)
{
    if (link.toLowerCase() == 'Benefit'.toLowerCase())
    {
        premarinClick('Premarin:About Premarin:Premarin and Hormone Therapy:dropdown:Question 1'
                    ,'About Premarin:Premarin and Hormone Therapy'                    
                    ,'dropdown'
                    ,'Question1'
                    ,'Premarin:About Premarin:Premarin and Hormone Therapy:dropdown:Question 1'
                    ,'education'
                    ,'education'
                    ,'Premarin:About Premarin:Premarin and Hormone Therapy:dropdown:Question 1'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Risks'.toLowerCase())
    {
        premarinClick('Premarin:About Premarin:Premarin and Hormone Therapy:dropdown:Question 2'
                    ,'About Premarin:Premarin and Hormone Therapy'
                    ,'dropdown'
                    ,'Question2'
                    ,'Premarin:About Premarin:Premarin and Hormone Therapy:dropdown:Question 2'
                    ,'education'
                    ,'education'
                    ,'Premarin:About Premarin:Premarin and Hormone Therapy:dropdown:Question 2'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'BHRT'.toLowerCase())
    {
        premarinClick('Premarin:About Premarin:Premarin and Hormone Therapy:dropdown:Question 3'
                    ,'About Premarin:Premarin and Hormone Therapy'
                    ,'dropdown'
                    ,'Question3'
                    ,'Premarin:About Premarin:Premarin and Hormone Therapy:dropdown:Question 3'
                    ,'education'
                    ,'education'
                    ,'Premarin:About Premarin:Premarin and Hormone Therapy:dropdown:Question 3'
                    ,'education'
                    ,'event17');
    }
}
function pageViewClickDoctor(link)
{
    if (link.toLowerCase() == 'Print'.toLowerCase())
    {
        premarinClick('Premarin:Talking with your Doctor:Click to Print Page'
                    ,'Talking with your Doctor'
                    ,'Click to Print Page'
                    ,''
                    ,'Premarin:Talking with your Doctor:Click to Print Page'
                    ,'education'
                    ,'education'
                    ,'Premarin:Talking with your Doctor:Click to Print Page'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'Assessment'.toLowerCase())
    {
        premarinClick('Premarin:Talking with your Doctor:Self Assessment:Click Yes or No Q1'
                    ,'Talking with your Doctor:Self Assessment'
                    ,'Click Yes or No Q1'
                    ,''
                    ,'Premarin:Talking with your Doctor:Self Assessment:Click Yes or No Q1'
                    ,'education'
                    ,'education'
                    ,'Premarin:Talking with your Doctor:Self Assessment:Click Yes or No Q1'
                    ,'education'
                    ,'event17');
    }
    else if (link.toLowerCase() == 'AssessmentPrint'.toLowerCase())
    {
        premarinClick('Premarin:Talking with your Doctor:Self Assessment:Click to Print Page'
                    ,'Talking with your Doctor:Self Assessment'
                    ,'Click to Print Page'
                    ,''
                    ,'Premarin:Talking with your Doctor:Self Assessment:Click to Print Page'
                    ,'education'
                    ,'education'
                    ,'Premarin:Talking with your Doctor:Self Assessment:Click to Print Page'
                    ,'education'
                    ,'event17');
    }
}

