var xmlHttp=createXmlHttpRequestObject();
var HOST_DOMAIN="http://www.threenine.eu";
function createXmlHttpRequestObject(){
var _1;
try{
_1=new XMLHttpRequest();
}
catch(e){
var _2=new Array("MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP");
for(var i=0;i<_2.length&&!_1;i++){
try{
_1=new ActiveXObject(_2[i]);
}
catch(e){
}
}
}
if(!_1){
alert("Error creating XMLHttpRequest object.");
}else{
return _1;
}
};
function process_artists(_4,d){
if(xmlHttp){
try{
xmlHttp.open("GET",HOST_DOMAIN+"/artist_slider.php?gid="+_4+"&d="+d,true);
xmlHttp.onreadystatechange=ar_handleRequestStateChange;
xmlHttp.send(null);
}
catch(e){
alert("Can't connect to server:\n"+e.toString());
}
}
};
function ar_handleRequestStateChange(){
if(xmlHttp.readyState==4){
if(xmlHttp.status==200){
try{
ar_handleServerResponse();
}
catch(e){
alert("Error reading the response:\n"+e.toString());
}
}else{
alert("There was a problem retrieving the data:\n"+xmlHttp.statusText);
}
}
};
function ar_handleServerResponse(){
var _6=xmlHttp.responseXML;
if(!_6||!_6.documentElement){
throw ("Invalid XML Structure:\n"+xmlHttp.responseText);
}
var _7=_6.documentElement.nodeName;
if(_7=="parseerror"){
throw ("Invalid XML Structure:\n"+xmlHttp.responseText);
}
xmlRoot=_6.documentElement;
if(_7!="gallerySelect"||!xmlRoot.firstChild){
throw ("Invalid XML Structure:\n"+xmlHttp.responseText);
}
responseText=xmlRoot.firstChild.data;
myDiv=document.getElementById("gallerySelect");
myDiv.innerHTML=responseText;
};
function startFade(_8){
_8.innerHTML=responseText;
};

