function randomize(){
	var targetNodeList = document.getElementsByTagName('LI');
	var par = document.getElementById('designerRandomList');
	var randomLIlist = new Array();
	var randomID = new Array();
	var count = 0;
	var bIE = /*@cc_on!@*/false;
	if(bIE){
		for(var i = 0; i<targetNodeList.length; i++){
			if(targetNodeList[i].getAttribute('className') == 'designerRandom'){
				randomLIlist.push(targetNodeList[i]);
				randomID.push(count);
				count ++;
			}
		}
	}else{
		for(var i = 0; i<targetNodeList.length; i++){
			if(targetNodeList[i].getAttribute('class') == 'designerRandom'){
				randomLIlist.push(targetNodeList[i]);
				randomID.push(count);
				count ++;
			}
		}
	}
	
	while (par.firstChild) {
		randomLIlist.push(par.firstChild);
		par.removeChild(par.firstChild);
	}
	
	randomID = shuffleDesignerID(randomID);
			
	par.appendChild(randomLIlist[randomID[0]]);
	par.appendChild(randomLIlist[randomID[1]]);
	par.appendChild(randomLIlist[randomID[2]]);
	par.style.visibility = 'visible';
}

function shuffleDesignerID (a) { 
    var r, b = [], c = {}, l = a.length - 0; 
    for (var i = 0; i < l; i++) { 
        while (r = Math.floor( l * Math.random() ), c[r]) 1; 
        b[ b.length ] = a[r]; 
        c[r] = true; 
    } 
    return b; 
} 

var par = document.getElementById('designerRandomList');
par.style.visibility = 'hidden';

if (window.addEventListener) window.addEventListener("load", randomize, false);
if (window.attachEvent) window.attachEvent("onload", randomize);
