 window.addEvent('domready', function(){

        s5_vm_acc_openElement = "";
		 
		var s5_vm_acc_active_toggler = document.getElementById("s5_vm_container").getElementsByTagName("A");
		for (var s5_vm_acc_active_toggler_y=0; s5_vm_acc_active_toggler_y<s5_vm_acc_active_toggler.length; s5_vm_acc_active_toggler_y++) {
			if (s5_vm_acc_active_toggler[s5_vm_acc_active_toggler_y].href == window.location) {
				s5_vm_acc_active_toggler[s5_vm_acc_active_toggler_y].id = "s5_vm_acc_active_toggler";
				if (s5_vm_acc_active_toggler[s5_vm_acc_active_toggler_y].parentNode.parentNode.parentNode.parentNode.className == "element") {
					s5_vm_acc_active_toggler[s5_vm_acc_active_toggler_y].parentNode.parentNode.parentNode.parentNode.previousSibling.id = "s5_vm_acc_active_toggler";
				}
				if (s5_vm_acc_active_toggler[s5_vm_acc_active_toggler_y].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.className == "element") {
					s5_vm_acc_active_toggler[s5_vm_acc_active_toggler_y].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.previousSibling.id = "s5_vm_acc_active_toggler";
				}
			}
		}
		
		var s5_vm_acc_current = document.getElementById("s5_vm_container").getElementsByTagName("H3");
		for (var s5_vm_acc_current_y=0; s5_vm_acc_current_y<s5_vm_acc_current.length; s5_vm_acc_current_y++) {
			if (s5_vm_acc_current[s5_vm_acc_current_y].id == "s5_vm_acc_active_toggler") {
				s5_vm_acc_openElement = s5_vm_acc_current_y;
			}
		}

         var s5_vm_accordion = new Accordion($('s5_vm_container'), 'h3.toggler','div.element', {
                opacity: true,
                display: s5_vm_acc_openElement
         });

         this.addEvent('load',function(){
           if (s5_openElement != "")
           s5_vm_accordion.display(s5_openElement);
         });

 });

