function randOrd(){
return (Math.round(Math.random())-0.5); }
function checkforstaffpicture(){
	if( document.getElementById('picture_staff') != null ){
		var topPic = '<img src="images/laokhmustafflq/RobertKhoonsrivong.jpg" alt="Robert Khoonsrivong" title="Robert Khoonsrivong" width="171" height="256" />'+
			'<img src="images/laokhmustafflq/Steve.jpg" alt="Steve Toal" title="Steve Toal" width="171" height="256" />'+
			'<img src="images/laokhmustafflq/DrCharlie.jpg" alt="Charlie Chang" title="Charlie Chang" width="171" height="256" />'+
			'<img src="images/laokhmustafflq/Joan.jpg" alt="Joan Singson" title="Joan Singson" width="171" height="256" />';
		picArray = new Array(
			'<img src="images/laokhmustafflq/001.jpg" alt="Daniel Guess" title="Daniel Guess" width="171" height="256" />',
			'<img src="images/laokhmustafflq/chan.jpg" alt="Chan Chanthachack" title="Chan Chanthachack" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Chanpheng.jpg" alt="Chanpheng Norasith" title="Chanpheng Norasith" width="171" height="256" />',
			'<img src="images/laokhmustafflq/DavidVS.jpg" alt="David Vang-Shimoum" title="David Vang-Shimoum" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Jean.jpg" alt="Jean Zhu" title="Jean Zhu" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Kai.jpg" alt="Qyshate Thao" title="Qyshate Thao" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Kue.jpg" alt="Kue Thao" title="Kue Thao" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Lawrence.jpg" alt="Lawrence Liamsithisack" title="Lawrence Liamsithisack" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Linda.jpg" alt="Linda Gibson" title="Linda Gibson" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Phyroy.jpg" alt="Phyroy Phoung" title="Phyroy Phoung" width="171" height="256" />',
			'<img src="images/laokhmustafflq/002.jpg" alt="Lana Bour" title="Lana Bour" width="171" height="256" />',
			'<img src="images/laokhmustafflq/003.jpg" alt="Mike My" title="Mike My" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Malen.jpg" alt="Malen Ou" title="Malen Ou" width="171" height="256" />',
			'<img src="images/laokhmustafflq/005.jpg" alt="Lamgeun Rajaphone" title="Lamgeun Rajaphone" width="171" height="256" />',
			'<img src="images/laokhmustafflq/BaoT.jpg" alt="Bao Thao" title="Bao Thao" width="171" height="256" />',
			'<img src="images/laokhmustafflq/008.jpg" alt="Thanh Le" title="Thanh Le" width="171" height="256" />',
			'<img src="images/laokhmustafflq/007.jpg" alt="Khammanh Thatsana" title="Khammanh Thatsana" width="171" height="256" />',
			'<img src="images/laokhmustafflq/006.jpg" alt="Bernice Gamino" title="Bernice Gamino" width="171" height="256" />',
			'<img src="images/laokhmustafflq/009.jpg" alt="Judy Lei" title="Judy Lei" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Chong.jpg" alt="Chong Vang" title="Chong Vang" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Alice.jpg" alt="Alice Bickford" title="Alice Bickford" width="171" height="256" />',
			'<img src="images/laokhmustafflq/DavidH.jpg" alt="David Heuangpraseuth" title="David Heuangpraseuth" width="171" height="256" />',
			'<img src="images/laokhmustafflq/LawrenceLo.jpg" alt="Lawrence Lo" title="Lawrence Lo" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Irene.jpg" alt="Irene Arroyo" title="Irene Arroyo" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Nguyet.jpg" alt="Nguyet Le" title="Nguyet Le" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Gloria.jpg" alt="Gloria Nunez" title="Gloria Nunez" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Mariann.jpg" alt="Mariann Tran" title="Mariann Tran" width="171" height="256" />',
			'<img src="images/laokhmustafflq/Toubee.jpg" alt="Toubee Yang" title="Toubee Yang" width="171" height="256" />');
		picArray.sort( randOrd );
		//document.write(anyArray);
		//alert('What is up?');
		document.getElementById('picture_staff').innerHTML = topPic;
		for ( var i=picArray.length-1; i>=0; --i ){
			document.getElementById('picture_staff').innerHTML += picArray[i];
		}
	}
}
					
//GO1.1


///////////////////////////////////////
//
//  Generic onload by Brothercake
//  http://www.brothercake.com/
//
///////////////////////////////////////



//onload function
function generic(){
	checkforstaffpicture();
};
//setup onload function
if(typeof window.addEventListener != 'undefined'){
	//.. gecko, safari, konqueror and standard
	window.addEventListener('load', generic, false);
}
else if(typeof document.addEventListener != 'undefined'){
	//.. opera 7
	document.addEventListener('load', generic, false);
}
else if(typeof window.attachEvent != 'undefined'){
	//.. win/ie
	window.attachEvent('onload', generic);
}
//** remove this condition to degrade older browsers
else{
	//.. mac/ie5 and anything else that gets this far
	
	//if there's an existing onload function
	if(typeof window.onload == 'function'){
		//store it
		var existing = onload;
		//add new onload handler
		window.onload = function(){
			//call existing onload function
			existing();
			//call generic onload function
			generic();
		};
	}
	else{
		//setup onload function
		window.onload = generic;
	}
}