Effect.PAIRS=Object.extend(Effect.PAIRS,{"show":["show","hide"]});
Effect.toggle=function(_1,_2){
_1=$(_1);
_2=(_2||"appear").toLowerCase();
if(_2=="show"){
_1.visible()?_1.hide():_1.show();
return;
}
var _3=Object.extend({queue:{position:"end",scope:(_1.id||"global"),limit:1}},arguments[2]||{});
Effect[_1.visible()?Effect.PAIRS[_2][1]:Effect.PAIRS[_2][0]](_1,_3);
};
var Scriptaculous={Version:"1.8.1"};


