	function hideimg() {		var theDiv = document.getElementById('outshade');		theDiv.innerHTML = '&nbsp;';		var myimg = document.getElementById('outshade').style;		myimg.display = "none";	}		function showimg(which) {		var myImgString = 'id='+which;		makeRequest('showimg.php',myImgString);	}		function makeRequest(theurl,whichimg) {        var http_request = false;        if (window.XMLHttpRequest) { // Mozilla, Safari, ...            http_request = new XMLHttpRequest();            if (http_request.overrideMimeType) {                http_request.overrideMimeType('text/xml');            }        } else if (window.ActiveXObject) { // IE            try {                http_request = new ActiveXObject("Msxml2.XMLHTTP");            } catch (e) {                try {                    http_request = new ActiveXObject("Microsoft.XMLHTTP");                } catch (e) {}            }        }        if (!http_request) {            alert('Giving up: Cannot create an XMLHTTP instance');            return false;        }        http_request.onreadystatechange = function() { processResults(http_request); };        http_request.open('POST', theurl, true);		http_request.setRequestHeader('Content-Type','application/x-www-form-urlencoded');        http_request.send(whichimg);	}		function processResults(http_request) {        if (http_request.readyState == 4) {            if (http_request.status == 200) {				var myResponse = http_request.responseText;				var myimg = document.getElementById('outshade').style;				myimg.display = "block";				var theDiv = document.getElementById('outshade');				theDiv.innerHTML = myResponse;            } else {                alert('There was a problem with the request.');            }        }    }		function thumbShady(which,theother) {		//this.style.backgroundImage='url(img/thumbshade.gif)'; this.style.cursor='pointer';		var theThumb = document.getElementById(theother);		which.style.backgroundImage='url(img/thumbshade.gif)';		which.style.cursor='pointer';		theThumb.style.backgroundColor='#fff';		theThumb.style.color='#333';	}		function offShady(which,theother) {		var offThumb = document.getElementById(theother);		which.style.backgroundImage='none';		which.style.cursor='default';		offThumb.style.backgroundColor='#66615C';		offThumb.style.color='#fff';	}