document.write('
Processing...';
} else if (mode == 'call_again') {
document.form_b47c7fd6238b.validate_phone_mode.value = 'phone';
}
try_form_submit_b47c7fd6238b('paid');
}
}
function check_pin_b47c7fd6238b(the_field) {
if (document.all) {
// hack for horrible IE8 bug that doesn't show the text in the text box w/o refreshing div!
get_id('verify_phone_outer').style.display = 'none';
get_id('verify_phone_inner').style.display = 'none';
get_id('verify_phone_outer').style.display = 'block';
get_id('verify_phone_inner').style.display = 'block';
get_id('phone_pin_b47c7fd6238b').focus();
}
if (the_field.value.length >= 4) {
do_phone_task_b47c7fd6238b('submit_pin');
}
}
function cb_do_form_result_b47c7fd6238b () {
form_validation_status = window.frames["utility_b47c7fd6238b"].get_id('form_validation_status').innerHTML;
form_validation_task = window.frames["utility_b47c7fd6238b"].get_id('form_validation_task').innerHTML;
if (form_validation_status == '1') {
get_id('error_b47c7fd6238b').innerHTML = '';
document.form_b47c7fd6238b.req.value = 'form';
do_form_submit_b47c7fd6238b();
} else {
if (form_validation_task == 'validate_phone') {
get_id('error_b47c7fd6238b').innerHTML = '';
activate_verify_phone_b47c7fd6238b();
} else {
get_id('error_b47c7fd6238b').innerHTML = '
'
+ window.frames["utility_b47c7fd6238b"].get_id('error_message').innerHTML;
document.location.hash = 'error_anchor_b47c7fd6238b';
}
}
return false;
}
function activate_verify_phone_b47c7fd6238b () {
get_id('phone_error_b47c7fd6238b').innerHTML = window.frames["utility_b47c7fd6238b"].get_id('error_message').innerHTML;
if (document.all) {
get_id('verify_phone_inner').style.marginLeft = '0px';
}
get_id('verify_phone_outer').style.display = 'block';
get_id('verify_phone_inner').style.display = 'block';
scroll(0,0);
document.body.style.overflow='hidden';
document.form_b47c7fd6238b.phone_pin.value = '';
document.form_b47c7fd6238b.phone_pin.focus();
}
function do_form_submit_b47c7fd6238b () {
mode = document.form_b47c7fd6238b.mode.value;
if (mode == 'standard') {
get_id('standard_div_b47c7fd6238b').style.display = 'block';
document.form_b47c7fd6238b.target = 'standard_b47c7fd6238b';
document.form_b47c7fd6238b.submit();
thank_you_for_subscribing_b47c7fd6238b(mode);
} else if (mode == 'zune' || mode == 'itunes') {
document.form_b47c7fd6238b.target = 'itunes_b47c7fd6238b';
document.form_b47c7fd6238b.submit();
get_id('loading_'+mode+'_b47c7fd6238b').innerHTML = '
Loading';
add_dot_b47c7fd6238b(mode);
} else {
// IMPORTANT!!! IE and Firefox will treat