var xmlHttp

function findSpecialsContent( cat, day, url ) {

	xmlHttp=GetXmlHttpObject();	
	if ( xmlHttp == null ) {
		alert ("Your browser does not support AJAX!");
		return;
	}	
	xmlHttp.onreadystatechange=stateChanged;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
	
} 

function stateChanged() {
	
	if (xmlHttp.readyState==4) { 
		document.getElementById("topSellProds").innerHTML=xmlHttp.responseText;
		// 3-13-2008, This is used for the sIFR text replace
		// Decided to take out 3/13
		/*sIFR.replace(futura, {
			selector: 'h3.headline',
			ratios: [6,0.24,7,0.21,8,0.18,10,0.16,11,0.13,12,0.12,13,0.11,15,0.1,17,0.09,19,0.08,22,0.07,26,0.06,32,0.05,41,0.04,58,0.03,97,0.02,0.01],
			wmode: 'transparent',
			fixFocus: 'true',
			
			css: [
			   '.sIFR-root {font-weight: bold;  leading:-2px; }'
			  ,'a { text-decoration: none; }'
			  ,'a:link { color: #000000; }'
			  ,'a:hover { color: #000000; }'
    		]			
	  	});	*/	
	}
}

function GetXmlHttpObject() {	
	var xmlHttp=null;	
	try {		
		// Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest();		
	} catch (e) {		
		// Internet Explorer
		try	{
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}		
	}	
	return xmlHttp;	
}
