(function(){
    var ad = document.getElementById('hnceAD');
    ad.id=null;
    if(ad == null) {
        window.defaultStatus='script id=hnceAD !!!';
        return;
    }
    eval("var options="+ad.className);
    ifr = document.createElement('iframe');
    ifr.width = options.width;
    ifr.height = options.height;
    ifr.frameBorder=0;
    ifr.scrolling='no';
    var url = options.url;
    if(!/\?/.test(url)) url += '?';
    url += typeof options.width=='undefined'?'':'&width='+options.width;
    url += typeof options.height=='undefined'?'':'&height='+options.height;
    url += typeof options.linkColor=='undefined'?'':'&linkColor='+escape(options.linkColor);
    if(options.textColor!=options.bgColor) {
        url += typeof options.textColor=='undefined'?'':'&textColor='+escape(options.textColor);
        url += typeof options.bgColor=='undefined'?'':'&bgcolor='+escape(options.bgColor);
    }
	try{		
		url += "&r=" + escape(top.document.location);
	}catch(e){
		try{
			url += "&r=" + escape(document.location);
		}catch(e){};
	};
    ifr.src = url;			
    ad.parentNode.replaceChild(ifr,ad);

})();
