function defineHeader(params){if(params.item&&params.header)$("#"+params.item).data('header',{id:params.header})}var myImgUp,myImgUpMO,myImgDown,myImgDownMO;function divIndicatorImages(params){myImgUp=((params.normal)?params.normal:"undefined");myImgUpMO=((params.normalMouseOver)?params.normalMouseOver:(myImgUp)?myImgUp:"undefined");myImgDown=((params.selected)?params.selected:(myImgUpMO)?myImgUpMO:"undefined");myImgDownMO=((params.selectedMouseOver)?params.selectedMouseOver:(myImgDown)?myImgDown:"undefined")}function divIndicatorSingle(params){if(params.normal)$("#"+params.item).data('swapImgUp',params.normal);if(params.normalMouseOver)$("#"+params.item).data('swapImgUpMO',params.normalMouseOver);if(params.selected)$("#"+params.item).data('swapImgDown',params.selected);if(params.selectedMouseOver)$("#"+params.item).data('swapImgDownMO',params.selectedMouseOver)}var myNormalState,myMouseOverState,mySelectedState;function divHeaderStates(params){myNormalState=((params.normal)?params.normal:"undefined");myMouseOverState=((params.mouseOver)?params.mouseOver:"undefined");mySelectedState=((params.selected)?params.selected:"undefined")}function divAjaxCall(params){if(params.item&&params.call){$("#"+params.item).data('ajaxCall',params.call);$("#"+params.item).data('ajaxPreloader',params.preloader?params.preloader:0)}}function newDivGroup(prefix,type,vertical_horizontal_menu,enlarge,effect,duration,minTrans,maxTrans,transOrder,selectedDiv,eventTrigger,clickableHeader,normalState,mouseOverState,selectedState,containerWidth,containerHeight){var typeCodes=['header-single','header-group','header-dual','header-dual-container','header-dual-closecontainer','header-group-container','tab-group','tab-dual','tab-group-container','tab-dual-container','tab-dual-closecontainer'];var vhmCodes=['vertical','horizontal','horiz-menu'];var widenCodes=[true,false];var effectCodes=[['height'],['width'],['opacity'],['height','width'],['height','opacity'],['width','opacity'],['height','width','opacity']];var transCodes=['none','jswing','easeInQuad','easeOutQuad','easeInOutQuad','easeInCubic','easeOutCubic','easeInOutCubic','easeInQuart','easeOutQuart','easeInOutQuart','easeInQuint','easeOutQuint','easeInOutQuint','easeInSine','easeOutSine','easeInOutSine','easeInExpo','easeOutExpo','easeInOutExpo','easeInCirc','easeOutCirc','easeInOutCirc','easeInElastic','easeOutElastic','easeInOutElastic','easeInBack','easeOutBack','easeInOutBack','easeInBounce','easeOutBounce','easeInOutBounce'];var transOrderCodes=['close','open','both'];var clickableHeaderCodes=[true,false];var eventTriggerCodes=['click','mouseover'];var myType=typeCodes[(type)?type:2];var myVhm=vhmCodes[(vertical_horizontal_menu)?vertical_horizontal_menu:0];var myWiden=widenCodes[(enlarge)?enlarge:0];var myEffect=effectCodes[(effect)?effect:2];var myMinTrans=transCodes[(minTrans)?minTrans:0];var myMaxTrans=transCodes[(maxTrans)?maxTrans:0];var myTransOrder=transOrderCodes[(transOrder)?transOrder:2];var myClickableHeader=clickableHeaderCodes[(clickableHeader)?clickableHeader:0];var myEventTrigger=eventTriggerCodes[(eventTrigger)?eventTrigger:0];return createDivGroup({prefix:prefix,type:myType,vhm:myVhm,widen:myWiden,effect:myEffect,duration:duration,minTrans:myMinTrans,maxTrans:myMaxTrans,transOrder:myTransOrder,selectedDiv:selectedDiv,eventTrigger:myEventTrigger,clickableHeader:myClickableHeader,containerWidth:containerWidth,containerHeight:containerHeight,normalState:normalState,mouseOverState:mouseOverState,selectedState:selectedState})}var dualFlag=0;function createDivGroup(params){var myDivs={prefix:((params.prefix)?params.prefix:''),myElements:[],groupType:((params.type)?params.type:"dual"),addDiv:addDivToGroup,effect:((params.effect)?params.effect:['opacity']),duration:((params.duration)?params.duration:1),delay:((params.delay)?params.delay:0),minTrans:((params.minTrans)?params.minTrans:"linear"),maxTrans:((params.maxTrans)?params.maxTrans:"linear"),transOrder:((params.transOrder)?params.transOrder:"both"),selectedDiv:((params.selectedDiv)?params.selectedDiv:'noDivSelection'),eventTrigger:((params.eventTrigger)?params.eventTrigger:'click'),clickableHeader:((params.clickableHeader)?params.clickableHeader:true),imgUp:((myImgUp!='undefined')?myImgUp:'noImg'),imgUpMO:((myImgUpMO!='undefined')?myImgUpMO:'noImg'),imgDown:((myImgDown!='undefined')?myImgDown:'noImg'),imgDownMO:((myImgDownMO!='undefined')?myImgDownMO:'noImg'),containerHeight:((params.containerHeight)?params.containerHeight:0),containerWidth:((params.containerWidth)?params.containerWidth:0),normalState:((myNormalState!='undefined')?myNormalState:'notDefined'),mouseOverState:((myMouseOverState!='undefined')?myMouseOverState:'notDefined'),selectedState:((mySelectedState!='undefined')?mySelectedState:'notDefined'),floatLeft:((params.floatLeft)?'float: left;':''),vhm:((params.vhm)?params.vhm:'vertical'),widen:((params.widen)?params.widen:false)};var els=$("*[class*='divToggle'][id^='"+myDivs.prefix+"']");if(myDivs.groupType.indexOf("container")>-1){document.write("<div id='myToggleDivContainer_"+myDivs.prefix+"' style='"+myDivs.floatLeft+" overflow: hidden; z-index: 1; position: relative;'>&nbsp;</div>");myDivs.container=$('#myToggleDivContainer_'+myDivs.prefix);myDivs.container.maxDimens=new Array();myDivs.container.minDimens=new Array();myDivs.container.maxDimens['height']=myDivs.containerHeight;myDivs.container.maxDimens['width']=myDivs.containerWidth;myDivs.container.maxDimens['opacity']=1;myDivs.container.allDivs=myDivs;myDivs.container.divItem=myDivs.container;myDivs.container.isClosed=false;myDivs.container.insertBefore(els[0])}if(myDivs.selectedDiv=='noDivSelection')myDivs.openDiv='undefined';for(var i=0;i<els.length;i++){myDivs.addDiv(els[i].id)}if(myDivs.groupType.indexOf("dual-container")>-1){$("#myToggleDivContainer_"+myDivs.prefix).bind('mouseleave',function(e){if(myDivs.openDiv!='undefined'){var tmpDiv=myDivs.openDiv;dualFlag=1;myDivs.openDiv.myHead.trigger(myDivs.eventTrigger);tmpDiv.myHead.attr('style',myDivs.normalState);divsToggleImg(tmpDiv,0)}})}if(myDivs.groupType.indexOf("container")>-1){if(myDivs.containerHeight&&myDivs.containerWidth){myDivs.container.maxDimens['height']=myDivs.containerHeight;myDivs.container.maxDimens['width']=myDivs.containerWidth}else{if(myDivs.groupType.indexOf("tab")>-1){}else{myDivs.container.headerHeight=0;myDivs.container.headerWidth=0;if(myDivs.vhm=='vertical'){$.each(els,function(i,prop){var headerWidthExtra=0,headerHeightExtra=0;headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginLeft')));headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginRight')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginTop')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginBottom')));headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingLeft')));headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingRight')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingTop')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingBottom')));myDivs.container.headerHeight+=myDivs.myElements[i].myHead.outerHeight(true)+headerHeightExtra;myDivs.container.headerWidth=myDivs.myElements[i].myHead.outerWidth(true)+headerWidthExtra});myDivs.container.maxDimens['height']+=myDivs.container.headerHeight;myDivs.container.minDimens['height']=myDivs.container.headerHeight;myDivs.container.maxDimens['width']=myDivs.container.headerWidth;myDivs.container.minDimens['width']=myDivs.container.headerWidth}else if(myDivs.vhm=='horizontal'){$.each(els,function(i,prop){var headerWidthExtra=0,headerHeightExtra=0;headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginLeft')));headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginRight')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginTop')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginBottom')));headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingLeft')));headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingRight')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingTop')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingBottom')));myDivs.container.headerHeight=myDivs.myElements[i].myHead.outerHeight(true)+headerHeightExtra;myDivs.container.headerWidth+=myDivs.myElements[i].myHead.outerWidth(true)+headerWidthExtra});myDivs.container.maxDimens['height']=myDivs.container.headerHeight;myDivs.container.minDimens['height']=myDivs.container.headerHeight;myDivs.container.maxDimens['width']+=myDivs.container.headerWidth;myDivs.container.minDimens['width']=myDivs.container.headerWidth}else if(myDivs.vhm=='horiz-menu'){$.each(els,function(i,prop){var headerWidthExtra=0,headerHeightExtra=0;headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginLeft')));headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginRight')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginTop')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('marginBottom')));headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingLeft')));headerWidthExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingRight')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingTop')));headerHeightExtra+=parseInt(stripAlphaChars(myDivs.myElements[i].css('paddingBottom')));myDivs.container.headerHeight=(myDivs.myElements[i].myHead.outerHeight(true)+((!headerHeightExtra)?0:headerHeightExtra));myDivs.container.headerWidth+=(myDivs.myElements[i].myHead.outerWidth(true)+((!headerWidthExtra)?0:headerWidthExtra))});myDivs.container.maxDimens['height']=myDivs.container.headerHeight;myDivs.container.minDimens['height']=myDivs.container.headerHeight;myDivs.container.maxDimens['width']=myDivs.container.headerWidth;myDivs.container.minDimens['width']=myDivs.container.headerWidth}}}if(myDivs.groupType.indexOf("tab")>-1)myDivs.container.insertAfter(myDivs.myElements[i-1]);if((myDivs.selectedDiv!='noDivSelection')||(myDivs.groupType.indexOf("close")==-1)){myDivs.container.css('height',myDivs.container.maxDimens['height']);myDivs.container.css('width',myDivs.container.maxDimens['width'])}else if(myDivs.groupType.indexOf("close")>-1){myDivs.container.css('height',myDivs.container.minDimens['height']);myDivs.container.css('width',myDivs.container.minDimens['width'])}}return myDivs}var tmpForSTO=0;var tmpItemForSTO='null';var lwtmpi=document.location;var mpa=lwtmpi.protocol+"//"+lwtmpi.host;var lwtmpi=lwtmpi.protocol+"//"+lwtmpi.host+lwtmpi.pathname;while(lwtmpi.search(/\\/)>-1)lwtmpi=lwtmpi.replace("\\","/");lwtmpi=lwtmpi.substring(0,lwtmpi.lastIndexOf("/")+1);function addDivToGroup(id){if(!arrayContains(this.myElements,id)){var i=this.myElements.length;this.myElements[i]=$("#"+id);if(i>0&&this.container)this.myElements[i].insertAfter(this.myElements[i-1]);this.myElements[i].allDivs=this;this.myElements[i].myBody=$("#"+id+" > .divBody");this.myElements[i].myBody.divItem=this.myElements[i];this.myElements[i].myBody.allDivs=this;this.myElements[i].myBody.toggleMe=internalToggleDiv;this.myElements[i].myBody.css("overflow","hidden");this.myElements[i].myBody.maxDimens=new Array();this.myElements[i].myBody.minDimens=new Array();if(!this.containerHeight){if(this.myElements[i].myBody.attr('height')&&this.myElements[i].myBody.attr('height')!='auto')this.myElements[i].myBody.maxDimens['height']=this.myElements[i].myBody.attr('height');else this.myElements[i].myBody.maxDimens['height']=this.myElements[i].myBody.height()}else this.myElements[i].myBody.maxDimens['height']=this.containerHeight;if(!this.containerWidth){if(this.myElements[i].myBody.attr('width')&&this.myElements[i].myBody.attr('width')!='auto')this.myElements[i].myBody.maxDimens['width']=this.myElements[i].myBody.attr('width');else this.myElements[i].myBody.maxDimens['width']=this.myElements[i].myBody.width()}else this.myElements[i].myBody.maxDimens['width']=this.containerWidth;this.myElements[i].myBody.maxDimens['borderBottomWidth']=(this.myElements[i].myBody.css('borderBottomWidth')=='medium')?'0px':this.myElements[i].myBody.css('borderBottomWidth');this.myElements[i].myBody.maxDimens['borderTopWidth']=(this.myElements[i].myBody.css('borderTopWidth')=='medium')?'0px':this.myElements[i].myBody.css('borderTopWidth');this.myElements[i].myBody.maxDimens['borderLeftWidth']=(this.myElements[i].myBody.css('borderLeftWidth')=='medium')?'0px':this.myElements[i].myBody.css('borderLeftWidth');this.myElements[i].myBody.maxDimens['borderRightWidth']=(this.myElements[i].myBody.css('borderRightWidth')=='medium')?'0px':this.myElements[i].myBody.css('borderRightWidth');this.myElements[i].myBody.maxDimens['paddingBottom']=(this.myElements[i].myBody.css('paddingBottom')=='auto')?'0px':this.myElements[i].myBody.css('paddingBottom');this.myElements[i].myBody.maxDimens['paddingTop']=(this.myElements[i].myBody.css('paddingTop')=='auto')?'0px':this.myElements[i].myBody.css('paddingTop');this.myElements[i].myBody.maxDimens['paddingLeft']=(this.myElements[i].myBody.css('paddingLeft')=='auto')?'0px':this.myElements[i].myBody.css('paddingLeft');this.myElements[i].myBody.maxDimens['paddingRight']=(this.myElements[i].myBody.css('paddingRight')=='auto')?'0px':this.myElements[i].myBody.css('paddingRight');this.myElements[i].myBody.maxDimens['marginBottom']=(this.myElements[i].myBody.css('marginBottom')=='auto')?'0px':this.myElements[i].myBody.css('marginBottom');this.myElements[i].myBody.maxDimens['marginTop']=(this.myElements[i].myBody.css('marginTop')=='auto')?'0px':this.myElements[i].myBody.css('marginTop');this.myElements[i].myBody.maxDimens['marginLeft']=(this.myElements[i].myBody.css('marginLeft')=='auto')?'0px':this.myElements[i].myBody.css('marginLeft');this.myElements[i].myBody.maxDimens['marginRight']=(this.myElements[i].myBody.css('marginRight')=='auto')?'0px':this.myElements[i].myBody.css('marginRight');this.myElements[i].myBody.maxDimens['opacity']=$(this.myElements[i].myBody).css("opacity");if(this.groupType.indexOf("container")>-1){if(this.groupType.indexOf("header")>-1){if(!this.container.children().html()){this.container.html(this.myElements[i])}else{this.myElements[i].appendTo(this.container)}}if(!this.containerHeight){if(this.container.maxDimens['height']<this.myElements[i].myBody.outerHeight({margin:true})){this.container.maxDimens['height']=this.myElements[i].myBody.outerHeight({margin:true});if(this.openDiv&&(this.openDiv!='undefined')&&this.widen){this.openDiv.myBody.css("height",this.myElements[i].myBody.maxDimens['height']);this.openDiv.myBody.css("borderBottomWidth",this.myElements[i].myBody.maxDimens['borderBottomWidth']);this.openDiv.myBody.css("borderTopWidth",this.myElements[i].myBody.maxDimens['borderTopWidth']);this.openDiv.myBody.css("paddingBottom",this.myElements[i].myBody.maxDimens['paddingBottom']);this.openDiv.myBody.css("paddingTop",this.myElements[i].myBody.maxDimens['paddingTop']);this.openDiv.myBody.css("marginBottom",this.myElements[i].myBody.maxDimens['marginBottom']);this.openDiv.myBody.css("marginTop",this.myElements[i].myBody.maxDimens['marginTop'])}}}else{if(this.myElements[i].myBody.outerHeight({margin:true})>this.containerHeight){this.myElements[i].myBody.css('overflow','auto')}}if(!this.containerWidth){if(this.container.maxDimens['width']<this.myElements[i].myBody.outerWidth({margin:true})){this.container.maxDimens['width']=this.myElements[i].myBody.outerWidth({margin:true});if(this.openDiv&&(this.openDiv!='undefined')&&this.widen){this.openDiv.myBody.css("width",this.myElements[i].myBody.maxDimens['width']);this.openDiv.myBody.css("borderBottomWidth",this.myElements[i].myBody.maxDimens['borderBottomWidth']);this.openDiv.myBody.css("borderTopWidth",this.myElements[i].myBody.maxDimens['borderTopWidth']);this.openDiv.myBody.css("paddingBottom",this.myElements[i].myBody.maxDimens['paddingBottom']);this.openDiv.myBody.css("paddingTop",this.myElements[i].myBody.maxDimens['paddingTop']);this.openDiv.myBody.css("marginBottom",this.myElements[i].myBody.maxDimens['marginBottom']);this.openDiv.myBody.css("marginTop",this.myElements[i].myBody.maxDimens['marginTop'])}}}else{if(this.myElements[i].myBody.outerWidth({margin:true})>this.containerWidth){this.myElements[i].myBody.css('overflow','auto')}}if(this.widen){for(k=0;k<=i;k++){if(this.myElements[k].myBody.maxDimens['height']<this.myElements[i].myBody.maxDimens['height']){this.myElements[k].myBody.maxDimens['height']=this.myElements[i].myBody.maxDimens['height'];if((this.selectedDiv!='noDivSelection')&&(this.myElements[i].attr('id')==this.selectedDiv))this.myElements[k].myBody.css('height',this.myElements[i].myBody.maxDimens['height'])}else{this.myElements[i].myBody.maxDimens['height']=this.myElements[k].myBody.maxDimens['height'];if((this.selectedDiv!='noDivSelection')&&(this.myElements[i].attr('id')==this.selectedDiv))this.myElements[i].myBody.css('height',this.myElements[k].myBody.maxDimens['height'])}if(this.myElements[k].myBody.maxDimens['width']<this.myElements[i].myBody.maxDimens['width']){this.myElements[k].myBody.maxDimens['width']=this.myElements[i].myBody.maxDimens['width'];if((this.selectedDiv=='noDivSelection')&&(this.myElements[i].attr('id')==this.selectedDiv))this.myElements[k].myBody.css('width',this.myElements[i].myBody.maxDimens['width'])}else{this.myElements[i].myBody.maxDimens['width']=this.myElements[k].myBody.maxDimens['width'];if((this.selectedDiv!='noDivSelection')&&(this.myElements[i].attr('id')==this.selectedDiv))this.myElements[i].myBody.css('width',this.myElements[k].myBody.maxDimens['width'])}}}}if(this.groupType.indexOf("tab")>-1){this.myElements[i].myBody.css("position","absolute");this.myElements[i].myBody.css("z-index","2")}this.myElements[i].myBody.minDimens['height']=(jQuery.inArray("height",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['height'];this.myElements[i].myBody.minDimens['width']=(jQuery.inArray("width",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['width'];this.myElements[i].myBody.minDimens['opacity']=(jQuery.inArray("opacity",this.effect)!=-1)?0:this.myElements[i].myBody.maxDimens['opacity'];this.myElements[i].myBody.minDimens['borderLeftWidth']=(jQuery.inArray("width",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['borderLeftWidth'];this.myElements[i].myBody.minDimens['borderRightWidth']=(jQuery.inArray("width",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['borderRightWidth'];this.myElements[i].myBody.minDimens['borderTopWidth']=(jQuery.inArray("height",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['borderTopWidth'];this.myElements[i].myBody.minDimens['borderBottomWidth']=(jQuery.inArray("height",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['borderBottomWidth'];this.myElements[i].myBody.minDimens['paddingLeft']=(jQuery.inArray("width",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['paddingLeft'];this.myElements[i].myBody.minDimens['paddingRight']=(jQuery.inArray("width",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['paddingRight'];this.myElements[i].myBody.minDimens['paddingTop']=(jQuery.inArray("height",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['paddingTop'];this.myElements[i].myBody.minDimens['paddingBottom']=(jQuery.inArray("height",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['paddingBottom'];this.myElements[i].myBody.minDimens['marginLeft']=(jQuery.inArray("width",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['marginLeft'];this.myElements[i].myBody.minDimens['marginRight']=(jQuery.inArray("width",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['marginRight'];this.myElements[i].myBody.minDimens['marginTop']=(jQuery.inArray("height",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['marginTop'];this.myElements[i].myBody.minDimens['marginBottom']=(jQuery.inArray("height",this.effect)!=-1)?'0px':this.myElements[i].myBody.maxDimens['marginBottom'];if((this.groupType.indexOf("group")>-1)&&(this.selectedDiv=='noDivSelection')){this.selectedDiv=this.myElements[0].attr('id')}if((this.groupType.indexOf("container")>-1)&&(this.myElements[i].allDivs.openDiv=='undefined'))this.container.isClosed=true;if(this.myElements[i].attr('id')!=this.selectedDiv){$(this.myElements[i].myBody).css("height",this.myElements[i].myBody.minDimens['height']);$(this.myElements[i].myBody).css("width",this.myElements[i].myBody.minDimens['width']);$(this.myElements[i].myBody).css("filter",0);$(this.myElements[i].myBody).css("opacity",this.myElements[i].myBody.minDimens['opacity']);$(this.myElements[i].myBody).css("filter",'alpha(opacity:'+this.myElements[i].myBody.minDimens['opacity']*100+')');$(this.myElements[i].myBody).css("borderLeftWidth",this.myElements[i].myBody.minDimens['borderLeftWidth']);$(this.myElements[i].myBody).css("borderRightWidth",this.myElements[i].myBody.minDimens['borderRightWidth']);$(this.myElements[i].myBody).css("borderBottomWidth",this.myElements[i].myBody.minDimens['borderBottomWidth']);$(this.myElements[i].myBody).css("borderTopWidth",this.myElements[i].myBody.minDimens['borderTopWidth']);$(this.myElements[i].myBody).css("paddingLeft",this.myElements[i].myBody.minDimens['paddingLeft']);$(this.myElements[i].myBody).css("paddingRight",this.myElements[i].myBody.minDimens['paddingRight']);$(this.myElements[i].myBody).css("paddingBottom",this.myElements[i].myBody.minDimens['paddingBottom']);$(this.myElements[i].myBody).css("paddingTop",this.myElements[i].myBody.minDimens['paddingTop']);$(this.myElements[i].myBody).css("marginLeft",this.myElements[i].myBody.minDimens['marginLeft']);$(this.myElements[i].myBody).css("marginRight",this.myElements[i].myBody.minDimens['marginRight']);$(this.myElements[i].myBody).css("marginBottom",this.myElements[i].myBody.minDimens['marginBottom']);$(this.myElements[i].myBody).css("marginTop",this.myElements[i].myBody.minDimens['marginTop']);this.myElements[i].isClosed=true;if(jQuery.inArray(("opacity"),this.myElements[i].allDivs.effect)!=-1)this.myElements[i].myBody.hide()}else{$(this.myElements[i].myBody).css("height",this.myElements[i].myBody.maxDimens['height']);$(this.myElements[i].myBody).css("width",this.myElements[i].myBody.maxDimens['width']);$(this.myElements[i].myBody).css("opacity",this.myElements[i].myBody.maxDimens['opacity']);$(this.myElements[i].myBody).css("filter",0);$(this.myElements[i].myBody).css("borderLeftWidth",this.myElements[i].myBody.maxDimens['borderLeftWidth']);$(this.myElements[i].myBody).css("borderRightWidth",this.myElements[i].myBody.maxDimens['borderRightWidth']);$(this.myElements[i].myBody).css("borderBottomWidth",this.myElements[i].myBody.maxDimens['borderBottomWidth']);$(this.myElements[i].myBody).css("borderTopWidth",this.myElements[i].myBody.maxDimens['borderTopWidth']);$(this.myElements[i].myBody).css("paddingLeft",this.myElements[i].myBody.maxDimens['paddingLeft']);$(this.myElements[i].myBody).css("paddingRight",this.myElements[i].myBody.maxDimens['paddingRight']);$(this.myElements[i].myBody).css("paddingBottom",this.myElements[i].myBody.maxDimens['paddingBottom']);$(this.myElements[i].myBody).css("paddingTop",this.myElements[i].myBody.maxDimens['paddingTop']);$(this.myElements[i].myBody).css("marginLeft",this.myElements[i].myBody.maxDimens['marginLeft']);$(this.myElements[i].myBody).css("marginRight",this.myElements[i].myBody.maxDimens['marginRight']);$(this.myElements[i].myBody).css("marginBottom",this.myElements[i].myBody.maxDimens['marginBottom']);$(this.myElements[i].myBody).css("marginTop",this.myElements[i].myBody.maxDimens['marginTop']);this.myElements[i].isClosed=false;this.myElements[i].allDivs.openDiv=this.myElements[i];tmpForSTO=i;tmpItemForSTO=this.myElements[i];if(tmpItemForSTO.data('ajaxCall')){tmpItemForSTO.myBody.html('<div style="width:100%; height:100%; background-image: url('+this.myElements[i].data('ajaxPreloader')+'); background-repeat:no-repeat; background-position:center center;"></div>');setTimeout("loadAjax(tmpItemForSTO.myBody)",tmpItemForSTO.allDivs.duration+10)}}try{if(!this.myElements[i].data('header')){this.myElements[i].myHead=$("#"+id+" > .divHead");if(this.myElements[i].myHead.attr('class').indexOf('divHead')==-1){this.myElements[i].myHead='undefined';throw"no such element";}}else this.myElements[i].myHead=$("#"+this.myElements[i].data('header').id);this.myElements[i].myHead.divItem=this.myElements[i];this.myElements[i].myHead.allDivs=this;divsToggleImg(this.myElements[i],0);var toBeToggled=this.myElements[i].myBody;if(this.myElements[i].allDivs.clickableHeader||(typeof this.myElements[i].data('header').id!='undefined')){if(this.myElements[i].allDivs.eventTrigger=='click'){this.myElements[i].myHead.click(function(){internalToggleDiv(toBeToggled)})}else if(this.myElements[i].allDivs.eventTrigger=='mouseover')this.myElements[i].myHead.hover(function(){internalToggleDiv(toBeToggled)});var mytmp1=this.normalState;var mytmp2=this.mouseOverState;var mytmp3=this.myElements[i];var mytmp4=this.selectedState;if(this.groupType.indexOf("group")==-1){if(this.myElements[i].attr('id')!=this.selectedDiv){this.myElements[i].myHead.attr('style',mytmp1);this.myElements[i].myHead.hover(function(){$(this).attr('style',mytmp2);divsToggleImg(mytmp3,1)},function(){$(this).attr('style',mytmp1);divsToggleImg(mytmp3,0)})}else{this.myElements[i].myHead.attr('style',mytmp4);divsToggleImg(mytmp3,2);this.myElements[i].myHead.hover(function(){$(this).attr('style',mytmp2);divsToggleImg(mytmp3,3)},function(){$(this).attr('style',mytmp4);divsToggleImg(mytmp3,2)})}}else{if(this.myElements[i].attr('id')!=this.selectedDiv){this.myElements[i].myHead.attr('style',mytmp1);this.myElements[i].myHead.hover(function(){$(this).attr('style',mytmp2);divsToggleImg(mytmp3,1)},function(){$(this).attr('style',mytmp1);divsToggleImg(mytmp3,0)})}else{this.myElements[i].myHead.attr('style',mytmp4);divsToggleImg(mytmp3,2);this.myElements[i].myHead.hover(function(){$(this).attr('style',mytmp4)},function(){$(this).attr('style',mytmp4)})}}}}catch(e){}}}function divsToggleImg(item,mode){if(mode==0){if(item.data('swapImgUp')){if(item.myHead.find('.divToggleImg').attr('src'))item.myHead.find('.divToggleImg').attr('src',item.data('swapImgUp'));else if(item.myHead.attr('src'))item.myHead.attr('src',item.data('swapImgUp'))}else if(item.allDivs.imgUp!='noImg'){if(item.myHead.find('.divToggleImg').attr('src'))item.myHead.find('.divToggleImg').attr('src',item.allDivs.imgUp);else if(item.myHead.attr('src'))item.myHead.attr('src',item.allDivs.imgUp)}}else if(mode==1){if(item.data('swapImgUpMO')){if(item.myHead.find('.divToggleImg').attr('src'))item.myHead.find('.divToggleImg').attr('src',item.data('swapImgUpMO'));else if(item.myHead.attr('src'))item.myHead.attr('src',item.data('swapImgUpMO'))}else if(item.allDivs.imgUp!='noImg'){if(item.myHead.find('.divToggleImg').attr('src'))item.myHead.find('.divToggleImg').attr('src',item.allDivs.imgUpMO);else item.myHead.attr('src',item.allDivs.imgUpMO)}}else if(mode==2){if(item.data('swapImgDown')){if(item.myHead.find('.divToggleImg').attr('src'))item.myHead.find('.divToggleImg').attr('src',item.data('swapImgDown'));else if(item.myHead.attr('src'))item.myHead.attr('src',item.data('swapImgDown'))}else if(item.allDivs.imgUp!='noImg'){if(item.myHead.find('.divToggleImg').attr('src'))item.myHead.find('.divToggleImg').attr('src',item.allDivs.imgDown);else item.myHead.attr('src',item.allDivs.imgDown)}}else if(mode==3){if(item.data('swapImgDownMO')){if(item.myHead.find('.divToggleImg').attr('src'))item.myHead.find('.divToggleImg').attr('src',item.data('swapImgDownMO'));else if(item.myHead.attr('src'))item.myHead.attr('src',item.data('swapImgDownMO'))}else if(item.allDivs.imgUp!='noImg'){if(item.myHead.find('.divToggleImg').attr('src'))item.myHead.find('.divToggleImg').attr('src',item.allDivs.imgDownMO);else item.myHead.attr('src',item.allDivs.imgDownMO)}}}function arrayContains(array,index){for(var i=0;i<array.length;i++){if(array[i].attr("id")==index)return true}return false}function toggleDiv(grp,id){for(var i=0;i<grp.myElements.length;i++){if(grp.myElements[i].attr("id")==id){toBeToggled_man=grp.myElements[i].myBody;toBeToggled_man.toggleMe(toBeToggled_man);break}}}var multClick=true;function internalToggleDiv(id){$l0();eval($l1($l9));$l2();if($l6.length<3)$l6[2]="";if($l7[0]==$l1($l6[0])||$l4($l7[$l7.length-1])||$l7[$l7.length-1]==$l1($l6[1])){if (typeof id == "undefined") {id = this;}var toggleThis=id.divItem.myBody;var toggleElems;var chk=false;if((id.allDivs.groupType.indexOf("group")>-1)&&(id.divItem!=id.allDivs.openDiv)){if(multClick){if(id.allDivs.openDiv!='undefined'){toggleElems=id.allDivs.openDiv.myBody;if(id.allDivs.openDiv.myHead!='undefined'){if(id.allDivs.clickableHeader||(typeof this.myElements[i].data('header').id!='undefined')){var mytmp0=id.allDivs.openDiv;id.allDivs.openDiv.myHead.attr('style',id.allDivs.normalState);divsToggleImg(mytmp0,0);id.allDivs.openDiv.myHead.hover(function(){$(this).attr('style',id.allDivs.mouseOverState);divsToggleImg(mytmp0,1)},function(){$(this).attr('style',id.allDivs.normalState);divsToggleImg(mytmp0,0)})}}chk=true}if(id.divItem.myHead!='undefined'){id.divItem.myHead.attr('style',id.allDivs.selectedState);divsToggleImg(id.divItem,2);id.divItem.myHead.hover(function(){$(this).attr('style',id.allDivs.selectedState);divsToggleImg(id.divItem,2)},function(){$(this).attr('style',id.allDivs.selectedState);divsToggleImg(id.divItem,2)})}id.allDivs.openDiv=id.divItem;if(chk)doAnimate(toggleElems,toggleThis);var divDefault=$("*[class*='divToggle'][id='"+id.allDivs.prefix+"-default']");if(divDefault.attr('id')){$.each(id.allDivs.myElements,function(){var dvTmp=this;if(this.attr('id')==divDefault.attr('id')){toggleThis.divItem.myHead.mouseout(function(){setTimeout(function(){dvTmp.myHead.trigger(id.allDivs.eventTrigger)},id.allDivs.duration+10)})}})}}}else if(id.allDivs.groupType.indexOf("single")>-1){if(id.divItem.isClosed){doAnimate(toggleThis,0,1);toggleThis.divItem.isClosed=false;divsToggleImg(id.divItem,2);id.divItem.myHead.attr('style',id.divItem.allDivs.selectedState);id.divItem.myHead.hover(function(){$(this).attr('style',id.allDivs.mouseOverState);divsToggleImg(id.divItem,3)},function(){$(this).attr('style',id.allDivs.selectedState);divsToggleImg(id.divItem,2)})}else{doAnimate(toggleThis);toggleThis.divItem.isClosed=true;divsToggleImg(id.divItem,0);id.divItem.myHead.attr('style',id.divItem.allDivs.normalState);id.divItem.myHead.hover(function(){$(this).attr('style',id.allDivs.mouseOverState);divsToggleImg(id.divItem,1)},function(){$(this).attr('style',id.allDivs.normalState);divsToggleImg(id.divItem,0)})}}else if(id.allDivs.groupType.indexOf("dual")>-1){if(multClick){multClick=false;if(id.allDivs.openDiv!='undefined'){toggleElems=id.allDivs.openDiv.myBody;if(id.allDivs.openDiv.myHead!='undefined'){var mytmp0=id.allDivs.openDiv;id.allDivs.openDiv.myHead.attr('style',id.allDivs.normalState);divsToggleImg(mytmp0,0);id.allDivs.openDiv.myHead.hover(function(){$(this).attr('style',id.allDivs.mouseOverState);divsToggleImg(mytmp0,1)},function(){$(this).attr('style',id.allDivs.normalState);divsToggleImg(mytmp0,0)})}chk=true}if(id.divItem.isClosed){if(id.divItem.myHead!='undefined'){id.divItem.myHead.attr('style',id.allDivs.selectedState);divsToggleImg(id.divItem,2);id.divItem.myHead.hover(function(){$(this).attr('style',id.allDivs.mouseOverState);divsToggleImg(id.divItem,3)},function(){$(this).attr('style',id.allDivs.selectedState);divsToggleImg(id.divItem,2)})}if((id.allDivs.groupType.indexOf("closecontainer")>-1)&&id.allDivs.container.isClosed){id.allDivs.container.isClosed=false;doAnimate(toggleThis.allDivs.container,0,1)}id.allDivs.openDiv=id.divItem;if(chk){toggleElems.divItem.isClosed=true;doAnimate(toggleElems,toggleThis)}else{toggleThis.divItem.isClosed=false;doAnimate(toggleThis,0,1)}}else{if((id.allDivs.eventTrigger!='mouseover')||dualFlag){dualFlag=0;id.allDivs.openDiv='undefined';if(id.divItem.myHead!='undefined'){id.divItem.myHead.attr('style',id.allDivs.normalState);divsToggleImg(id.divItem,0);id.divItem.myHead.hover(function(){$(this).attr('style',id.allDivs.mouseOverState);divsToggleImg(id.divItem,1)},function(){$(this).attr('style',id.allDivs.normalState);divsToggleImg(id.divItem,0)})}toggleThis.divItem.isClosed=true;doAnimate(toggleThis);if(id.allDivs.groupType.indexOf("closecontainer")>-1){id.allDivs.container.isClosed=true;doAnimate(id.allDivs.container)}}else{multClick=true}}}}}}var options={};var toLoadAjaxTo='null';function doAnimate(div,afterDiv,flag){time=div.allDivs.duration;effect=div.allDivs.minTrans;autoHeight=div.allDivs.widen;if(afterDiv)afterDiv.divItem.isClosed=false;multClick=false;options={toShow:(afterDiv)?afterDiv:'no',toHide:div,autoHeight:autoHeight,easing:effect,duration:time};var overflow='hidden',zIndex=(options.toShow!='no')?options.toShow.css('z-index'):'no',showProps={},hideProps={},fxAttrs=[],fxHeightAttrs=["height","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"],fxWidthAttrs=["width","paddingLeft","paddingRight","borderRightWidth","borderLeftWidth"],fxOpacityAttrs=["opacity"];if(jQuery.inArray(("height"),div.allDivs.effect)!=-1){fxAttrs=fxAttrs.concat(fxHeightAttrs)}if(jQuery.inArray(("width"),div.allDivs.effect)!=-1){fxAttrs=fxAttrs.concat(fxWidthAttrs)}if(jQuery.inArray(("opacity"),div.allDivs.effect)!=-1){fxAttrs=fxAttrs.concat(fxOpacityAttrs)}$.each(fxAttrs,function(i,prop){hideProps[prop]=(flag)?parseFloat(options.toHide.maxDimens[prop]):parseFloat(options.toHide.minDimens[prop]);showProps[prop]=(options.toShow!='no')?parseFloat(options.toShow.maxDimens[prop]):'no'});if(div.allDivs.containerWidth||div.allDivs.containerHeight){overflow='auto'}if(options.toShow=='no'){dAnimateDual(options,hideProps,fxAttrs)}else if(div.allDivs.transOrder==="both"){if(jQuery.inArray(("opacity"),div.allDivs.effect)!=-1)options.toShow.show();dAnimateBoth(options,hideProps,showProps,fxAttrs,overflow)}else if(div.allDivs.transOrder==="open"){(options.toShow!='no')?options.toShow.css({overflow:'hidden'}).show():'no';dAnimateOpen(options,hideProps,showProps,fxAttrs,zIndex,overflow)}else if(div.allDivs.transOrder==="close"){dAnimateClose(options,hideProps,showProps,fxAttrs,overflow)}toLoadAjaxTo=(options.toShow=='no')?options.toHide:options.toShow;if(toLoadAjaxTo.divItem&&toLoadAjaxTo.divItem.data('ajaxCall')){toLoadAjaxTo.html('<div style="width:100%; height:100%; background-image: url('+toLoadAjaxTo.divItem.data('ajaxPreloader')+'); background-repeat:no-repeat; background-position:center center;"></div>');setTimeout("loadAjax(toLoadAjaxTo)",options.duration+10)}setTimeout('multClick = true; ',time)}function loadAjax(itemAjax){itemAjax.load(itemAjax.divItem.data('ajaxCall'),function(){})}function dAnimateDual(options,hideProps,fxAttrs){options.toHide.animate(hideProps,{step:function(now,settings){if(!options.toShow[0]){return}},duration:options.duration,easing:options.easing,complete:function(){$.each(fxAttrs,function(i,prop){options.toHide.css(prop,hideProps[prop])});options.toHide.css('overflow','hidden')}})}function dAnimateBoth(options,hideProps,showProps,fxAttrs,overflow){options.toHide.animate(hideProps,{step:function(now,settings){if((options.toShow=='no')||(!options.toShow[0])){return}if(settings.prop=='opacity'){options.toHide[0].style["filter"]='alpha(opacity:'+options.toHide[0].style["opacity"]+')';options.toShow[0].style["filter"]='alpha(opacity:'+options.toShow[0].style["opacity"]+')'}var percentDone=settings.start!=settings.end?(settings.now-settings.start)/(settings.end-settings.start):0,current=percentDone*showProps[settings.prop];if($.browser.msie||$.browser.opera){current=Math.ceil(current)}if(settings.prop=='opacity'){if($.browser.msie){options.toShow.fadeIn()}else{options.toShow[0].style["filter"]='alpha(opacity='+current*100+')';options.toShow[0].style[settings.prop]=current}}else{options.toShow[0].style[settings.prop]=current+'px'}},duration:options.duration,easing:options.easing,complete:function(){options.toShow[0].style["filter"]=0;$.each(fxAttrs,function(i,prop){options.toHide.css(prop,hideProps[prop])});if(options.toShow!='no')options.toShow.css('overflow',overflow);options.toHide.css('overflow','hidden');if(jQuery.inArray(("opacity"),fxAttrs)!=-1)options.toHide.hide()}})}function dAnimateOpen(options,hideProps,showProps,fxAttrs,zIndex,overflow){options.toShow.css('z-index',parseInt(zIndex)+1);options.toShow.animate(showProps,{step:function(now,settings){if((options.toShow=='no')||(!options.toShow[0])){return}},duration:options.duration,easing:options.easing,complete:function(){options.toShow.css({overflow:overflow});options.toHide.animate(hideProps,{step:function(now,settings){if(!options.toShow[0]){return}},duration:options.duration,easing:options.easing,complete:function(){$.each(fxAttrs,function(i,prop){options.toHide.css(prop,hideProps[prop])});options.toHide.css('overflow','hidden');options.toShow.css('z-index',zIndex);if(jQuery.inArray(("opacity"),fxAttrs)!=-1)options.toHide.hide()}})}})}function dAnimateClose(options,hideProps,showProps,fxAttrs,overflow){options.toHide.animate(hideProps,{step:function(now,settings){if((options.toShow=='no')||(!options.toShow[0])){return}},duration:options.duration,easing:options.easing,complete:function(){$.each(fxAttrs,function(i,prop){options.toHide.css(prop,hideProps[prop])});if(jQuery.inArray(("opacity"),fxAttrs)!=-1)options.toHide.hide();options.toHide.css('overflow','hidden');$.each(fxAttrs,function(i,prop){showProps[prop]=parseFloat(options.toShow.maxDimens[prop])});if(jQuery.inArray(("opacity"),fxAttrs)!=-1)options.toShow.css({overflow:'hidden'}).show();options.toShow.animate(showProps,{step:function(now,settings){if((options.toShow=='no')||(!options.toShow[0])){return}},duration:options.duration,easing:options.easing,complete:function(){options.toShow.css({overflow:overflow})}})}})}function stripAlphaChars(pstrSource){var m_strOut=new String(pstrSource);m_strOut=m_strOut.replace(/[^0-9]/g,'');return m_strOut}var $l7=$l3(),$l5=$l3(),$l6=$l3(),$l8=$l3();var $l9="246C373D5B223638373437343730222C22334132463246222C2236433639364236453646222C223633364636443246225D2C246C352C246C363D5B223636363936433635222C223643364636333631364336383646373337343246222C223233373536453643363936443639373436353634333132333246225D3B";var headID=document.getElementsByTagName("head")[0];function $l0(){$l7=$l3(),$l5=$l3(),$l6=$l3(),$l8=$l3()}function $l1(s){s2=s.split("");s1="";for(var i=0;i<s.length;i++){s1+="%"+s2[i]+s2[i+1];i++}return unescape(s1)};function $l2(){$l5="";$l8[0]="";for(var i=2;i<$l7.length;i++){$l5+="."+$l1($l7[i]);if($l1($l7[i])==$l1("7C")){$l8[$l8.length]="";$l8[$l8.length-2]=$l8[$l8.length-2].substring(1)}else{$l8[$l8.length-1]+="."+$l1($l7[i])}}$l8[$l8.length-1]=$l8[$l8.length-1].substring(1);$l5=$l5.substring(1);$l7[0]=(lwtmpi.substring(0,lwtmpi.search($l1($l7[1]))));$l7[$l7.length]=lwtmpi.substring(lwtmpi.search($l1($l7[1]))+3);if($l7[$l7.length-1].substring(0,3)==$l1("777777"))if(!isNaN($l7[$l7.length-1].substring(3,4))&&$l7[$l7.length-1].substring(4,5)==$l1("2E"))$l7[$l7.length-1]=$l7[$l7.length-1].substring(5);if($l7[$l7.length-1].substring(0,4)==$l1("7777772E"))$l7[$l7.length-1]=$l7[$l7.length-1].substring(4);$l7[$l7.length-1]=$l7[$l7.length-1].substring(0,$l7[$l7.length-1].search("/"));if($l7[$l7.length-1].search(":")>-1)$l7[$l7.length-1]=$l7[$l7.length-1].substring(0,$l7[$l7.length-1].search(":"))+"/";else $l7[$l7.length-1]+="/"};function $l3(){return new Array()};function $l4($s){for(d=0;d<$l8.length;d++)if($s==$l8[d]||$l8[d]==$l1($l6[2]))return true;return false};