<!--

/***********************************************
* Random Content (from DIVs) script- by JavaScript Kit (www.javascriptkit.com)
* This notice must stay intact for usage
* Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and 100s more
***********************************************/

if (document.getElementById)
document.documentElement.className = 'jsclass'; //hide content for DOM capable browsers


var randomcontentdisplay={
	divholders:new Object(),
	masterclass: "randomcontent",

	init:function(){
		if (!document.getElementById)
			return
		var alldivs=document.getElementsByTagName("div")
		var randomcontentsearch=new RegExp(this.masterclass+"\\s+(group\\d+)", "i") //check for CSS class="randomcontent groupX" (x=integer)
		for (var i=0; i<alldivs.length; i++){
			if (randomcontentsearch.test(alldivs[i].className)){
				if (typeof this.divholders[RegExp.$1]=="undefined") //if array to hold this group of divs doesn't exist yet
					this.divholders[RegExp.$1]=new Array() //create array first
					this.divholders[RegExp.$1].push(alldivs[i]) //add this div to the array
			}
		}
	this.showone()
	},

	showone:function(){
		for (group in this.divholders){ //loop thru each array within object
			var chosenOne=Math.floor(Math.random()*this.divholders[group].length) //randomly pick one entry from array
			this.divholders[group][chosenOne].style.display="block" //display content corresponding to the chosen entry
		}
	}
}




document.write("<table border='0' width='100%' cellpadding='0' cellspacing='0'>");
document.write("<tr><td valign='top' height='5'></td></tr>");
document.write("<tr><td valign='top' bgcolor='#FFFFFF' style='border: #BBD6EF 1px solid; padding: 5px;'>");
document.write("<div class='randomcontent group2'>");
document.write("<img border='0' src='images/2377s.jpg' width='150' height='100' alt='ITU Delegates'><br>");
document.write("<img border='0' src='images/2146s.jpg' width='150' height='97' alt='ITU Delegates'><br>");
document.write("<img border='0' src='images/2122s.jpg' width='150' height='100' alt='ITU Delegates'>");
document.write("</div>");
document.write("<div class='randomcontent group2'>");
document.write("<img border='0' src='images/193s.jpg' width='150' height='104' alt='ITU Delegates'><br>");
document.write("<img border='0' src='images/1038s.jpg' width='150' height='104' alt='ITU Delegates'><br>");
document.write("<img border='0' src='images/4152s.jpg' width='150' height='98' alt='ITU Delegates'>");
document.write("</div>");
document.write("<div class='randomcontent group2'>");
document.write("<img border='0' src='/ITU-T/membership/images/2234s.jpg' width='150' height='108' alt='ITU Delegates'><br>");
document.write("<img border='0' src='/ITU-T/membership/images/1086s.jpg' width='150' height='99' alt='ITU Delegates'><br>");
document.write("<img border='0' src='/ITU-T/membership/images/2777s.jpg' width='150' height='100' alt='ITU Delegates'>");
document.write("</div>");
document.write("<div class='randomcontent group2'>");
document.write("<img border='0' src='/ITU-T/membership/images/2544s.jpg' width='100' height='136' alt='ITU Delegates'><br>");
document.write("<img border='0' src='/ITU-T/membership/images/1s.jpg' width='100' height='150' alt='ITU Delegates'>");
document.write("</div>");
document.write("<div class='randomcontent group2'>");
document.write("<img border='0' src='/ITU-T/membership/images/767s.jpg' width='105' height='142' alt='ITU Delegates'><br>");
document.write("<img border='0' src='/ITU-T/membership/images/1766s.jpg' width='105' height='150' alt='ITU Delegates'>");
document.write("</div>");
document.write("<tr><td valign='top' height='10'></td></tr>");
document.write("</table>");

randomcontentdisplay.init()

//-->
