/*
 * Use code below if CC upsell is needed. 
 * This code adds handles race condition that exists between ecom content being loaded 
 * and reg form being initialized based on whether failsafe content displays or not. 
 * If failsafe content does display and if CC upsell is used, then submitting the reg form
 * should require an onSubmit function that opens a new window.
 */ 
function ecomCallback() {
    var ecomDiv = document.getElementById("regForm_subscribe");
    var ecomFormElements = ecomDiv.getElementsByTagName("input");
    for (var i=0; i<ecomFormElements.length; i++) {
        if (ecomFormElements[i].name == "tgt" 
                && ecomFormElements[i].value == targeter) {
                        
                isEcom = true;
        }
    }

    initPreferencesForm(isEcom);
    isFormInitialized = true;
}

//MAGNET.ecom.rolloverAd.setOffset(0, -229);
MAGNET.ecom.rolloverAd.timeout(7);