<!-- VERSION = $Id$ $Rev: 21674 $ $Date: 2008-05-16 17:04:58 -0700 (Fri, 16 May 2008) $ -->
 function makeImageMenu(obj)
 {
 	if(obj.ResultSet.Result.length > 0)
 	{
 		var div = document.getElementById("imagemenu");
 		var ul = document.createElement("UL");
		for(var i=0;result=obj.ResultSet.Result[i];i++)
		{
			var thumb = result.Thumbnail;
			if((typeof thumb== 'object') && (typeof result == 'object'))
			{
				var li = document.createElement("LI");
				var a = document.createElement("A");
					a.href = yahooURL;
					a.target = "_blank";
				var img = document.createElement("IMG");
					img.src = thumb.Url;
				img.onmouseover = function(){
					this.style.height= thumb.Height+"px";
					this.style.width= thumb.Width+"px";
				}
				img.onmouseout = function(){
					this.style.height = "55px";
					this.style.width = "55px";
				}

				try{
					a.appendChild(img);
					li.appendChild(a);
					ul.appendChild(li);
				}catch(ex){
				  alert(ex);
				}
			}
		}
 		try{
 			div.appendChild(ul);
 		}catch(ex){
 			alert(ex)
 		}
	 }
 }