var iDesktopPlayer_8b3d154ad7 = { width : 500, height: 420,
	frameSrc: 'http://www.idesktop.tv/embed/8b3d154ad7/index.html',
	init: function () {
		if (this.frame) return;
		this.div = document.getElementById('IDTVP_8b3d154ad7');
		if (!this.div && document.getElementsByClassName)
			try {
				this.div = document.getElementsByClassName ('idtv_8b3d154ad7')[0];
			} catch(e) {}
		if (!this.div) { alert ('The iDesktop.tv player is not embedded properly!'); return false; }
		this.div.innerHTML = '';
		this.div.style.width = this.width + "px";
		this.div.style.height = this.height + "px";
		this.frame = document.createElement('iframe');
		this.frame.src = this.frameSrc;
		this.frame.style.padding = "0px";
		this.frame.style.borderWidth = "0px";
		this.frame.style.width = this.frame.style.height = "100%";
		this.frame.frameBorder = "0";
		this.div.style.overflow = this.frame.style.overflow = "hidden";
		this.div.appendChild(this.frame);

		var i = new Image();
		i.src = "http://www.idesktop.tv/embed/8b3d154ad7/main.gif?r=" + document.location;
	}
}
function iDTVinit_8b3d154ad7 () {iDesktopPlayer_8b3d154ad7.init.apply(iDesktopPlayer_8b3d154ad7);}
if (document.getElementById('IDTVP_8b3d154ad7'))
	iDTVinit_8b3d154ad7();
else if (window.attachEvent)
	window.attachEvent('onload', iDTVinit_8b3d154ad7);
else if (window.addEventListener)
	window.addEventListener('load', iDTVinit_8b3d154ad7 , true);