var rules={".library_wrapper":function(_1){
_1.onmouseover=function(){
if(/MSIE/.test(navigator.userAgent)){
}else{
if(!Element.visible(_1.childNodes[5])){
new Effect.Highlight(_1,{duration:0.5,startcolor:"#FFFFFF",endcolor:"#FEFFE5",restorecolor:"#FEFFE5"}),Element.setStyle(_1,{color:"#990D00",queue:"end"});
}
}
};
_1.onmouseout=function(){
if(/MSIE/.test(navigator.userAgent)){
}else{
if(!Element.visible(_1.childNodes[5])){
new Effect.Highlight(_1,{duration:1,startcolor:"#FEFFE5",endcolor:"#FFFFFF",restorecolor:"#FFFFFF"}),Element.setStyle(_1,{color:"inherit"});
}
}
};
},".libraryDesc":function(_2){
_2.onmouseover=function(){
Element.setStyle(_2,{backgroundColor:"#FEFFE5",color:"#000000"});
};
_2.onmouseout=function(){
Element.setStyle(_2,{backgroundColor:"#F4F5EB",color:"#666666"});
};
},".libraryName":function(_3){
_3.onclick=function(){
elpar=_3.parentNode.childNodes[5];
if(/MSIE/.test(navigator.userAgent)){
Element.toggle(elpar);
}else{
new Effect.Phase(elpar,{duration:0.4,transition:Effect.Transitions.linear}); new Effect.Highlight(elpar,{duration:0.5,queue:"end"});
}
};
},".display":function(_4){
_4.onclick=function(){
tablewrapper=document.getElementById("table_wrapper");
if(tablewrapper.childNodes.length==0){
load("table_wrapper","ajax_dhtml1.html");
}
new Effect.toggle("table_wrapper","appear",{duration:1});
new Effect.Highlight(_4,{duration:0.5,queue:"end",afterFinish:function(){
if(Element.visible("table_wrapper")){
Element.setStyle(_4,{backgroundImage:"url(/wp-content/themes/mars/images/navbar2_hl.gif)",backgroundRepeat:"repeat-x"});
}else{
Element.setStyle(_4,{backgroundImage:"url(/wp-content/themes/mars/images/navbar2_hl2.gif)",backgroundRepeat:"repeat-x"});
}
}});
};
},".display2":function(_5){
_5.onclick=function(){
tablewrapper2=document.getElementById("table_wrapper2");
if(tablewrapper2.childNodes.length==0){
load("table_wrapper2","ajax_dhtml2.html");
}
new Effect.toggle("table_wrapper2","appear",{duration:1}),new Effect.Highlight(_5,{duration:0.5,queue:"end",afterFinish:function(){
if(Element.visible("table_wrapper2")){
Element.setStyle(_5,{backgroundImage:"url(/wp-content/themes/mars/images/navbar2_hl.gif)",backgroundRepeat:"repeat-x"});
}else{
Element.setStyle(_5,{backgroundImage:"url(/wp-content/themes/mars/images/navbar2_hl2.gif)",backgroundRepeat:"repeat-x"});
}
}});
};
},"h6":function(_6){
_6.onmouseover=function(){
Element.setStyle(_6,{backgroundImage:"url(/wp-content/themes/mars/images/navbar2_hl.gif)",backgroundRepeat:"repeat-x"});
};
_6.onmouseout=function(){
Element.setStyle(_6,{backgroundImage:"url(/wp-content/themes/mars/images/navbar2_hl2.gif)",backgroundRepeat:"repeat-x"});
};
},"#Expander":function(_7){
_7.onclick=function(){
expand();
new Effect.Highlight("table_wrapper",{duration:1.2,startcolor:"#FEFFE5",endcolor:"#FFFFFF"});
};
},"#Collapser":function(_8){
_8.onclick=function(){
new Effect.Highlight("table_wrapper",{duration:1.2,startcolor:"#FEFFE5",endcolor:"#FFFFFF"});
collapse();
};
},"#Expander2":function(_9){
_9.onclick=function(){
expand();
new Effect.Highlight("table_wrapper2",{duration:1.2,startcolor:"#FEFFE5",endcolor:"#FFFFFF"});
};
},"#Collapser2":function(_a){
_a.onclick=function(){
new Effect.Highlight("table_wrapper2",{duration:1.2,startcolor:"#FEFFE5",endcolor:"#FFFFFF"});
collapse();
};
}
};
Behaviour.register(rules);


