/*!
Minify this before production and put the minified version in
production/SophioAjaxCatalog.min.js  !!!!
*/
if(typeof SophioAjaxCatalog==="undefined"){SophioAjaxCatalog={}}function confirmBrowseAway(){if(typeof SophioAjaxCatalog.preventPageLeave!=="undefined"&&SophioAjaxCatalog.preventPageLeave){return"At this point you are about to leave our catalog page.\nSelect Cancel if you would like to continue shopping!"}}if(typeof SophioAjaxCatalog.drillManager==="undefined"){SophioAjaxCatalog.drillManager=function(){return{drills:new Array(),lAutoLoadLastDrill:false,cCallback:"",currentCallId:"",lAutoLoadDrills:false,cDomain:"",supplier:"",lloadFirstDrill:true,addonVars:{ajax:"true",isajax:true},ohighlightMgr:new Object(),addDrill:function(oDrill){var nLastDrill=this.drills.length;this.drills.push(oDrill);if(nLastDrill>0){this.setNextDrill(this.drills[nLastDrill-1],oDrill)}else{oDrill.lCheckValue=false}},loadFirstDrill:function(isAutoLoad){isAutoLoad=isAutoLoad?isAutoLoad:false;if(this.lAutoLoadDrills){return true}jQuery.each(this.drills,function(){if(this.oAjaxData===""){this.isAutoLoad=isAutoLoad;this.loadData();return false}})},isComplete:function(){var isDrillComplete=true;jQuery.each(this.drills,function(){if(!this.isComplete()){alert(this.cSelectErrorMessage);isDrillComplete=false;return false}});return isDrillComplete},setCurrentCallId:function(cId){this.currentCallId=cId},getCurrentCallId:function(){return this.currentCallId},setNextDrill:function(oCurrentDrill,oNextDrill){oCurrentDrill.nextDrill=oNextDrill},setaddonVars:function(ovars){jQuery.extend(this.addonVars,ovars)},getaddonVars:function(){return this.addonVars},disableNextDrills:function(vCurrentDrill){try{if(typeof vCurrentDrill==="number"){var inArr=vCurrentDrill}else{var inArr=jQuery.inArray(vCurrentDrill,this.drills)}if(inArr>-1){jQuery.each(this.drills,function(n){if(n>inArr){this.disableDrill()}})}}catch(cerr){}},reloadDrill:function(nIndex){if(typeof nIndex==="number"){try{this.drills[nIndex].loadData()}catch(cerr){}}},getDrill:function(cDrillMode){var drill=false;jQuery.each(this.drills,function(){if(this.cDrillMode==cDrillMode){drill=this;return false}});return drill},setupDrills:function(cSelSize,isAutoLoad){var self=this;if(this.lAutoLoadDrills){var drillModes="";jQuery.each(this.drills,function(){this.cSaveAjaxTo=this.cSaveAjaxTo||this.cSelectIDprefix+this.cDrillMode;drillModes+=this.cSaveAjaxTo+"@"});try{jQuery.ajax({url:self.cDomain+"loadAjaxDrillsFromSession.epc?"+self.cCallback,data:{sup:self.supplier,drills:drillModes,ajax:"true",isajax:true},dataType:"json",cache:true,success:function(data,status){if(data==null||typeof data.success==="undefined"||!data.success){self.lAutoLoadDrills=false;self.setupDrills(cSelSize);return false}else{var nLastDrill=self.drills.length;jQuery.each(self.drills,function(nIndex){if(!self.lAutoLoadLastDrill){if(nIndex==nLastDrill-1){return false}}var oAjaxData=data.drills[this.cSaveAjaxTo];if(typeof oAjaxData==="object"){this.oAjaxData=oAjaxData}else{return false}});self.lAutoLoadDrills=false;self.setupDrills(cSelSize,true)}},error:function(XHR,textStatus,errorThrown){self.lAutoLoadDrills=false;self.setupDrills(cSelSize)}})}catch(cErr){self.lAutoLoadDrills=false;self.setupDrills(cSelSize)}}else{jQuery.each(this.drills,function(){this.setup(cSelSize,self)});if(this.lloadFirstDrill){this.loadFirstDrill(isAutoLoad)}}},setProperty:function(cProperty,cValue){jQuery.each(this.drills,function(){this[cProperty]=cValue})},getDrillText:function(nDrillIndex){var retVal="";try{retVal=this.drills[nDrillIndex].getText()}catch(oerr){}return retVal},getDrillsValues:function(vCurrentDrill){try{if(typeof vCurrentDrill==="number"){var inArr=vCurrentDrill}else{var inArr=jQuery.inArray(vCurrentDrill,this.drills)}var oDrillValues={};if(inArr>-1){jQuery.each(this.drills,function(n){if(n<inArr){jQuery.extend(oDrillValues,eval("({"+this.getValueNamePair()+"})"))}else{return false}})}return jQuery.extend(oDrillValues,this.addonVars)}catch(cerr){}}}}}if(typeof SophioAjaxCatalog.drillDefinitions==="undefined"){SophioAjaxCatalog.drillDefinitions={}}if(typeof SophioAjaxCatalog.drillDefinitions.drillMaster==="undefined"){SophioAjaxCatalog.drillDefinitions.drillMaster=function(){var drillMaster={cDrillMode:"MK",isEnabled:false,parentDIV:"",cSelectID:"",nextDrill:"",parentDIVprefix:"",cSelectIDprefix:"",cSelectErrorMessage:"Please select a value first!",cHoverClass:"ui-state-hover",cRestoreCaption:"",cLoadingMessage:"Loading",cBusyClass:"busy",cMarkup:"",cWebVarName:"",cValue:"",cDefaultValue:"",cText:"",cSize:"1",SelLength:0,lCheckValue:true,cURL:"ShopForOEParts.epc",cDrillType:"",oAjaxData:"",isAutoLoad:"",cCallback:"",drillManager:{},lDisableOnChange:true,currentCallId:"",timeOut:50000,oSelectBox:"",cSaveAjaxTo:"",getValueNamePair:function(){return this.cWebVarName+":'"+this.cValue+"'"},setCurrentCallId:function(cVal){if(typeof this.drillManager.setCurrentCallId==="undefined"){return false}this.currentCallId=this.cDrillMode+":"+String((new Date()).getTime()).replace(/\D/gi,"");this.drillManager.setCurrentCallId(this.currentCallId)},isCurrentCallValid:function(){if(typeof this.drillManager.getCurrentCallId==="undefined"){return true}return this.drillManager.getCurrentCallId()===this.currentCallId},beforeloadData:function(){return true},afterAutoloadData:function(){return true},getSelectedIndex:function(){return this.oSelectBox[0].selectedIndex},setSelectedIndex:function(selIndex){this.oSelectBox[0].selectedIndex=selIndex},disableDrill:function(){this.setValue("");this.setText("");try{jaaulde.utils.cookies.del(this.cSelectIDprefix+this.cDrillMode)}catch(oerr){}if(typeof this.oSelectBox!=="object"){return true}var oDrill=this.oSelectBox.attr("disabled",true).removeOption(/^/).addOption(this.cDefaultValue,this.cRestoreCaption).blur().find("option:selected");if(oDrill.length>0){oDrill.removeAttr("selected")}},loadData:function(oCaller,oPrevDrill){this.beforeloadData();var self=this;var oWebVars={ajax:"true",isajax:"true",nooutput:"true",saveajax:"true",saveajaxto:this.cSaveAjaxTo};jQuery.extend(oWebVars,eval("({mode:'"+this.cDrillMode+"'})"),self.drillManager.getDrillsValues(self));this.oSelectBox.removeOption(/^/).addClass(this.cBusyClass).addOption("",this.cLoadingMessage);this.setCurrentCallId();jQuery.ajax({url:this.cURL+this.cCallback,data:oWebVars,dataType:"json",timeout:this.timeOut,cacheResponse:true,cache:true,success:function(data,status){if(typeof oCaller!=="undefined"){oCaller.attr("disabled",false).removeClass(self.cHoverClass)}self.oSelectBox.removeOption(/^/);if(self.isCurrentCallValid()){self.oSelectBox.addOption(self.cDefaultValue,self.cRestoreCaption);if(data==null||typeof data.success!=="undefined"&&!data.success){self.oSelectBox.attr("disabled",true).removeClass("busy");return false}self.oSelectBox.addOption(data,false);self.oAjaxData=data}self.enableMe(self.oSelectBox)},error:function(XHR,textStatus,errorThrown){self.oSelectBox.removeClass("busy").addOption(self.cDefaultValue,self.cRestoreCaption);if(typeof oCaller!=="undefined"){oCaller.attr("disabled",false).removeClass(self.cHoverClass);if(self.cSize!=="1"){oCaller[0].selectedIndex=0}}if(self.cSize=="1"){self.enableMe(self.oSelectBox)}else{self.showError("There was an error getting data from our server.Please try again!",oCaller)}}})},highlight:function(cType,obj){if(cType=="add"){this.oSelectBox.addClass(this.cHoverClass);if(typeof this.drillManager.ohighlightMgr!=="undefined"){jQuery(this.drillManager.ohighlightMgr).trigger("highlight",[this.cDrillType])}}else{this.oSelectBox.removeClass(this.cHoverClass)}},setup:function(cSelSize,drillManager){var self=this;this.cSize=(cSelSize?cSelSize:"1");this.drillManager=drillManager;this.cSaveAjaxTo=this.cSaveAjaxTo||this.cSelectIDprefix+this.cDrillMode;if(this.cMarkup==""){this.cMarkup='<select name="'+this.cWebVarName+'" id="'+this.cSelectIDprefix+this.cSelectID+'" class="selectlookup" size="'+this.cSize+'"><option value="'+this.cDefaultValue+'">'+this.cRestoreCaption+"</option></select>"}this.oSelectBox=jQuery(this.cMarkup).attr("disabled",true).appendTo("#"+self.parentDIVprefix+self.parentDIV);if(typeof jaaulde!=="undefined"){try{var cCookieData=jaaulde.utils.cookies.get(this.cSelectIDprefix+this.cDrillMode);if(cCookieData){var selIndex=parseInt(cCookieData,10);if(typeof self.oAjaxData=="object"&&selIndex>0){self.oSelectBox.removeOption(/^/).addOption(self.cDefaultValue,self.cRestoreCaption).addOption(self.oAjaxData,false);self.beforeloadData();self.oSelectBox.attr("disabled",false).removeClass("busy");this.SelLength=self.oAjaxData.length+1;self.setSelectedIndex(selIndex);self.setValue(self.oSelectBox.find(":selected").val());self.setText(self.oSelectBox.find(":selected").text());self.afterAutoloadData(self)}else{self.oAjaxData=""}}else{self.oAjaxData=""}}catch(oerr){self.oAjaxData=""}}this.oSelectBox.bind(jQuery.browser.msie?"focusin":"focus",function(){self.highlight("add",this);return true}).bind(jQuery.browser.msie?"focusout":"blur",function(){self.highlight("remove",this);return true}).bind(self.cSize=="1"?"change":"click",function(){self.onChangeAction(this)});if(self.cSize=="1"){this.oSelectBox.bind("mousedown",function(){self.onMouseDownAction(this)})}},onMouseDownAction:function(oSelBox){if(this.cSize=="1"&&this.SelLength<2){this.oSelectBox.blur();this.loadData();return false}},onChangeAction:function(oSelBox){if(this.lCheckValue&&oSelBox.value===""){oSelBox.focus();return true}if(typeof jaaulde!=="undefined"){jaaulde.utils.cookies.set(this.cSelectIDprefix+this.cDrillMode,oSelBox.selectedIndex)}if(this.lDisableOnChange){this.oSelectBox.attr("disabled",true)}this.setValue(oSelBox.value);this.setText(oSelBox.options[oSelBox.selectedIndex].text);this.drillManager.disableNextDrills(this);if(typeof this.nextDrill==="object"&&typeof this.nextDrill.loadData==="function"){this.nextDrill.loadData(this.oSelectBox,this)}oSelBox.blur()},showError:function(cErrorMsg,oCaller){if(jQuery("#SophioErrorDialog").length==0){jQuery('<div id="SophioErrorDialog" title="Sorry...">					   <div style="padding:0.7em; font-size:14px;" class="ui-state-error ui-corner-all">					   <span><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"/>					   <span class="errorMessage">Currently we do not have parts for the vehicle/product selected!</span></span></div></div>').dialog({bgiframe:true,modal:true,autoOpen:false,draggable:false,resizable:false,buttons:{Ok:function(){jQuery(this).dialog("close");if(typeof oCaller!=="undefined"){oCaller[0].focus()}}}})}if(typeof cErrorMsg!=="undefined"&&cErrorMsg!==""){jQuery("#SophioErrorDialog span.errorMessage").html(cErrorMsg)}jQuery("#SophioErrorDialog").dialog("open");return false},enableMe:function(oSelect){try{if(!this.isCurrentCallValid()){oSelect.attr("disabled",true).removeClass("busy").removeOption(/^/).addOption(this.cDefaultValue,this.cRestoreCaption);this.SelLength=0;return false}try{this.SelLength=oSelect[0].length}catch(cerr){this.SelLength=document.getElementById(oSelect.attr("id")).options.length}oSelect.attr("disabled",false).removeClass("busy").focus();if(this.SelLength==1){return false}if(this.SelLength==2){if(this.isAutoLoad){this.isAutoLoad=false}else{oSelect.val(oSelect.find("option:last").val());this.onChangeAction(oSelect[0])}}}catch(cerr){}},selectOption:function(cValue){this.oSelectBox.selectOptions(cValue,true)},addOptionFromValue:function(){this.oSelectBox.addOption(this.getValue(),this.getText())},setText:function(cVal){this.cText=cVal},getText:function(){return this.cText},setValue:function(cVal){this.cValue=cVal},getValue:function(){return this.cValue},isComplete:function(){return this.cValue!==""}};return drillMaster}}if(typeof SophioAjaxCatalog.drillDefinitions.drillMake==="undefined"){SophioAjaxCatalog.drillDefinitions.drillMake=function(cSupplier){var drillMake=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillMake.cDrillMode="MK";drillMake.isEnabled=false;drillMake.parentDIV="make_lookup";drillMake.cSelectID="selMakeLookup";drillMake.cSelectErrorMessage="Please select a Make First!";drillMake.cRestoreCaption="Make(s)";drillMake.cLoadingMessage="Loading Makes";drillMake.cWebVarName="makeid";drillMake.cDrillType="Vehicle";return drillMake}}if(typeof SophioAjaxCatalog.drillDefinitions.drillYear==="undefined"){SophioAjaxCatalog.drillDefinitions.drillYear=function(cSupplier){var drillYear=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillYear.cDrillMode="YR";drillYear.isEnabled=false;drillYear.parentDIV="year_lookup";drillYear.cSelectID="selYearLookup";drillYear.cSelectErrorMessage="Please select a Year First!";drillYear.cRestoreCaption="Year(s)";drillYear.cLoadingMessage="Loading Years";drillYear.cWebVarName="yearid";drillYear.cDrillType="Vehicle";return drillYear}}if(typeof SophioAjaxCatalog.drillDefinitions.drillModel==="undefined"){SophioAjaxCatalog.drillDefinitions.drillModel=function(cSupplier){var drillModel=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillModel.cDrillMode=(cSupplier&&cSupplier==="imc")?"MG":"MD";drillModel.isEnabled=false;drillModel.parentDIV="model_lookup";drillModel.cSelectID="selModelLookup";drillModel.cSelectErrorMessage="Please select a Model First!";drillModel.cRestoreCaption="Model(s)";drillModel.cLoadingMessage="Loading Models";drillModel.cWebVarName="modelid";drillModel.cDrillType="Vehicle";return drillModel}}if(typeof SophioAjaxCatalog.drillDefinitions.drillTrim==="undefined"){SophioAjaxCatalog.drillDefinitions.drillTrim=function(cSupplier){var drillTrim=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillTrim.cDrillMode="TL";drillTrim.isEnabled=false;drillTrim.parentDIV="submodel_lookup";drillTrim.cSelectID="selSubmodelLookup";drillTrim.cSelectErrorMessage="Please select a Trim First!";drillTrim.cRestoreCaption="Trim(s)";drillTrim.cLoadingMessage="Loading Trims";drillTrim.cWebVarName="submodelid";drillTrim.cDrillType="Vehicle";return drillTrim}}if(typeof SophioAjaxCatalog.drillDefinitions.drillEngine==="undefined"){SophioAjaxCatalog.drillDefinitions.drillEngine=function(cSupplier){var drillEngine=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillEngine.cDrillMode="EG";drillEngine.isEnabled=false;drillEngine.parentDIV="engine_lookup";drillEngine.cSelectID="selEngineLookup";drillEngine.cSelectErrorMessage="Please select an Engine First!";drillEngine.cRestoreCaption="Engine(s)";drillEngine.cLoadingMessage="Loading Engines";drillEngine.cWebVarName="engineid";drillEngine.cDrillType="Vehicle";return drillEngine}}if(typeof SophioAjaxCatalog.drillDefinitions.drillSection==="undefined"){SophioAjaxCatalog.drillDefinitions.drillSection=function(cSupplier){var drillSection=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillSection.cDrillMode="SC";drillSection.isEnabled=false;drillSection.parentDIV="section_lookup";drillSection.cSelectID="selSectionLookup";drillSection.cSelectErrorMessage="Please select a Vehicle First!";drillSection.cRestoreCaption="Section(s)";drillSection.cLoadingMessage="Loading Sections";drillSection.cWebVarName="sectionid";drillSection.cDrillType="Product";return drillSection}}if(typeof SophioAjaxCatalog.drillDefinitions.drillGroup==="undefined"){SophioAjaxCatalog.drillDefinitions.drillGroup=function(cSupplier){var drillGroup=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillGroup.cDrillMode=(cSupplier&&cSupplier==="imc")?"PJ":"PG";drillGroup.isEnabled=false;drillGroup.parentDIV="group_lookup";drillGroup.cSelectID="selGroupLookup";drillGroup.cSelectErrorMessage="Please select a Section First!";drillGroup.cRestoreCaption="Group(s)";drillGroup.cLoadingMessage="Loading Groups";drillGroup.cWebVarName="catid";drillGroup.cDrillType="Product";return drillGroup}}if(typeof SophioAjaxCatalog.drillDefinitions.drillSubgroup==="undefined"){SophioAjaxCatalog.drillDefinitions.drillSubgroup=function(){var drillSubgroup=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillSubgroup.cDrillMode="PS";drillSubgroup.isEnabled=false;drillSubgroup.parentDIV="subgroup_lookup";drillSubgroup.cSelectID="selSubgroupLookup";drillSubgroup.cSelectErrorMessage="Please select a Product Group First!";drillSubgroup.cRestoreCaption="Subgroup(s)";drillSubgroup.cLoadingMessage="Loading Subroups";drillSubgroup.cWebVarName="subcatid";drillSubgroup.cDrillType="Product";return drillSubgroup}}if(typeof SophioAjaxCatalog.drillDefinitions.drillComponent==="undefined"){SophioAjaxCatalog.drillDefinitions.drillComponent=function(){var drillComponent=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillComponent.cDrillMode="CP";drillComponent.isEnabled=false;drillComponent.parentDIV="component_lookup";drillComponent.cSelectID="selComponentLookup";drillComponent.cSelectErrorMessage="Please select a Product Subgroup First!";drillComponent.cRestoreCaption="Component(s)";drillComponent.cLoadingMessage="Loading Components";drillComponent.cWebVarName="compid";drillComponent.cDrillType="Product";return drillComponent}}if(typeof SophioAjaxCatalog.drillDefinitions.drillQualifier==="undefined"){SophioAjaxCatalog.drillDefinitions.drillQualifier=function(){var drillQualifier=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillQualifier.cDrillMode="VI";drillQualifier.isEnabled=false;drillQualifier.parentDIV="qualifier_lookup";drillQualifier.cSelectID="selQualifierLookup";drillQualifier.cSelectErrorMessage="Please select a Product Component First!";drillQualifier.cRestoreCaption="Qualifier(s)";drillQualifier.cLoadingMessage="Loading Qualifiers";drillQualifier.cWebVarName="qualifierid";drillQualifier.cDrillType="Product";return drillQualifier}}if(typeof SophioAjaxCatalog.drillDefinitions.drillCatalog==="undefined"){SophioAjaxCatalog.drillDefinitions.drillCatalog=function(){var drillCatalog=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillCatalog.cDrillMode="CT";drillCatalog.isEnabled=false;drillCatalog.parentDIV="catalog_lookup";drillCatalog.cSelectID="selCatalogSelector";drillCatalog.cSelectErrorMessage="Please select a Catalog First!";drillCatalog.cRestoreCaption="Catalog(s)";drillCatalog.cLoadingMessage="Loading Catalog Types";drillCatalog.cWebVarName="catalog";drillCatalog.cDrillType="Catalog";return drillCatalog}}if(typeof SophioAjaxCatalog.drillDefinitions.drillPart==="undefined"){SophioAjaxCatalog.drillDefinitions.drillPart=function(){var drillPart=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillPart.cDrillMode="PA";drillPart.isEnabled=false;drillPart.lCheckValue=false;drillPart.cDrillType="Part";return drillPart}}if(typeof SophioAjaxCatalog.drillDefinitions.drillCatSelector==="undefined"){SophioAjaxCatalog.drillDefinitions.drillCatSelector=function(){var drillCatSelector=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillCatSelector.cDrillMode="CA";drillCatSelector.isEnabled=false;drillCatSelector.parentDIV="catalog_lookup";drillCatSelector.cSelectID="selCatalogSelector";drillCatSelector.cSelectErrorMessage="Please select a Catalog First!";drillCatSelector.cRestoreCaption="Catalog(s)";drillCatSelector.cLoadingMessage="Loading Catalog Types";drillCatSelector.cWebVarName="catalog";drillCatSelector.cDrillType="Catalog";drillCatSelector.lDisableOnChange=false;drillCatSelector.setup=function(cSelSize,drillManager){var self=this;this.cSize=(cSelSize?cSelSize:"1");this.drillManager=drillManager;if(this.cMarkup==""){this.cMarkup='<select name="'+this.cWebVarName+'" id="'+this.cSelectID+'" class="selectlookup" size="'+this.cSize+'"></select>'}this.oSelectBox=jQuery(this.cMarkup).appendTo("#"+self.parentDIV).addOption({OEM:"Mechanical Parts",OEL:"Body Parts"}).val("OEM");if(typeof jaaulde!=="undefined"){try{var cCookieData=jaaulde.utils.cookies.get(this.cSelectIDprefix+this.cDrillMode);cCookieData=(cCookieData?cCookieData:"0");var selIndex=parseInt(cCookieData,10);self.setSelectedIndex(selIndex);self.setValue(self.oSelectBox.find(":selected").val());self.setText(self.oSelectBox.find(":selected").text());this.drillManager.setaddonVars(eval("({"+self.getValueNamePair()+"})"))}catch(oerr){}}this.oSelectBox.change(function(){if(typeof jaaulde!=="undefined"){jaaulde.utils.cookies.set(self.cSelectIDprefix+self.cDrillMode,self.getSelectedIndex())}self.setValue(self.oSelectBox.find(":selected").val());self.setText(self.oSelectBox.find(":selected").text());jQuery(self).trigger("catalogchanged",[eval("({"+self.getValueNamePair()+"})")]);this.blur();return true}).selectmenu({width:300,style:"dropdown"});if(!this.drillManager.lAutoLoadDrills){this.oSelectBox.change()}};return drillCatSelector}}if(typeof SophioAjaxCatalog.drillDefinitions.drillBrand==="undefined"){SophioAjaxCatalog.drillDefinitions.drillBrand=function(){var drillBrand=new SophioAjaxCatalog.drillDefinitions.drillMaster();drillBrand.cDrillMode="BD";drillBrand.isEnabled=false;drillBrand.parentDIV="brand_lookup";drillBrand.cSelectID="selBrandLookup";drillBrand.cSelectErrorMessage="Please select a Category First!";drillBrand.cRestoreCaption="Brand(s)";drillBrand.cLoadingMessage="Loading Brands";drillBrand.cWebVarName="brandid";drillBrand.cDrillType="Product";return drillBrand}}if(typeof SophioAjaxCatalog.drillDefinitions.drillSubsubgroup==="undefined"){SophioAjaxCatalog.drillDefinitions.drillSubsubgroup=function(nDepth){var drillSubgroup=new SophioAjaxCatalog.drillDefinitions.drillMaster();if(typeof nDepth==="undefined"){nDepth=""}drillSubgroup.cDrillMode="PSS";drillSubgroup.isEnabled=false;drillSubgroup.parentDIV="subsubgroup"+nDepth+"_lookup";drillSubgroup.cSelectID="selSubsubgroup"+nDepth+"Lookup";drillSubgroup.cSelectErrorMessage="Please select a Parent Product Group First!";drillSubgroup.cRestoreCaption="Sub Subgroup(s)";drillSubgroup.cLoadingMessage="Loading Sub Subgroups";drillSubgroup.cWebVarName="ssubcatid";drillSubgroup.cDrillType="Product";drillSubgroup.beforeloadData=function(){this.drillManager.setaddonVars({catdepth:nDepth})};return drillSubgroup}};
