if (typeof TOY == "undefined") {
	var TOY = {};
}

function $E(obj){
	return document.getElementById(obj);
}

function toggle_display(element_id){
	if ($E(element_id).style.display == 'none') {
		$E(element_id).style.display = '';
	}
	else {
		$E(element_id).style.display = 'none';
	}
	return;
}

function changeResClass(obj){
	ID = $E(obj);
	var lst_type_ico_el = $E('lnk_tp');
	if (ID.className == "resliver") {
		ID.className = 'reslihor';
		lst_type_ico_el.className = "thmb_d";
	}
	else {
		ID.className = 'resliver';
		lst_type_ico_el.className = "list_d";
	}
}
