
   if(!dbugScripts("download",["download.tron.softwarefinder2.js"])) {
   /*	download.tron.softwarefinder2.js - packed	*/
       Fx.Slide=new Class({Extends:Fx,options:{mode:"vertical"},initialize:function(B,A){this.addEvent("complete",function(){this.open=(this.wrapper["offset"+this.layout.capitalize()]!=0);if(this.open&&Browser.Engine.webkit419){this.element.dispose().inject(this.wrapper);}},true);this.element=this.subject=$(B);this.parent(A);var C=this.element.retrieve("wrapper");this.wrapper=C||new Element("div",{styles:$extend(this.element.getStyles("margin","position"),{overflow:"hidden"})}).wraps(this.element);this.element.store("wrapper",this.wrapper).setStyle("margin",0);this.now=[];this.open=true;},vertical:function(){this.margin="margin-top";this.layout="height";this.offset=this.element.offsetHeight;},horizontal:function(){this.margin="margin-left";this.layout="width";this.offset=this.element.offsetWidth;},set:function(A){this.element.setStyle(this.margin,A[0]);this.wrapper.setStyle(this.layout,A[1]);return this;},compute:function(E,D,C){var B=[];var A=2;A.times(function(F){B[F]=Fx.compute(E[F],D[F],C);});return B;},start:function(B,E){if(!this.check(arguments.callee,B,E)){return this;}this[E||this.options.mode]();var D=this.element.getStyle(this.margin).toInt();var C=this.wrapper.getStyle(this.layout).toInt();var A=[[D,C],[0,this.offset]];var G=[[D,C],[-this.offset,0]];var F;switch(B){case"in":F=A;break;case"out":F=G;break;case"toggle":F=(this.wrapper["offset"+this.layout.capitalize()]==0)?A:G;}return this.parent(F[0],F[1]);},slideIn:function(A){return this.start("in",A);},slideOut:function(A){return this.start("out",A);},hide:function(A){this[A||this.options.mode]();this.open=false;return this.set([-this.offset,0]);},show:function(A){this[A||this.options.mode]();this.open=true;return this.set([0,this.offset]);},toggle:function(A){return this.start("toggle",A);}});Element.Properties.slide={set:function(B){var A=this.retrieve("slide");if(A){A.cancel();}return this.eliminate("slide").store("slide:options",$extend({link:"cancel"},B));},get:function(A){if(A||!this.retrieve("slide")){if(A||!this.retrieve("slide:options")){this.set("slide",A);}this.store("slide",new Fx.Slide(this,this.retrieve("slide:options")));}return this.retrieve("slide");}};Element.implement({slide:function(D,E){D=D||"toggle";var B=this.get("slide"),A;switch(D){case"hide":B.hide(E);break;case"show":B.show(E);break;case"toggle":var C=this.retrieve("slide:flag",B.open);B[(C)?"slideOut":"slideIn"](E);this.store("slide:flag",!C);A=true;break;default:B.start(D,E);}if(!A){this.eliminate("slide:flag");}return this;}});(function(){var A=this.Keyboard=new Class({Extends:Events,Implements:[Options],options:{defaultEventType:"keydown",active:false,manager:null,events:{},nonParsedEvents:["activate","deactivate","onactivate","ondeactivate","changed","onchanged"]},initialize:function(F){if(F&&F.manager){this._manager=F.manager;delete F.manager;}this.setOptions(F);this._setup();},addEvent:function(H,G,F){return this.parent(A.parse(H,this.options.defaultEventType,this.options.nonParsedEvents),G,F);},removeEvent:function(G,F){return this.parent(A.parse(G,this.options.defaultEventType,this.options.nonParsedEvents),F);},toggleActive:function(){return this[this.isActive()?"deactivate":"activate"]();},activate:function(F){if(F){if(F.isActive()){return this;}if(this._activeKB&&F!=this._activeKB){this.previous=this._activeKB;this.previous.fireEvent("deactivate");}this._activeKB=F.fireEvent("activate");A.manager.fireEvent("changed");}else{if(this._manager){this._manager.activate(this);}}return this;},isActive:function(){return this._manager?(this._manager._activeKB==this):(A.manager==this);},deactivate:function(F){if(F){if(F===this._activeKB){this._activeKB=null;F.fireEvent("deactivate");A.manager.fireEvent("changed");}}else{if(this._manager){this._manager.deactivate(this);}}return this;},relinquish:function(){if(this.isActive()&&this._manager&&this._manager.previous){this._manager.activate(this._manager.previous);}else{this.deactivate();}return this;},manage:function(F){if(F._manager){F._manager.drop(F);}this._instances.push(F);F._manager=this;if(!this._activeKB){this.activate(F);}return this;},drop:function(F){F.relinquish();this._instances.erase(F);if(this._activeKB==F){if(this.previous&&this._instances.contains(this.previous)){this.activate(this.previous);}else{this._activeKB=this._instances[0];}}return this;},trace:function(){A.trace(this);},each:function(F){A.each(this,F);},_instances:[],_disable:function(F){if(this._activeKB==F){this._activeKB=null;}},_setup:function(){this.addEvents(this.options.events);if(A.manager&&!this._manager){A.manager.manage(this);}if(this.options.active){this.activate();}else{this.relinquish();}},_handle:function(H,G){if(H.preventKeyboardPropagation){return ;}var F=!!this._manager;if(F&&this._activeKB){this._activeKB._handle(H,G);if(H.preventKeyboardPropagation){return ;}}this.fireEvent(G,H);if(!F&&this._activeKB){this._activeKB._handle(H,G);}}});var B={};var C=["shift","control","alt","meta"];var E=/^(?:shift|control|ctrl|alt|meta)$/;A.parse=function(H,G,K){if(K&&K.contains(H.toLowerCase())){return H;}H=H.toLowerCase().replace(/^(keyup|keydown):/,function(M,L){G=L;return"";});if(!B[H]){var F,J={};H.split("+").each(function(L){if(E.test(L)){J[L]=true;}else{F=L;}});J.control=J.control||J.ctrl;var I=[];C.each(function(L){if(J[L]){I.push(L);}});if(F){I.push(F);}B[H]=I.join("+");}return G+":keys("+B[H]+")";};A.each=function(F,G){var H=F||A.manager;while(H){G.run(H);H=H._activeKB;}};A.stop=function(F){F.preventKeyboardPropagation=true;};A.manager=new A({active:true});A.trace=function(F){F=F||A.manager;var G=window.console&&console.log;if(G){console.log("the following items have focus: ");}A.each(F,function(H){if(G){console.log(document.id(H.widget)||H.wiget||H);}});};var D=function(G){var F=[];C.each(function(H){if(G[H]){F.push(H);}});if(!E.test(G.key)){F.push(G.key);}A.manager._handle(G,G.type+":keys("+F.join("+")+")");};document.addEvents({keyup:D,keydown:D});})();window.addEvent("domready",function(){var B="closed";$("advancedSearchSwitcher").addEvent("click",function(C){C.stop();if(B=="closed"){B="open";$("advancedSearchSwitcher").removeClass("closed");$("advancedSearchSwitcher").addClass("open");$("advancedSearchWrapper").morph({height:440,visibility:"visible"});$("priceChoices").show();$("categoryChoices").show();$("finderCategory").show();}else{B="closed";$("advancedSearchSwitcher").removeClass("open");$("advancedSearchSwitcher").addClass("closed");$("advancedSearchWrapper").morph({height:0,visibility:"hidden"});$("priceChoices").hide();$("categoryChoices").hide();$("finderCategory").hide();}});$$("input[name=platformSelectDL]").addEvent("change",function(C){if(this.getProperty("value")=="All"){$$(".platformSelectDL[value!=All]").removeProperty("checked");}else{$$(".platformSelectDL[value=All]").removeProperty("checked");}});$$("input[name=priceFilterDL]").addEvent("change",function(C){if(this.getProperty("value")=="All"){$$(".priceFilterDL[value!=All]").removeProperty("checked");}else{$$(".priceFilterDL[value=All]").removeProperty("checked");}});function A(){var M=$("dlSearchTag").getProperty("value");var L=$("dlSearchType").getProperty("value");var J=$("downloadSearchBox").getProperty("value");var N="";var I="";var C=[];var D="";$$("input[name=platformSelectDL]").each(function(O){if(O.checked){if(O.getProperty("value")!="All"){C.push(O.getProperty("value"));}}});if(C.length>0){D="platform="+C.toString()+"|";}else{D="";}var K=[];var H="";$$("input[name=priceFilterDL]").each(function(O){if(O.checked){if(O.getProperty("value")!="All"){K.push(O.getProperty("value"));}}});if(K.length>0){H="licenseName="+K.toString()+"|";}else{H="";}var F=D+H;var E=$("finderCategory").getSelected().getProperty("catId").toString();if(J==""){N="/3150-"+E+"_4-0.html";I=N+"?tag="+M+"&searchtype="+L+"&filter="+F+"&filterName="+F;}else{N="/1770-"+E+"_4-0.html";I=N+"?tag="+M+"&searchtype="+L+"&query="+J+"&filter="+F+"&filterName="+F;}var G=I.replace(/ /g,"+");location.href=G;}$("downloadSearchSubmit").addEvent("click",function(C){C.stop();A();});$("downloadSearchBox").addEvent("keydown",function(C){if(C.key=="enter"){C.stop();A();}});});
   }
       
