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