function ajaxFunction() {
		  try {
		    // Firefox, Opera 8.0+, Safari
		    return new XMLHttpRequest();
		    }
		  catch (e) {
		    // Internet Explorer
		    try {
		      return new ActiveXObject("Msxml2.XMLHTTP");
		      }
		    catch (e) {
		      try {
		        return new ActiveXObject("Microsoft.XMLHTTP");
		        }
		      catch (e) {
		        alert("Your browser does not support AJAX!");
		        return false;
		        }
		      }
		    }
		  }
		  		
		function createGreybox(url) {
			
			var xmlHttp = ajaxFunction();
	
			var mask = document.createElement('div');
			
			mask.id = "mask";
			
			document.body.appendChild(mask);
						
		    xmlHttp.onreadystatechange=function()
		      {
		      if(xmlHttp.readyState==4)
		        {
		        //alert(xmlHttp.responseText);
		        var gb = document.createElement('div');
		        gb.id = "greybox";
		        var html = '<table cellspacing="0" cellpadding="0" border="0" width="600px">' +
		                     '<tbody>' +
		                       '<tr>' + 
		                         '<td class="greybox_c"></td>' +
		                         '<td class="greybox_t"></td>' +
		                         '<td class="greybox_c"></td>' +
		                       '</tr>' + 
		                       '<tr>' + 
		                         '<td class="greybox_s"></td>' +
		                         '<td class="greybox_content">' + 
		                           xmlHttp.responseText + 
		                           '<div class="greybox_footer">' +
		                             '<a class="greybox_questions" href="http://emulan.uoregon.edu/forum">questions?</a>' +
		                             '<a class="greybox_close" onclick="closegb(); return false;" href="#">close x</a>' +
		                           '</div>' + 
		                         '</td>' +
		                         '<td class="greybox_s"></td>' +
		                       '</tr>' + 
		                       '<tr>' + 
		                         '<td class="greybox_c"></td>' +
		                         '<td class="greybox_b"></td>' +
		                         '<td class="greybox_c"></td>' +
		                       '</tr>' + 
		                     '</tbody>' + 
		                   '</table>';
		        
		        gb.innerHTML = html;
		        document.getElementById('left').appendChild(gb);
		        }
		      }
		
	   /* urchinTracker(url);*/
			
	    xmlHttp.open("GET",url,true);
	    xmlHttp.send(null);
	   	    
		}
		
		function closegb() {
			document.getElementById('left').removeChild(document.getElementById("greybox"));
			document.body.removeChild(document.getElementById("mask"));
		}
		
		function expand(id) {
			if (document.getElementById(id).style.display == 'none') {
				document.getElementById(id).style.display = 'block';	
			}
			else {
				document.getElementById(id).style.display = 'none';		
			}
		}
