
	var addedOptionValueList = '';
	var removedOptionValueList = '';

function AdjustOptions_Prod698(mode) // 1: product page; 2: final payment cross-sell
{
	if( window.ProductFormName ){
		var d_form = eval("document." + ProductFormName);
	}
	else{
		var d_form = document.Forward_To;
	}

	for( var atp=0; atp<5; atp++ ){

	addedOptionValueList = '';
	removedOptionValueList = '';
	
var Option1_Field = document.getElementById('Prod698_Option1'); 
var Option2_Field = document.getElementById('Prod698_Option2'); 
var Option3_Field = document.getElementById('Prod698_Option3'); 
var Option4_Field = document.getElementById('Prod698_Option4'); 
var Option5_Field = document.getElementById('Prod698_Option5'); 
var Option6_Field = document.getElementById('Prod698_Option6'); 
var Option1_SavedFieldValue = Option1_Field.value;
var Option2_SavedFieldValue = Option2_Field.value;
var Option3_SavedFieldValue = Option3_Field.value;
var Option4_SavedFieldValue = Option4_Field.value;
var Option5_SavedFieldValue = Option5_Field.value;
var Option6_SavedFieldValue = Option6_Field.value;
var Option1_Order = new Array(6619,6620,6621,6622,6623,6624,6625,6626,6627,6628,6629,6630,6631,6632,6633,6634,6635,6636,6637,6638,6639,6640,6641,6642,6643,6644); 
var Option3_Order = new Array(6648,6649); 
var Option4_Order = new Array(6650,6651); 
var Option5_Order = new Array(6652,6653,6654,6655,6656,6657,6658,6659,6660,6661,6662,6663,6664,6665,6666,6667,6668,6669,6670,6671,6672,6673,6674,6675,6676,6677,6678); 
var Option6_Order = new Array(6679,6680); 
ShowAllRadioFields('Prod698_Option2');
if( mode == 2 ){
	var Option2_radios = d_form.Option2_698;
}
else{
	var Option2_radios = d_form.Option2;
}
if (  Option3_Field.value == 6648 ) {
	RemoveSelectBoxOption(Option4_Field, 6651);
 }
else {
 	AddSelectBoxOption(Option4_Field, "Bench ($54 each) (Add $54.00)", 6651, Option4_Order);
 }
 RestoreSelectBoxFieldValue(document.getElementById('Prod698_Option1'), Option1_SavedFieldValue); 
 CheckNRestoreRadioFieldValue('Prod698_Option2');
 RestoreSelectBoxFieldValue(document.getElementById('Prod698_Option3'), Option3_SavedFieldValue); 
 RestoreSelectBoxFieldValue(document.getElementById('Prod698_Option4'), Option4_SavedFieldValue); 
 RestoreSelectBoxFieldValue(document.getElementById('Prod698_Option5'), Option5_SavedFieldValue); 
 RestoreSelectBoxFieldValue(document.getElementById('Prod698_Option6'), Option6_SavedFieldValue); 
	}
}

function product_option_checking_Prod698(){
	if( window.ProductFormName ){
		var d_form = eval("document." + ProductFormName);
	}
	else{
		var d_form = document.Forward_To;
	}
	var Option1_Field = document.getElementById('Prod698_Option1'); 
	var Option3_Field = document.getElementById('Prod698_Option3'); 
	var Option4_Field = document.getElementById('Prod698_Option4'); 
	var Option5_Field = document.getElementById('Prod698_Option5'); 
	var Option6_Field = document.getElementById('Prod698_Option6'); 
	if( Option1_Field.options.length <= 0 || !radio_button_has_checked('Prod698_Option2') || Option3_Field.options.length <= 0 || Option4_Field.options.length <= 0 || Option5_Field.options.length <= 0 || Option6_Field.options.length <= 0 ){
		if( window.prod_option_unselect_msg ){alert(window.prod_option_unselect_msg);}
		else{alert("Please select the product option(s).");}
		return false;
	}
	else{
		return true;
	}
}
	
