shuffle(document.getElementById('objects-list'));

function shuffle(list){
	try{
		if(list.childNodes.length > 0){
			var collector = new Array();

			var el = list.firstChild;
			while(el != null){
				el = el.parentNode.removeChild(el);
				if(el.nodeType==1){
					collector.push(el);
				}
				el = list.firstChild;
			}

			collector.sort(function(){
				if(Math.random() < 0.5) return 1;
				else return -1;
			});

			for (i in collector) {
				list.appendChild(collector[i]);
			}
		}
	}catch(e){}
}
