/* XML HTTP Request Functions */
var xmlhttp;
/*@cc_on @*/
	/*@if (@_jscript_version >= 5)
		try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(E){xmlhttp=false}}
	@else
		xmlhttp=false
@end @*/
if(!xmlhttp && typeof XMLHttpRequest!='undefined'){
		try{xmlhttp=new XMLHttpRequest();}
		catch(e){xmlhttp=false}
	}

function navhigh(el){
	var n=document.getElementById('pix_thumb');
	if(!n)return;
	var a=n.getElementsByTagName('a');
	for(var i=0;i<a.length;i++){
		if(a[i].id == el)
			a[i].className='pix_active';
		else
			a[i].className='';
	}
}

function gc(el,page,id){
 	if(!xmlhttp) alert('You may need to upgrade your browser to support XMLHTTP.');
	xmlhttp.open("GET", page,true);
	xmlhttp.onreadystatechange=function(){
		if(xmlhttp.readyState==4){
			if(xmlhttp.status==404){
				alert('This page does not currently exist.');
				return;
			}
			var area=document.getElementById(el);
			area.innerHTML=xmlhttp.responseText;
		}
	}
	xmlhttp.setRequestHeader('If-Modified-Since','Mon, 10 Jan 2005 00:00:01 GMT');
	xmlhttp.send(null);
	navhigh(id);
}
