document.write('

General Information
First Name 
Last Name 
Email  *

Terms & Conditions I agree to the terms and conditions* AND I AUTHORIZE DIGITAL CAFE ANIMATION STUDIOS TO CHARGE ME FOR THE AMOUNT OF THIS ITEM. I ALSO UNDERSTAND THAT I MAY CONTACT DIGITAL CAFE ANIMATION STUDIOS ONLINE AT http://www.kickstartmedia.com/support OR VIA EMAIL AT support@kickstartmedia.com IF I HAVE ANY QUESTIONS REGARDING MY ORDER.

Shopping Cart Checkout
Item: Silver Animation Package
Total: 2995.00 USD (One Time)
'); ajax_loader_small = new Image(); ajax_loader_small.src = 'https://mixiv.com/images/ajax-loader-small.gif'; var dot_count_f0f9ccd65c1e = 0; var dot_interval_f0f9ccd65c1e = ''; var show_terms_f0f9ccd65c1e = 1; var capture_data_f0f9ccd65c1e = 1; // this is 0 if we are just showing buttons var do_validation_f0f9ccd65c1e = 1; var current_price_token_f0f9ccd65c1e = ''; var secs_elapsed_f0f9ccd65c1e = 0; var price_at_checkout_f0f9ccd65c1e = 2995.00; var starting_price_f0f9ccd65c1e = 2995.00; var original_price_f0f9ccd65c1e = 2995.00; var current_price_f0f9ccd65c1e = 2995.00; var coupon_price_f0f9ccd65c1e = 2995.00; var increase_per_sec_f0f9ccd65c1e = 0; var max_price_f0f9ccd65c1e = 2995.00; var charged_price_subtotal_f0f9ccd65c1e = 2995.00; var handling_fee_f0f9ccd65c1e = 0.00; var recurring_handling_fee_f0f9ccd65c1e = 0.00; var shipping_fee_f0f9ccd65c1e = 0; var tax_percent_f0f9ccd65c1e = 0; var taxable_price_f0f9ccd65c1e = 0; var tax_f0f9ccd65c1e = 0; var valid_coupon_f0f9ccd65c1e = 0; var recurring_price_at_checkout_f0f9ccd65c1e = 0.00; var recurring_original_price_f0f9ccd65c1e = 0.00; var recurring_current_price_f0f9ccd65c1e = 0.00; var recurring_coupon_price_f0f9ccd65c1e = 0.00; var recurring_price_subtotal_f0f9ccd65c1e = 0; var recurring_taxable_price_f0f9ccd65c1e = 0; var recurring_shipping_fee_f0f9ccd65c1e = 0; var recurring_tax_f0f9ccd65c1e = 0; var recurring_price_f0f9ccd65c1e = 0.00; var add_tax_to_recurring_f0f9ccd65c1e = 0; var apply_quantity_to_recurring_f0f9ccd65c1e = 0; var u_country_f0f9ccd65c1e = ''; var u_state_f0f9ccd65c1e = ''; var u_zip_f0f9ccd65c1e = ''; var u_quantity_f0f9ccd65c1e = 1; var u_recurring_quantity_f0f9ccd65c1e = 1; var is_upsell_f0f9ccd65c1e = 0; timezone_date_f0f9ccd65c1e = new Date(); document.form_f0f9ccd65c1e.u_timezone_js_offset.value = timezone_date_f0f9ccd65c1e.getTimezoneOffset(); // we want these to show/hide last so that we don't shrink the form prematurely causing a scroll bar for the iframe process_combined_membership_checkboxes_f0f9ccd65c1e (document.form_f0f9ccd65c1e.u_accepted_membership_1,'1'); process_combined_membership_checkboxes_f0f9ccd65c1e (document.form_f0f9ccd65c1e.u_accepted_membership_2,'2'); process_combined_membership_checkboxes_f0f9ccd65c1e (document.form_f0f9ccd65c1e.u_accepted_membership_3,'3'); function auto_increment_price_f0f9ccd65c1e() { if (current_price_token_f0f9ccd65c1e) { secs_elapsed_f0f9ccd65c1e++; clearInterval(current_price_token_f0f9ccd65c1e); } var new_price = parseFloat(starting_price_f0f9ccd65c1e) + (parseFloat(increase_per_sec_f0f9ccd65c1e) * parseFloat(secs_elapsed_f0f9ccd65c1e)); if (parseFloat(new_price) < parseFloat(max_price_f0f9ccd65c1e)) { current_price_f0f9ccd65c1e = new_price; current_price_token_f0f9ccd65c1e = setInterval('auto_increment_price_f0f9ccd65c1e()',1000); } else { current_price_f0f9ccd65c1e = max_price_f0f9ccd65c1e; } calculate_price_f0f9ccd65c1e(); } function set_variables_f0f9ccd65c1e () { // set these fields here in case they are not on the form, and also to make code easier to read // they may not be on the form if type == one_time and we want to show the price and no shipping u_country_f0f9ccd65c1e = (document.form_f0f9ccd65c1e.u_country) ? document.form_f0f9ccd65c1e.u_country.value : ''; u_state_f0f9ccd65c1e = (document.form_f0f9ccd65c1e.u_state) ? document.form_f0f9ccd65c1e.u_state.value : ''; u_zip_f0f9ccd65c1e = (document.form_f0f9ccd65c1e.u_zip) ? document.form_f0f9ccd65c1e.u_zip.value : ''; u_quantity_f0f9ccd65c1e = (document.form_f0f9ccd65c1e.u_quantity) ? document.form_f0f9ccd65c1e.u_quantity.value : 1; u_recurring_quantity_f0f9ccd65c1e = (apply_quantity_to_recurring_f0f9ccd65c1e) ? u_quantity_f0f9ccd65c1e : 1; } function calculate_price_f0f9ccd65c1e () { set_variables_f0f9ccd65c1e(); // if we have a valid coupon, then override the incremented price. But incrementing should continue in the backgroud if (parseInt(valid_coupon_f0f9ccd65c1e) > 0) { current_price_f0f9ccd65c1e = coupon_price_f0f9ccd65c1e; recurring_current_price_f0f9ccd65c1e = recurring_coupon_price_f0f9ccd65c1e; } else if (!(parseFloat(increase_per_sec_f0f9ccd65c1e) > 0)) { // if we aren't incrementing and you remove the coupon, we need to reset to original pricing current_price_f0f9ccd65c1e = original_price_f0f9ccd65c1e; recurring_current_price_f0f9ccd65c1e = recurring_original_price_f0f9ccd65c1e; } price_subtotal_f0f9ccd65c1e = parseFloat(current_price_f0f9ccd65c1e) * parseFloat(u_quantity_f0f9ccd65c1e); recurring_subtotal_f0f9ccd65c1e = parseFloat(recurring_current_price_f0f9ccd65c1e) * parseFloat(u_recurring_quantity_f0f9ccd65c1e); if (get_id('tax_percent_'+u_state_f0f9ccd65c1e+'_'+u_country_f0f9ccd65c1e+'_f0f9ccd65c1e')) { tax_percent_f0f9ccd65c1e = get_id('tax_percent_'+u_state_f0f9ccd65c1e+'_'+u_country_f0f9ccd65c1e+'_f0f9ccd65c1e').value; tax_f0f9ccd65c1e = parseFloat(price_subtotal_f0f9ccd65c1e) * parseFloat(tax_percent_f0f9ccd65c1e) / 100; recurring_tax_f0f9ccd65c1e = parseFloat(recurring_subtotal_f0f9ccd65c1e) * parseFloat(tax_percent_f0f9ccd65c1e) / 100; } else { tax_f0f9ccd65c1e = 0; recurring_tax_f0f9ccd65c1e = 0; } if (get_id('subtotal_at_checkout_f0f9ccd65c1e')) // make sure it exists in case it is refreshing itself from iframe get_id('subtotal_at_checkout_f0f9ccd65c1e').innerHTML = curr(price_subtotal_f0f9ccd65c1e); if (get_id('shipping_at_checkout_f0f9ccd65c1e')) // make sure it exists in case it is refreshing itself from iframe get_id('shipping_at_checkout_f0f9ccd65c1e').innerHTML = curr(shipping_fee_f0f9ccd65c1e); if (get_id('tax_at_checkout_f0f9ccd65c1e')) // make sure it exists in case it is refreshing itself from iframe get_id('tax_at_checkout_f0f9ccd65c1e').innerHTML = curr(tax_f0f9ccd65c1e); price_at_checkout_f0f9ccd65c1e = parseFloat(price_subtotal_f0f9ccd65c1e) + parseFloat(shipping_fee_f0f9ccd65c1e) + parseFloat(curr(tax_f0f9ccd65c1e)); price_at_checkout_f0f9ccd65c1e = (parseFloat(increase_per_sec_f0f9ccd65c1e) > 0 && parseFloat(current_price_f0f9ccd65c1e) < parseFloat(max_price_f0f9ccd65c1e)) && !parseInt(valid_coupon_f0f9ccd65c1e) ? price_at_checkout_f0f9ccd65c1e : curr(price_at_checkout_f0f9ccd65c1e); // if we are still incrementing per second, don't format the currency if (get_id('price_at_checkout_f0f9ccd65c1e')) // make sure it exists in case it is refreshing itself from iframe get_id('price_at_checkout_f0f9ccd65c1e').innerHTML = price_at_checkout_f0f9ccd65c1e; if (get_id('price_at_checkout_bottom_f0f9ccd65c1e')) // make sure it exists get_id('price_at_checkout_bottom_f0f9ccd65c1e').innerHTML = price_at_checkout_f0f9ccd65c1e; recurring_price_f0f9ccd65c1e = (add_tax_to_recurring_f0f9ccd65c1e) ? parseFloat(recurring_subtotal_f0f9ccd65c1e) + parseFloat(recurring_shipping_fee_f0f9ccd65c1e) + parseFloat(curr(recurring_tax_f0f9ccd65c1e)) : parseFloat(recurring_subtotal_f0f9ccd65c1e) + parseFloat(recurring_shipping_fee_f0f9ccd65c1e); if (get_id('recurring_price_f0f9ccd65c1e')) // make sure it exists in case it is refreshing itself from iframe get_id('recurring_price_f0f9ccd65c1e').innerHTML = curr(recurring_price_f0f9ccd65c1e); } function get_kunaki_shipping_f0f9ccd65c1e() { set_variables_f0f9ccd65c1e(); if (!((u_country_f0f9ccd65c1e == 'UNITED STATES' || u_country_f0f9ccd65c1e == 'CANADA') && (u_state_f0f9ccd65c1e == '' || u_state_f0f9ccd65c1e == 'N/A')) && u_zip_f0f9ccd65c1e.length >= 4 && u_country_f0f9ccd65c1e != '') { document.form_f0f9ccd65c1e.req.value = 'kunaki_shipping'; document.form_f0f9ccd65c1e.validate_mode.value = '' document.form_f0f9ccd65c1e.target = 'utility_f0f9ccd65c1e'; document.form_f0f9ccd65c1e.submit(); } else { get_id('kunaki_shipping_f0f9ccd65c1e').innerHTML = get_id('kunaki_shipping_reset_f0f9ccd65c1e').innerHTML; calculate_price_f0f9ccd65c1e(); } } function cb_kunaki_shipping_f0f9ccd65c1e () { form_validation_status = window.frames["utility_f0f9ccd65c1e"].get_id('form_validation_status').innerHTML; if (form_validation_status == '1') { get_id('kunaki_shipping_f0f9ccd65c1e').innerHTML = window.frames["utility_f0f9ccd65c1e"].get_id('shipping_choices').innerHTML; get_id('error_f0f9ccd65c1e').innerHTML = ''; } else { get_id('error_f0f9ccd65c1e').innerHTML = window.frames["utility_f0f9ccd65c1e"].get_id('error_message').innerHTML; document.location.hash = 'error_anchor_f0f9ccd65c1e'; get_id('kunaki_shipping_f0f9ccd65c1e').innerHTML = get_id('kunaki_shipping_reset_f0f9ccd65c1e').innerHTML; } calculate_price_f0f9ccd65c1e(); } function validate_coupon_f0f9ccd65c1e() { document.form_f0f9ccd65c1e.req.value = 'validate'; document.form_f0f9ccd65c1e.validate_mode.value = 'coupon_only'; document.form_f0f9ccd65c1e.target = 'utility_f0f9ccd65c1e'; document.form_f0f9ccd65c1e.submit(); } function cb_validate_coupon_f0f9ccd65c1e () { form_validation_status = window.frames["utility_f0f9ccd65c1e"].get_id('form_validation_status').innerHTML; valid_coupon_temp_f0f9ccd65c1e = window.frames["utility_f0f9ccd65c1e"].get_id('valid_coupon').innerHTML; valid_coupon_f0f9ccd65c1e = parseInt(valid_coupon_temp_f0f9ccd65c1e); if (form_validation_status == '1' && valid_coupon_f0f9ccd65c1e == '1') { get_id('coupon_valid_f0f9ccd65c1e').innerHTML = 'Valid'; get_id('error_f0f9ccd65c1e').innerHTML = ''; if (get_id('coupon_error_f0f9ccd65c1e')) get_id('coupon_error_f0f9ccd65c1e').innerHTML = ''; } else { get_id('coupon_valid_f0f9ccd65c1e').innerHTML = ''; if (get_id('coupon_error_f0f9ccd65c1e')) get_id('coupon_error_f0f9ccd65c1e').innerHTML = window.frames["utility_f0f9ccd65c1e"].get_id('error_message').innerHTML; get_id('error_f0f9ccd65c1e').innerHTML = window.frames["utility_f0f9ccd65c1e"].get_id('error_message').innerHTML; //document.location.hash = 'error_anchor_f0f9ccd65c1e'; } if (get_id('pricing_box_f0f9ccd65c1e')) { get_id('pricing_box_f0f9ccd65c1e').innerHTML = window.frames["utility_f0f9ccd65c1e"].get_id('pricing_box').innerHTML; } coupon_price_f0f9ccd65c1e = window.frames["utility_f0f9ccd65c1e"].get_id('coupon_price').innerHTML; recurring_coupon_price_f0f9ccd65c1e = window.frames["utility_f0f9ccd65c1e"].get_id('recurring_coupon_price').innerHTML; calculate_price_f0f9ccd65c1e(); } function try_form_submit_f0f9ccd65c1e(tag) { document.form_f0f9ccd65c1e.mode.value = tag; // if we're capturing data, then we try to validate first. cb_do_form_result will submit form if successful if (capture_data_f0f9ccd65c1e && do_validation_f0f9ccd65c1e) { document.form_f0f9ccd65c1e.target = 'utility_f0f9ccd65c1e'; document.form_f0f9ccd65c1e.req.value = 'validate'; document.form_f0f9ccd65c1e.validate_mode.value = 'full_form'; document.form_f0f9ccd65c1e.submit(); } else { // if do_validation_f0f9ccd65c1e then we'll validate the terms in php if (!do_validation_f0f9ccd65c1e && document.form_f0f9ccd65c1e.show_terms && document.form_f0f9ccd65c1e.terms.checked == false) { alert('You must agree to the Terms and Conditions before proceeding'); document.form_f0f9ccd65c1e.terms.focus(); } else { do_form_submit_f0f9ccd65c1e(); } } return false; } function do_phone_task_f0f9ccd65c1e(mode) { get_id('verify_phone_outer').style.display = 'none'; get_id('verify_phone_inner').style.display = 'none'; if (mode == 'change_number') { document.form_f0f9ccd65c1e.validate_phone_mode.value = 'phone'; document.form_f0f9ccd65c1e.u_phone.select(); } else { if (mode == 'submit_pin') { document.form_f0f9ccd65c1e.validate_phone_mode.value = 'pin'; } else if (mode == 'text_me') { document.form_f0f9ccd65c1e.validate_phone_mode.value = 'txt'; get_id('error_f0f9ccd65c1e').innerHTML = ' Processing...'; } else if (mode == 'call_again') { document.form_f0f9ccd65c1e.validate_phone_mode.value = 'phone'; } try_form_submit_f0f9ccd65c1e('paid'); } } function check_pin_f0f9ccd65c1e(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_f0f9ccd65c1e').focus(); } if (the_field.value.length >= 4) { do_phone_task_f0f9ccd65c1e('submit_pin'); } } function cb_do_form_result_f0f9ccd65c1e () { form_validation_status = window.frames["utility_f0f9ccd65c1e"].get_id('form_validation_status').innerHTML; form_validation_task = window.frames["utility_f0f9ccd65c1e"].get_id('form_validation_task').innerHTML; if (form_validation_status == '1') { get_id('error_f0f9ccd65c1e').innerHTML = ''; document.form_f0f9ccd65c1e.req.value = 'form'; do_form_submit_f0f9ccd65c1e(); } else { if (form_validation_task == 'validate_phone') { get_id('error_f0f9ccd65c1e').innerHTML = ''; activate_verify_phone_f0f9ccd65c1e(); } else { get_id('error_f0f9ccd65c1e').innerHTML = ' ' + window.frames["utility_f0f9ccd65c1e"].get_id('error_message').innerHTML; document.location.hash = 'error_anchor_f0f9ccd65c1e'; } } return false; } function activate_verify_phone_f0f9ccd65c1e () { get_id('phone_error_f0f9ccd65c1e').innerHTML = window.frames["utility_f0f9ccd65c1e"].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_f0f9ccd65c1e.phone_pin.value = ''; document.form_f0f9ccd65c1e.phone_pin.focus(); } function do_form_submit_f0f9ccd65c1e () { mode = document.form_f0f9ccd65c1e.mode.value; if (mode == 'standard') { get_id('standard_div_f0f9ccd65c1e').style.display = 'block'; document.form_f0f9ccd65c1e.target = 'standard_f0f9ccd65c1e'; document.form_f0f9ccd65c1e.submit(); thank_you_for_subscribing_f0f9ccd65c1e(mode); } else if (mode == 'zune' || mode == 'itunes') { document.form_f0f9ccd65c1e.target = 'itunes_f0f9ccd65c1e'; document.form_f0f9ccd65c1e.submit(); get_id('loading_'+mode+'_f0f9ccd65c1e').innerHTML = ' Loading'; add_dot_f0f9ccd65c1e(mode); } else { // IMPORTANT!!! IE and Firefox will treat
as a popup if it is submitted by another window or iframe // this could probably be solved by using ajax instead of iframes, but haven't tried it // for future...if (capture_data_f0f9ccd65c1e || no_validation_required_f0f9ccd65c1e) if (capture_data_f0f9ccd65c1e && do_validation_f0f9ccd65c1e) { document.form_f0f9ccd65c1e.target = '_top'; } else { // open a new window if we are directly submitting form on thank you page for button subscription document.form_f0f9ccd65c1e.target = '_blank'; } document.form_f0f9ccd65c1e.submit(); if (is_upsell_f0f9ccd65c1e) { get_id('loading_'+mode+'_f0f9ccd65c1e').innerHTML = ' Processing'; add_dot_f0f9ccd65c1e(mode); } else { get_id('loading_'+mode+'_f0f9ccd65c1e').innerHTML = ' Processing'; add_dot_f0f9ccd65c1e(mode); //thank_you_for_subscribing_f0f9ccd65c1e(mode); } } return false; } function do_cc_form_submit_f0f9ccd65c1e () { document.form_f0f9ccd65c1e.target = 'utility_f0f9ccd65c1e'; document.form_f0f9ccd65c1e.req.value = 'place_order'; document.form_f0f9ccd65c1e.submit(); return false; } function cb_do_cc_form_submit_f0f9ccd65c1e () { form_validation_status = window.frames["utility_f0f9ccd65c1e"].get_id('form_validation_status').innerHTML; form_validation_task = window.frames["utility_f0f9ccd65c1e"].get_id('form_validation_task').innerHTML; if (form_validation_status == '1') { // we should have already redirected from other script // we redirect in the iframe because I couldn't figure out how to get it to unencode & in the URL here } else { if (form_validation_task == 'validate_phone') { get_id('error_f0f9ccd65c1e').innerHTML = ''; activate_verify_phone_f0f9ccd65c1e(); } else { get_id('error_f0f9ccd65c1e').innerHTML = ' ' + window.frames["utility_f0f9ccd65c1e"].get_id('error_message').innerHTML; document.location.hash = 'error_anchor_f0f9ccd65c1e'; } } return false; } function populate_cc_fields_f0f9ccd65c1e () { if (document.form_f0f9ccd65c1e.u_firstname) document.form_f0f9ccd65c1e.u_cc_firstname.value = document.form_f0f9ccd65c1e.u_firstname.value; if (document.form_f0f9ccd65c1e.u_lastname) document.form_f0f9ccd65c1e.u_cc_lastname.value = document.form_f0f9ccd65c1e.u_lastname.value; if (document.form_f0f9ccd65c1e.u_address) document.form_f0f9ccd65c1e.u_cc_address.value = document.form_f0f9ccd65c1e.u_address.value; if (document.form_f0f9ccd65c1e.u_city) document.form_f0f9ccd65c1e.u_cc_city.value = document.form_f0f9ccd65c1e.u_city.value; if (document.form_f0f9ccd65c1e.u_state) document.form_f0f9ccd65c1e.u_cc_state.value = document.form_f0f9ccd65c1e.u_state.value; if (document.form_f0f9ccd65c1e.u_zip) document.form_f0f9ccd65c1e.u_cc_zip.value = document.form_f0f9ccd65c1e.u_zip.value; if (document.form_f0f9ccd65c1e.u_country) document.form_f0f9ccd65c1e.u_cc_country.value = document.form_f0f9ccd65c1e.u_country.value; if (document.form_f0f9ccd65c1e.u_phone) document.form_f0f9ccd65c1e.u_cc_phone.value = document.form_f0f9ccd65c1e.u_phone.value; } function add_dot_f0f9ccd65c1e (mode) { if (dot_interval_f0f9ccd65c1e) { clearInterval(dot_interval_f0f9ccd65c1e); } if (dot_count_f0f9ccd65c1e >= 30) { dot_count_f0f9ccd65c1e = 0; thank_you_for_subscribing_f0f9ccd65c1e(mode); } else { get_id('loading_'+mode+'_f0f9ccd65c1e').innerHTML = get_id('loading_'+mode+'_f0f9ccd65c1e').innerHTML + '.'; dot_count_f0f9ccd65c1e++; dot_interval_f0f9ccd65c1e = setInterval('add_dot_f0f9ccd65c1e(\''+mode+'\')',500); } } function thank_you_for_subscribing_f0f9ccd65c1e (mode) { get_id('loading_'+mode+'_f0f9ccd65c1e').innerHTML = get_id('thank_you_'+mode+'_f0f9ccd65c1e').value; blank_out_fields_f0f9ccd65c1e (); } function blank_out_fields_f0f9ccd65c1e () { if (capture_data_f0f9ccd65c1e == '1') { document.form_f0f9ccd65c1e.reset(); if (get_id('coupon_error_f0f9ccd65c1e')) get_id('coupon_error_f0f9ccd65c1e').innerHTML = ''; if (get_id('coupon_valid_f0f9ccd65c1e')) get_id('coupon_valid_f0f9ccd65c1e').innerHTML = ''; } } function process_combined_membership_checkboxes_f0f9ccd65c1e (thefield,num) { if (get_id('secondary_'+num+'_f0f9ccd65c1e')) { if (thefield && thefield.checked == false) { if (get_id('u_accepted_membership_upper_'+num+'_f0f9ccd65c1e')) get_id('u_accepted_membership_upper_'+num+'_f0f9ccd65c1e').checked = false; if (get_id('u_accepted_membership_'+num+'_f0f9ccd65c1e')) get_id('u_accepted_membership_'+num+'_f0f9ccd65c1e').checked = false; if (get_id('secondary_'+num+'_gray_f0f9ccd65c1e')) get_id('secondary_'+num+'_gray_f0f9ccd65c1e').style.color = 'gray'; } else { if (get_id('u_accepted_membership_upper_'+num+'_f0f9ccd65c1e')) get_id('u_accepted_membership_upper_'+num+'_f0f9ccd65c1e').checked = true; if (get_id('u_accepted_membership_'+num+'_f0f9ccd65c1e')) get_id('u_accepted_membership_'+num+'_f0f9ccd65c1e').checked = true; if (get_id('secondary_'+num+'_gray_f0f9ccd65c1e')) get_id('secondary_'+num+'_gray_f0f9ccd65c1e').style.color = ''; } } } function get_id(id) { if (document.getElementById) return document.getElementById(id); else return document.all[id]; } function valid_email (email) { var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if (filter.test(email)) return true; else return false; } function blank_out_username_and_password (thefield) { if (thefield.value == 'At Least 6 Chars') { thefield.value = ''; //thefield.style.color = ''; } } function curr(amount) { var i = parseFloat(amount); if(isNaN(i)) { i = 0.00; } var minus = ''; if(i < 0) { minus = '-'; } i = Math.abs(i); i = parseInt((i + .005) * 100); i = i / 100; s = new String(i); if(s.indexOf('.') < 0) { s += '.00'; } if(s.indexOf('.') == (s.length - 2)) { s += '0'; } s = minus + s; return s; } // return the value of the radio button that is checked // return an empty string if none are checked, or // there are no radio buttons function getCheckedValue(radioObj) { if(!radioObj) return ""; var radioLength = radioObj.length; if(radioLength == undefined) if(radioObj.checked) return radioObj.value; else return ""; for(var i = 0; i < radioLength; i++) { if(radioObj[i].checked) { return radioObj[i].value; } } return ""; }