/* Copyright (C) 2007 - 2010 YOOtheme GmbH, YOOtheme License (http://www.yootheme.com/license) */

window.addEvent("domready",function(){$$("div.radio-global").each(function(c){var d=c.getElement("input[name=_global]"),a=c.getElement("div.input"),b=new Fx.Slide(a,{duration:150});d.getProperty("checked")&&b.hide();d.addEvent("change",function(){if(this.getProperty("checked")){a.getElements("input[type=radio]").setProperty("name",this.getProperty("id"));b.slideOut()}else{a.getElements("input[type=radio]").setProperty("name",this.getProperty("value"));b.slideIn()}})})}); 
