var exit=true;

function offers(campaignId, exc) 
{
    if( exit ) 
    {
        if( exc == 1 )
        { 
			launchFull("http://avon.exit-console.com/ec/exitOffers.do?campaignId=" + campaignId, 'Offers','yes','yes');
//            launchFull("http://www.freebizoppsearch.net/temp-exit/index.html", 'Offers','yes','yes');
        }
    } 
} 
  
function popup_win(theurl, exc) 
{
    if( exit ) 
    {
        if( exc == 1 )
        {  
			PopWindow( theurl );
        }
    } 
}  

function goNewWin(code, campaignId, exc) {
    //var url = "http://207.99.120.146/voicemail/privasafe/version6/privasafe.jst?referID=" + code;
    var url = "http://includes-hatch.impulsemg.com/ss-inc/popup/pv.php?" + code;
    if( exit ) 
    {
       if( exc == 1 )
        { 
        launchFull(url,'PrivaSafe','yes','yes');
        //TheNewWin =window.open(url,'TheNew','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1'); 
        //TheNewWin.blur();
        }
    }
}
        
function offers_pan(campaignId, exc, pan) 
{
    if (exit) 
    {
        if( exc == 1 )
        { 
            launchFull("http://avon.exit-console.com/ec/exitOffers.do?campaignId=" + campaignId, 'Offers','yes','yes')
//            launchFull("http://www.freebizoppsearch.net/temp-exit/index.html", 'Offers','yes','yes');
        }

        if( pan == "fss" ) 
        {
            launchFull('http://www.freescreensaverfun.com/congrats.php', 'FreeScreenSaver','yes','yes');
        }
        else if( pan == "fhs" )
        {
            launchFull('http://www.freehotsinglesdownload.com/congrats.php', 'FreeHotSingles','yes','yes');
        }
        else if( pan == "fww" )
        {
            launchFull('http://www.freeweatherwatch.com/congrats.php', 'FreeWeatherWatch','yes','yes');
        }
    } 
} 


