var iDesktopPlayer_d7deaa4f6b = { width : 840, height: 500,
	frameSrc: 'http://www.idesktop.tv/embed/d7deaa4f6b/index.html',
	init: function () {
		if (this.frame) return;
		this.div = document.getElementById('IDTVP_d7deaa4f6b');
		if (!this.div && document.getElementsByClassName)
			try {
				this.div = document.getElementsByClassName ('idtv_d7deaa4f6b')[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/d7deaa4f6b/main.gif?r=" + document.location;
	}
}
function iDTVinit_d7deaa4f6b () {iDesktopPlayer_d7deaa4f6b.init.apply(iDesktopPlayer_d7deaa4f6b);}
if (document.getElementById('IDTVP_d7deaa4f6b'))
	iDTVinit_d7deaa4f6b();
else if (window.attachEvent)
	window.attachEvent('onload', iDTVinit_d7deaa4f6b);
else if (window.addEventListener)
	window.addEventListener('load', iDTVinit_d7deaa4f6b , true);