//<!--
//1@@m4

aus_useragent=navigator.userAgent.toLowerCase();aus_is_opera=(aus_useragent.indexOf("opera")!=-1);aus_is_net60=(aus_useragent.indexOf("netscape6/6.0")!=-1);function vvc_anyParent(parent_name,parent_value){var child_name=aus_parent_child2[parent_name];var len=child_name.length;if(child_name==null)return;for(var k=0;k<len;k++){this_child_name=child_name[k];var data=aus_dependent_choices[this_child_name];if(data==null)return;aus_load_child(parent_name,this_child_name,1);if(len==1){cascade(this_child_name,1);}}}
function aus_set_parent(parent_name,is_sell){var child_name=aus_parent_child2[parent_name];var len=child_name.length;if(child_name==null)return;for(var k=0;k<len;k++){this_child_name=child_name[k];var data=aus_dependent_choices[this_child_name];if(data==null)return;aus_load_child(parent_name,this_child_name,is_sell);if(len==1){cascade(this_child_name,is_sell);}}}
function cascade(parent_name,is_sell){var child_name=aus_parent_child2[parent_name];if(child_name==null)return;var data=aus_dependent_choices[child_name];if(data==null)return;aus_load_child(parent_name,child_name,is_sell);cascade(child_name,is_sell);}
function hasValue(select,value){if(!select.options)return false;for(var i=0;i<select.options.length;i++){if(select.options[i].value==value)return true;}
return false;}
function aus_load_child(parent_name,child_name,is_sell){var parent_values=get_object_values(parent_name);if((parent_values==null)||(parent_values[0]=="Other")){aus_disable_children(parent_name);return;}
var child_select=aus_get_form_object_from_name(child_name);if(!child_select)return;var inf_array=aus_influencers[child_name];if(!inf_array)return;var child_option_data=aus_dependent_choices[child_name];if(child_option_data==null)return;var influencer_values=aus_get_influencer_value_string(child_name);var ptr=child_option_data["a"+influencer_values];if(!ptr){var disabled_children=aus_disable_children_conditionally(child_name);if(disabled_children)return;}
if(ptr==null)return;if(ptr.length==0){var disabled_children=aus_disable_children_conditionally(child_name);if(disabled_children)return;}
var child_options=child_select.options;child_options.length=0;var other_option=null;if(!is_sell){child_options.length=ptr.length+1;}
else{var allow_other=aus_allow_other[child_name];if(allow_other){other_option=new Option("Other","OTHER");child_options.length=ptr.length+2;}}
child_select.disabled=false;child_select.className="fieldenabled";var j=0;for(var i in ptr){var option_name=ptr[i][0];if(is_sell){var option_id=ptr[i][1];child_select.options[j]=new Option(option_name,option_id);}else{child_select.options[j]=new Option(option_name,option_name);}
j++;}
child_select.className=child_select.name;if(other_option)child_select.options[j]=other_option;child_select.options[0].selected=true;aus_disable_children(child_name);}
function aus_get_form_object_from_name(object_name){var aus_form;if(document.product_finder)aus_form=document.product_finder;else aus_form=document.find;var object=aus_form[object_name];return object;}
function aus_get_object_value(select_name){var form_object=aus_get_form_object_from_name(select_name);if(!form_object)return null;var select_options=form_object.options;if(!select_options){if(form_object.value!=null)return form_object.value;else return null;}
var selected_index=form_object.selectedIndex;if((selected_index==null)||(selected_index<0))return null;var selected_option=form_object.options[selected_index];if(!selected_option)return null;var select_value=selected_option.value;return select_value;}
function get_object_values(select_name){var selected_values;var form_object=aus_get_form_object_from_name(select_name);if(!form_object)return null;if(!form_object.options&&!form_object.length){if(form_object.type=="checkbox"){if(form_object.checked)return new Array(form_object.value);else return null;}else if(form_object.value!=null)return new Array(form_object.value);else return null;}
var num_selected_values=0;var len=(form_object.options)?form_object.options.length:form_object.length;for(var i=0;i<len;i++){if(form_object.options){if(form_object.options[i].selected)num_selected_values++;}else{if(form_object[i].checked)num_selected_values++;}}
if(num_selected_values==0)return null;else{selected_values=new Array(num_selected_values);var tmpindex=0;for(var i=0;i<len;i++){if(form_object.options){if(form_object.options[i].selected)selected_values[tmpindex++]=form_object.options[i].value;}else{if(form_object[i].checked)selected_values[tmpindex++]=form_object[i].value;}}}
return selected_values;}
function aus_disable_children(parent_name){var child_name=aus_parent_child[parent_name];if(child_name==null){return;}
var len=child_name.length;var infinite_break=100;var i=0;for(var k=0;k<len;k++){var parent_values=get_object_values(parent_name);if(parent_values){for(var j=0;j<parent_values.length;j++){if((parent_values[j]!="")&&(parent_values[j]!=null)&&(parent_values[j].indexOf("-")<0))return;}}
aus_disable_child(child_name[k]);parent_name=child_name[k];i++;if(i>infinite_break)break;}
return;}
function aus_disable_children_conditionally(child_name){var infinite_break=100;var i=0;var disabled_children=0;while(child_name){if(disabled_children||aus_disabled_if_empty[child_name]||!aus_allow_other[child_name]){aus_disable_child(child_name);disabled_children=1;}
i++;if(i>infinite_break)break;}
return disabled_children;}
function aus_disable_child(child_name){var child_select=aus_get_form_object_from_name(child_name);if(!child_select)return;var disabled_label=aus_disabled_labels[child_name];if(child_select.size>1||(!document.getElementById||document.all))child_select.options.length=1;child_select.options[0]=new Option(disabled_label,"");child_select.options[0].selected=true;if(!aus_is_net60){child_select.disabled=true;child_select.className="fielddisabled";}
return;}
function aus_get_influencer_value_string(child_name){var inf_array=aus_influencers[child_name];if(!inf_array)return null;var influencer_values;if(inf_array.length){for(var i=0;i<inf_array.length;i++){var values=get_object_values(inf_array[i]);if(values)for(var i=0;i<values.length;i++)influencer_values=aus_add_influencer_value(influencer_values,values[i]);}}else{return null;}
return influencer_values;}
function aus_add_influencer_value(value_string,influencer_value){if(influencer_value){if(value_string)value_string=value_string+","+influencer_value;else{value_string=influencer_value;}}
return value_string;}
function aus_init_cascades(parent_name,is_sell){if(aus_is_opera)return;var values=get_object_values(parent_name);if(!values){aus_disable_children(parent_name);return;}
for(var i=0;i<values.length;i++){if((values[i]==null)||(values[i]=="")||(values[i].indexOf("-")>-1)){aus_disable_children(parent_name);}else{var child_name=aus_parent_child[parent_name];if(child_name){var child_select=aus_get_form_object_from_name(child_name);if(child_select==null)return;var child_selected_index=child_select.selectedIndex;aus_load_child(parent_name,child_name,is_sell);aus_init_cascades(child_name,is_sell);}}}}
function reset_select(form_element){for(var i=0;i<form_element.options.length;i++){var opt=form_element.options[i];if(opt.defaultSelected){form_element.selectedIndex=i;}}}
function reset_pf(){var the_form;if(document.product_finder)the_form=document.product_finder;else the_form=document.find;for(var i=0;i<the_form.elements.length;i++){var thetype=the_form.elements[i].type;if(thetype.indexOf("select")>=0){reset_select(the_form.elements[i]);}}}
function SetAttrValues(search_form){var pf=document.product_finder;var sf=eval("document."+search_form);if(pf.combinetmp){if(pf.combinetmp.checked){pf.combine.value="Y";pf.satitle.value=sf.query.value;if(sf.sotextsearched!=null){if(sf.sotextsearched.checked){pf.sotextsearched.value="2";}
else{pf.sotextsearched.value="";}}}
else{pf.combine.value="N";pf.satitle.value="";pf.sotextsearched.value="";}}}
// b=10633012 -->