// JavaScript Document

//swap images
function roll_over(img_name, img_src)
   {
   document[img_name].src = img_src;
   }

//call out to external site
function callOut(link) {
    
   if (confirm("You're about to leave REVEALSurvey.com website\n\r\n\rThis website is neither owned nor controlled by Pfizer.\n\rPfizer is not responsible for the content or services of this site.\n\r\n\rContinue?")) 	{ window.open(link); } 

}

//start assessor
function startAssessor() {

    $E('symp').style.display = '';
    $E('assessor_btn').style.display = 'none';    
    $INIT();

    }

var sPath = window.location.pathname;

var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
function writePE()  
{  
if(sPage.toLowerCase() == "unsubscribeme.aspx" || sPage.toLowerCase() == "unsubscribeconfirm.aspx")
   {
        //document.write("PRM00092");
        //document.write("PRM00005V");
        document.write("PRM00257");
 }
else
{
        //document.write("PRM00005R");
        //document.write("PRM00005V");
        document.write("PRM00257");
   }
}
