function submitCode(){postCode();return false;}
window.addEvent("domready",function(){ZeroClipboard.setMoviePath("ZeroClipboard.swf");clip=new ZeroClipboard.Client();clip.setHandCursor(true);$$(".copyme").each(function(el){el.addEvent("mouseover",function(e){clip.setText(el.get("code"));if(clip.div){clip.receiveEvent("mouseout",null);clip.reposition(el);}
else clip.glue(el);clip.receiveEvent("mouseover",null);});});if($("showAllDonators")!=null){$("showAllDonators").addEvent("click",function(e){var startLength=$("donatorTrList").getSize().y;$("aroundlist2").set('style','overflow:hidden; height:'+startLength+'px;');$("moreDonators").getChildren().inject($("donatorTrList"));var endLength=$("donatorTrList").getSize().y;$("showAllDonators").dispose();var myEffect=new Fx.Morph('aroundlist2',{duration:'700',transition:Fx.Transitions.Sine.easeInOut});myEffect.start({'height':[startLength,endLength]});});}
if($("showEmailAddy")!=null){$("showEmailAddy").addEvent("click",function(e){$("aroundlist2").set('style','overflow:hidden; height:auto;');if($("aroundlist2").getProperty('class')=='donLarge'){$("aroundlist2").setProperty('class','donSmall');}else{$("aroundlist2").setProperty('class','donLarge');}});}});