Redirect if URL contains supporter ID . . .

by jelane20

JavaScript

//12276463-2 redirects viewers from one url to another based on supporter ID 
    if(document.location.href.indexOf('413620773') > -1) { 
        document.location.href = 'http://ctf.kintera.org/faf/donorReg/donorPledge.asp?ievent=1117931&lis=1&supId=413620773';
    }