//Subscribed and your banner
var mal_timer_rZKw5zOHPgtEEahY3nHh=null;
var mal_rZKw5zOHPgtEEahY3nHh_banner=null;
function mal_display_rZKw5zOHPgtEEahY3nHh(mal_code,mal_w,mal_h,mal_bid) {
	mal_rZKw5zOHPgtEEahY3nHh_banner=mal_bid;
	mal_ins=document.createElement("div");
	mal_ins.style.width=mal_w+"px";
	mal_ins.style.height=mal_h+"px";
	mal_ins.innerHTML=mal_code;
	if (mal_tar=document.getElementById("mal_holder_rZKw5zOHPgtEEahY3nHh")) {
		mal_kids=mal_tar.childNodes;
		for(mal_i=mal_kids.length-1;mal_i>=0;mal_i--) mal_tar.removeChild(mal_kids[mal_i]);
		mal_tar.appendChild(mal_ins);
		mal_rotate=1;
		if (mal_rotate>0) setTimeout('mal_fetch_rZKw5zOHPgtEEahY3nHh()',mal_rotate*1000*60);
	}
}
function mal_fetch_rZKw5zOHPgtEEahY3nHh() {
    mal_docUrl="http://www.myadlinx.com/holder.php?apikey=rZKw5zOHPgtEEahY3nHh&type=json&lastbanner="+mal_rZKw5zOHPgtEEahY3nHh_banner;
	mal_Obj = new mal_JSON(mal_docUrl);
	mal_Obj.buildScriptTag();
	mal_Obj.addScriptTag();
}
function mal_JSON(fullUrl) {
    this.fullUrl = fullUrl; 
    this.noCacheIE = '&noCacheIE=' + (new Date()).getTime();
    this.headLoc = document.getElementsByTagName("head").item(0);
    this.scriptId = 'JscriptId' + mal_JSON.scriptCounter++;
}
mal_JSON.scriptCounter = 1;
mal_JSON.prototype.buildScriptTag = function () {
    this.scriptObj = document.createElement("script");
    this.scriptObj.setAttribute("type", "text/javascript");
    this.scriptObj.setAttribute("charset", "utf-8");
    this.scriptObj.setAttribute("src", this.fullUrl + this.noCacheIE);
    this.scriptObj.setAttribute("id", this.scriptId);
}
mal_JSON.prototype.removeScriptTag = function () {
    this.headLoc.removeChild(this.scriptObj);  
}
mal_JSON.prototype.addScriptTag = function () {
    this.headLoc.appendChild(this.scriptObj);
}
mal_display_rZKw5zOHPgtEEahY3nHh('<object width=\"162\" height=\"100\"><param name=\"movie\" value=\"http://bannerpanel.net/banner/877.swf\"><embed src=\"http://bannerpanel.net/banner/877.swf\" width=\"162\" height=\"100\"></embed></object>',162,100,748);

