function Details()
{
	var m_detailspane = document.getElementById("pane_Details");
	var m_detailscontent = document.getElementById("content_Details");
	var m_similarpane = document.getElementById("pane_Similar");
	var m_similarcontent = document.getElementById("content_Similar");
	
	this.showDetails = function(type, pid)
		{
			var arg = new Object();
			if(type!=null)
				arg.type = type;
			if(pid!=null)
				arg.id = pid;
			_console.getComponentContent("details", arg, this.showDetailsCallBack);
			this.showSimilar(type, pid, 1);
			_util.cancelEvt(window.event);
		}
		
	this.showSimilar = function(type, pid, pn)
		{
			var arg = new Object;
			if(type!=null)
				arg.type = type;
			if(pid!=null)
				arg.id = pid;

			arg.ps = ProgramList.SIMILAR_PAGESIZE;
			arg.pn = pn;
			arg.ptrs = ProgramList.PAGESIZE_THUMB_ROWSIZE_LARGE;

			arg.menuChannelIndex=g_lastChannelIndex;
			arg.menuChannelId=g_lastChannelId;

			/// TEMPORARY
//			arg.id = 3793;
			
			_console.getComponentContent("similar", arg, this.showSimilarCallBack);
		}
	this.showDetailsCallBack = function(results)
		{
			m_detailscontent.innerHTML = results;
		}
	
	this.showSimilarCallBack = function(results)
		{
			m_similarcontent.innerHTML = results;
		}
}