if(typeof sIFR == "function"){
    sIFR.replaceElement("h1", named({sFlashSrc: "/images/Barmeno_bold.swf", sColor: "#000000", sCase: "normal", sWmode: "transparent"}));
    sIFR.replaceElement("h3.hd", named({sFlashSrc: "/images/Barmeno_bold.swf", sColor: "#730909", sCase: "normal", sWmode: "transparent"}));
    sIFR.replaceElement("h2", named({sFlashSrc: "/images/Barmeno_bold.swf", sColor: "#444444", sCase: "normal", sWmode: "transparent"}));
    //sIFR.replaceElement("span", named({sFlashSrc: "/images/Barmeno.swf", sColor: "#404040", sCase: "normal", sWmode: "transparent"}));
    
};

function getHTTPObject() {
    var xmlhttp = false;
    
 	if (window.ActiveXObject)
 	{
     	xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
 	}
 	else
    {
        xmlhttp = new XMLHttpRequest();
    }
    return xmlhttp;
}

function tn_xml2div(vid,vfunc,vvars,run) { // requires vid=div id, vfunc = function, vvars=vars
	var xmlhttp = getHTTPObject();

	xmlhttp.open("GET", "/engine.php?func="+vfunc+"&vars="+escape(vvars),true); // Open verbinding via GET, via deze URL en communiceer asynchroon
	xmlhttp.onreadystatechange = function()  { 
    	if (xmlhttp.readyState == 4) 
    	{
        	document.getElementById(vid).innerHTML = xmlhttp.responseText; // geef de data weer in een dialoogvenster
   			if (run != '')
   			{
	   			eval(run);
   			}
    	}
    }
	xmlhttp.send(null) // Verstuur de request
}




	var as = document.getElementsByTagName('a');
	for (i = 0; i < as.length; i++)
	{
		as[i].onmouseover = function()
		{
			window.status = '';
			return true;
		}
	}

	
	function track_merchant(merchant, that)
	{
	
		var xmlhttp = getHTTPObject();
		xmlhttp.open("GET", "/engine.php?func=track_merchant&vars="+escape("id="+merchant),true); // Open verbinding via GET, via deze URL en communiceer asynchroon
		xmlhttp.send(null) // Verstuur de request			
		window.open(that.href);
		return false;
	}

