var dropdownactive=null ; 
function ToggleDropDown(dropdown) {
	if (dropdown.className=='dropdown_wrapper') {
		OpenDropDown(dropdown);
	}
	else {
		CloseDropDown(dropdown);
	}
}

function OpenDropDown(dropdown) {
	if (dropdownactive) 
		CloseDropDown(dropdownactive);
	dropdown.className='dropdown_wrapper dropdown_opened'; 
	dropdownactive=dropdown;
}
function CloseDropDown(dropdown) {
	if (dropdown) 
		dropdown.className='dropdown_wrapper'; 
	dropdownactive=null;
}

function CloseOpenedDropDown() {
	if (dropdownactive) {
		CloseDropDown(dropdownactive) ;
	}
}

