var old_id = '';
function musiqi_gelsun( location ) 
{
	//window.document.mp3p.SetVariable("location", "http://wap.3500.az/dinlet/mp3/" + location + ".mp3");
	//window.document.mp3p.SetVariable("getting", 1);
	var flashvars_35656 = {};
		var params_35656 = {
				quality: "high",
				wmode: "transparent",
				bgcolor: "#ffffff",
				allowScriptAccess: "always",
				allowFullScreen: "true",
				flashvars: "url=http://wap.3500.az/dinlet/mp3/" + location + ".mp3&autostart=yes"
			};
	var attributes_35656 = {};
        flashObject("banner/player_new.swf", "lecteur_mp3_35656", "480", "40", "8", false, flashvars_35656, params_35656, attributes_35656);
	document.getElementById(location).style.color = "#CF0342";
	if(old_id=='' || location==old_id){
	}else{
		document.getElementById(old_id).style.color = '#000';
		
	}
	old_id = location;
	xmlhttpPost('http://www.3500.az/?/aze//home/update/'+location,'');
}

function xmlhttpPost(strURL,query) {
    var xmlHttpReq = false;
    var self = this;
    // Mozilla/Safari
    if (window.XMLHttpRequest) {
        self.xmlHttpReq = new XMLHttpRequest();
    }
    // IE
    else if (window.ActiveXObject) {
        self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
    }
    self.xmlHttpReq.open('POST', strURL, true);
    self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    self.xmlHttpReq.onreadystatechange = function() {
        if (self.xmlHttpReq.readyState == 4) {
            //updatepage(self.xmlHttpReq.responseText,divid);
        }
    }
    self.xmlHttpReq.send(query);
}

