function loadXMLDoc(content_name){if (window.XMLHttpRequest)  {// code for IE7+, Firefox, Chrome, Opera, Safari  xmlhttp=new XMLHttpRequest();  }else  {// code for IE6, IE5  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");  }xmlhttp.onreadystatechange=function()  {  if (xmlhttp.readyState==4 && xmlhttp.status==200)    {    document.getElementById("content_home").innerHTML=xmlhttp.responseText;    }  }contentpath = "home_artists/" + content_name;xmlhttp.open("GET",contentpath,true);xmlhttp.send();}function rotatecontent() {    //NOTE:    //home artist files go into the 'home_artists' directory in the root directory.    //1st item in array is the filename to display in January    //12th item in array is the filename to display in December    //Onload the script checks the current month and displays the     //contents of the specified filename inside the 'content_home' div.		 homecontent = new Array('featured_home_jan11.html',	 'featured_home_feb11.html',	 'featured_home_march11.html',	 'featured_home_april11.html',	 'featured_home_may1.html',	 'featured_home_june1.html',	 'featured_home_july11.html',	 'featured_home_aug11.html',	 'featured_home_oct10.html',	 'featured_home_oct11.html',	 'featured_home_nov11.html',	 'featured_home_dec11.html');	 	 content_directory = "home_artists";      current_date  = new Date();      current_month = current_date.getMonth();      artists = homecontent[current_month];      loadXMLDoc(artists);      //alert(artists)}
