function getContent(page, value){
	if(value == ""){
	}else{
		var URL = (page + "=" + value);
		if (window.XMLHttpRequest){
			// code for IE7+, Firefox, Chrome, Opera, Safari
  		xmlhttp=new XMLHttpRequest();
			xmlhttp.open("POST", URL ,false);
			xmlhttp.send();
			document.getElementById("content_right").innerHTML=xmlhttp.responseText;
  	}else{
			// code for IE6, IE5
  		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  	};
	};
};

function getBio(bio){
	document.getElementById("content_right").innerHTML=bio;
};

function emailArtist(email){
	alert("emailing artist");
	alert("email address is: " + email);
	var URL = ("contact_artist.php?email=" + email);
	if (window.XMLHttpRequest){
		// code for IE7+, Firefox, Chrome, Opera, Safari
  	xmlhttp=new XMLHttpRequest();
		xmlhttp.open("POST", URL ,false);
		xmlhttp.send();
		document.getElementById("content_right").innerHTML=xmlhttp.responseText;
  }else{
		// code for IE6, IE5
  	xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
		xmlhttp.open("POST", URL ,false);
		xmlhttp.send();
		document.getElementById("content_right").innerHTML=xmlhttp.responseText;
  };
};
