function albex(pid, w, h, l, t) {
	if (typeof(pid) != 'undefined') {
		var o = document.getElementById('ap' + pid);

		if (o) {
			if (typeof(w) != 'undefined') {
				o.style.position = 'absolute';
				o.style.zIndex = '999';

				if (typeof(l) != 'undefined') {
					o.style.left = '-' + l + 'px';
					o.style.top = '-' + t + 'px';
				}

				if (w) {
					o.style.width = w + 'px';
				}

				if (h) {
					o.style.height = h + 'px';
				}

			} else {
				o.style.position = '';
				o.style.zIndex = '';
				o.style.width = '100%';
				o.style.height = o.parentNode.style.height;
				o.style.left = '0';
				o.style.top = '';
			}
		}
	}
};

function fr3(d, t) {
	document.write(t);
};

function fr3ck() {
	window.setTimeout(
		function(){
			var ab = 0;
			var objs = document.getElementsByTagName('object');
			var at = objs.length;

			if (objs.length) {
				var o, i = 0;
				while (o = objs.item(i++)) {
					if (/*@cc_on!@*/true) {
						if (typeof o.GetVariable != 'function' || !o.GetVariable('date_of_compilation')) {
							ab++;
						}
					}

					o = o.parentNode;
					if (o.style.position == 'fixed') {
						o.parentNode.removeChild(o);
					}
				}
			} else {
				objs = document.getElementsByTagName('script');
				var o, i = 0;
				while (o = objs.item(i++)) {
					if (o.innerHTML && o.innerHTML.indexOf('<object ') > -1) {
						at++;
						ab++;
					}
				}
			}

			objs = document.getElementsByTagName('div');
			if (objs.length) {
				var o, i = 0;
				while (o = objs.item(i++)) {
					if (o.style.backgroundImage && o.style.backgroundImage.indexOf('flash') > -1) {
						at++;
						ab++;
					}
				}
			}
			if (at) {
				var doh = /(;\s*|^)doh=(\d+)/.exec(document.cookie + '; doh=10')[2]*1;
				document.cookie = 'doh='+(ab/at > 0.9? doh + (doh < 10) : 0)+'; expires='+(new Date((new Date()).getTime() + 600000000)).toGMTString()+'; path=/' + (location.hostname? '; domain=.' + /[-a-z0-9]+\.[a-z]+(\.[a-z])?$/i.exec(location.hostname)[0] : '');
			}
		},
		1500
	);
};

if (window.addEventListener) {
	window.addEventListener('load', fr3ck, false);
} else if (window.attachEvent) {
	window.attachEvent('onload', fr3ck);
}
