//JavaScript Document
var New_Module = Class.create();
New_Module.prototype = {
	initialize:function(con, typ,artist_id, loc_id){
		//the container it goes in
		this.container = con;
		//left, middle,player_left,player_right
		this.type = typ;
		//program name and tagline
		this.program_name = 'NEW!';
		this.tagline_text = '- Discover NEW! Music';
		//artist_id for artist
		if(artist_id){
			this.art = artist_id;
		}else{
			this.art = 0;	
		}
		//track location id
		if(loc_id){
			this.loc = loc_id;
		}else{
			this.loc = 0;	
		}
		//get the ncdb contents for that module
		this.get_New_Module();
	},
	get_New_Module:function(){
		var params = {art:this.art, loc:this.loc};
		//fire off a new ajax request to the nddbmodule.php
		new Ajax.Request(
			'/cc-common/js/ajax_services/newModule.php',
			{
				method:'get',
				parameters: params,
				//when the program returns, build the module
				on200:this.build_New_Module.bind(this)
			}
		);
	},
	build_New_Module:function(transport){
		//eval the JSON object
		eval(transport.responseText);
		//if there aren't any artist in the return, hide the module and exit
		if(Object.keys(o).length == 0){
			this.container.style.display='none';
			return;
		}else{
			//if the object has items, build it based on type
			if(this.type.match(/landing_list/)){
				//build middle module
				this.build_landing_list_module(o);
			}else if(this.type.match(/landing_left/)){
				//build middle module
				this.build_landing_left_module(o);
			}else if(this.type.match(/player_left/)){
				//build middle module
				this.build_player_left_module(o);
			}else if(this.type.match(/player_right/)){
				//build left module
				this.build_player_right_module(o);
			}else if(this.type.match(/left/)){
				//build left module
				this.build_left_module(o);
			}else if(this.type.match(/middle/)){
				//build middle module
				this.build_middle_module(o);
			}else{
				//if the type is incorrect, hide the module and exit
				this.container.style.display='none';
				return;
			}
		}
	},
	build_landing_list_module:function(obj){
		//create the header and header text
		this.bottomLeftHeader = JTools._createDOMElement('div', 'bottomMiddleHeader', [{name:'id',value:'list_header'}]);
		this.bottomLeftHeaderMainText = JTools._createDOMElement('div', 'bottomMiddleHeaderMainText', [{name:'id',value:'list_header_text'}]);
		this.bottomLeftHeaderMainText_h3 = JTools._createDOMElement('h3', false, [{name:'id',value:'list_header_text_h3'}], this.program_name);
		this.bottomLeftHeaderMainText.appendChild(this.bottomLeftHeaderMainText_h3);
		this.bottomLeftHeader.appendChild(this.bottomLeftHeaderMainText);
		this.container.appendChild(this.bottomLeftHeader);
		this.bottomMiddleModuleContent = JTools._createDOMElement('div', 'bottomMiddleModuleContent', [{name:'id',value:'list'}]);
		this.bottomMiddleList = JTools._createDOMElement('div', 'bottomMiddleList', [{name:'id',value:'list_scroller'}]);
		this.bottomMiddleList_p = JTools._createDOMElement('p', 'list', [{name:'id',value:'list_scroller_p'}]);
		this.bottomMiddleList.appendChild(this.bottomMiddleList_p);
		this.bottomMiddleModuleContent.appendChild(this.bottomMiddleList);
		this.container.appendChild(this.bottomMiddleModuleContent);
		for(var i = 0; i<Object.keys(obj).length; i++){
			this.build_list_item(obj['artist_'+i], i);
		}
	},
	build_player_left_module:function(obj){
		//create the module left header
		this.module_left_header = JTools._createDOMElement('div','module_left_header',[{name:'id', value:this.container.id+'_module_left_header'}]);
		//create teh header text
		var header_text = this.program_name + this.tagline_text;		
		this.module_left_header_text = JTools._createDOMElement('div','module_left_header_text',[{name:'id', value:this.container.id+'_module_left_header_text'}], header_text);
		//append the header test to the header
		this.module_left_header.appendChild(this.module_left_header_text);
		//append the header div to the container
		this.container.appendChild(this.module_left_header);
		
		//create the module_left_featured_content
		this.module_left_featured_content = JTools._createDOMElement('div','module_left_featured_content',[{name:'id', value:this.container.id+'_module_left_featured_content'}]);
		//create the module_left_featured_img
		this.module_left_featured_img = JTools._createDOMElement('div','module_left_featured_img',[{name:'id', value:this.container.id+'_module_left_featured_img'}]);
		//create the module_left_featured_img_img
		this.module_left_featured_img_img = JTools._createDOMElement('img',false,[{name:'id', value:this.container.id+'_module_left_featured_img_img'}, {name:'src', value:'/cc-common/templates/thumbnail2.php?wid=91&hei=63&convert_img=http://content.clearchannel.com'+escape(obj.artist_0.artist_photo)+'&wmax=91&hmax=63&quality=90'}, {name:'width', value:91},{name:'height', value:63}]);
		//append the module_left_featured_img_img to the module_left_featured_img
		this.module_left_featured_img.appendChild(this.module_left_featured_img_img);
		//observe featured click
		Event.observe(this.module_left_featured_img, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the module_left_featured_img to the module_left_featured_content
		this.module_left_featured_content.appendChild(this.module_left_featured_img);
		
		//create the module_left_featured_content_content
		this.module_left_featured_content_content = JTools._createDOMElement('div','module_left_featured_content_content',[{name:'id', value:this.container.id+'_module_left_featured_content_content'}]);
		//create teh module_left_featured_content_content_name_play
		this.module_left_featured_content_content_name_play = JTools._createDOMElement('div','module_left_featured_content_content_name_play',[{name:'id', value:this.container.id+'_module_left_featured_content_content_name_play'}]);
		//create the module_left_featured_content_content_name_play_button
		this.module_left_featured_content_content_name_play_button = JTools._createDOMElement('div','module_left_featured_content_content_name_play_button',[{name:'id', value:this.container.id+'_module_left_featured_content_content_name_play_button'}]);
		//append the module_left_featured_content_content_name_play_button to the module_left_featured_content_content_name_play
		this.module_left_featured_content_content_name_play.appendChild(this.module_left_featured_content_content_name_play_button);
		//observe featured click
		Event.observe(this.module_left_featured_content_content_name_play_button, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//create teh module_left_featured_content_content_name_play_text
		this.module_left_featured_content_content_name_play_text = JTools._createDOMElement('div','module_left_featured_content_content_name_play_text',[{name:'id', value:this.container.id+'_module_left_featured_content_content_name_play_text'}], obj.artist_0.name);
		//append teh module_left_featured_content_content_name_play_text to the module_left_featured_content_content_name_play
		this.module_left_featured_content_content_name_play.appendChild(this.module_left_featured_content_content_name_play_text);
		//observe featured click
		Event.observe(this.module_left_featured_content_content_name_play_text, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the module_left_featured_content_content_name_play to the module_left_featured_content_content
		this.module_left_featured_content_content.appendChild(this.module_left_featured_content_content_name_play);
		//create teh module_left_featured_content_content_desc
		this.module_left_featured_content_content_desc = JTools._createDOMElement('div','module_left_featured_content_content_desc',[{name:'id', value:this.container.id+'_module_left_featured_content_content_desc'}], obj.artist_0.teaser);
		//append the module_left_featured_content_content_desc to the module_left_featured_content_content
		this.module_left_featured_content_content.appendChild(this.module_left_featured_content_content_desc);
		//observe featured click
		Event.observe(this.module_left_featured_content_content, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the module_left_featured_content_content to the module_left_featured_content
		this.module_left_featured_content.appendChild(this.module_left_featured_content_content);
		//append the module_left_featured_content to the container
		this.container.appendChild(this.module_left_featured_content);
		
		//create teh module_left_content
		this.module_left_content = JTools._createDOMElement('div','module_left_content',[{name:'id', value:this.container.id+'_module_left_content'}]);
		//loop through the artsits
		for(i=1;i<Object.keys(obj).length;i++){
			this.build_player_left_item(obj['artist_'+i], i);
		}
		
		//append teh module_left_content to the container
		this.container.appendChild(this.module_left_content);
	},
	build_player_right_module:function(obj){
		//create the module left header
		this.module_right_header = JTools._createDOMElement('div','module_right_header',[{name:'id', value:this.container.id+'_module_right_header'}]);
		//create teh header text
		var header_text = this.program_name + this.tagline_text;		
		this.module_right_header_text = JTools._createDOMElement('div','module_right_header_text',[{name:'id', value:this.container.id+'_module_right_header_text'}], header_text);
		//append the header test to the header
		this.module_right_header.appendChild(this.module_right_header_text);
		//append the header div to the container
		this.container.appendChild(this.module_right_header);
		
		//create the module_right_featured_content
		this.module_right_featured_content = JTools._createDOMElement('div','module_right_featured_content',[{name:'id', value:this.container.id+'_module_right_featured_content'}]);
		//create the module_right_featured_img
		this.module_right_featured_img = JTools._createDOMElement('div','module_right_featured_img',[{name:'id', value:this.container.id+'_module_right_featured_img'}]);
		//create the module_right_featured_img_img
		this.module_right_featured_img_img = JTools._createDOMElement('img',false,[{name:'id', value:this.container.id+'_module_right_featured_img_img'}, {name:'src', value:'/cc-common/templates/thumbnail2.php?wid=105&hei=72&convert_img=http://content.clearchannel.com'+escape(obj.artist_0.artist_photo)+'&wmax=105&hmax=72&quality=90'}, {name:'width', value:105},{name:'height', value:72}]);
		//append the module_right_featured_img_img to the module_right_featured_img
		this.module_right_featured_img.appendChild(this.module_right_featured_img_img);
		//observe featured click
		Event.observe(this.module_right_featured_img, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the module_right_featured_img to the module_right_featured_content
		this.module_right_featured_content.appendChild(this.module_right_featured_img);
		
		//create the module_right_featured_content_content
		this.module_right_featured_content_content = JTools._createDOMElement('div','module_right_featured_content_content',[{name:'id', value:this.container.id+'_module_right_featured_content_content'}]);
		//create teh module_right_featured_content_content_name_play
		this.module_right_featured_content_content_name_play = JTools._createDOMElement('div','module_right_featured_content_content_name_play',[{name:'id', value:this.container.id+'_module_right_featured_content_content_name_play'}]);
		//create the module_right_featured_content_content_name_play_button
		this.module_right_featured_content_content_name_play_button = JTools._createDOMElement('div','module_right_featured_content_content_name_play_button',[{name:'id', value:this.container.id+'_module_right_featured_content_content_name_play_button'}]);
		//append the module_right_featured_content_content_name_play_button to the module_right_featured_content_content_name_play
		this.module_right_featured_content_content_name_play.appendChild(this.module_right_featured_content_content_name_play_button);
		//observe featured click
		Event.observe(this.module_right_featured_content_content_name_play_button, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//create teh module_right_featured_content_content_name_play_text
		this.module_right_featured_content_content_name_play_text = JTools._createDOMElement('div','module_right_featured_content_content_name_play_text',[{name:'id', value:this.container.id+'_module_right_featured_content_content_name_play_text'}], obj.artist_0.name);
		//append teh module_right_featured_content_content_name_play_text to the module_right_featured_content_content_name_play
		this.module_right_featured_content_content_name_play.appendChild(this.module_right_featured_content_content_name_play_text);
		//observe featured click
		Event.observe(this.module_right_featured_content_content_name_play_text, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the module_right_featured_content_content_name_play to the module_right_featured_content_content
		this.module_right_featured_content_content.appendChild(this.module_right_featured_content_content_name_play);
		//create teh module_right_featured_content_content_desc
		this.module_right_featured_content_content_desc = JTools._createDOMElement('div','module_right_featured_content_content_desc',[{name:'id', value:this.container.id+'_module_right_featured_content_content_desc'}], obj.artist_0.teaser);
		//append the module_right_featured_content_content_desc to the module_right_featured_content_content
		this.module_right_featured_content_content.appendChild(this.module_right_featured_content_content_desc);
		//observe featured click
		Event.observe(this.module_right_featured_content_content, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the module_right_featured_content_content to the module_right_featured_content
		this.module_right_featured_content.appendChild(this.module_right_featured_content_content);
		//append the module_right_featured_content to the container
		this.container.appendChild(this.module_right_featured_content);
		
		//create teh module_right_content
		this.module_right_content = JTools._createDOMElement('div','module_right_content',[{name:'id', value:this.container.id+'_module_right_content'}]);
		//loop through the artsits
		for(i=1;i<Object.keys(obj).length;i++){
			this.build_player_right_item(obj['artist_'+i], i);
		}
		
		//append teh module_right_content to the container
		this.container.appendChild(this.module_right_content);
	},
	build_landing_left_module:function(obj){
		this.bottomLeftHeader = JTools._createDOMElement('div','bottomLeftHeader',[{name:'id', value:'bottomLeftHeader'}]);
		this.bottomLeftHeaderMainText = JTools._createDOMElement('div','bottomLeftHeaderMainText',[{name:'id', value:'bottomLeftHeaderMainText'}]);
		this.bottomLeftHeaderMainText_h3 = JTools._createDOMElement('h3',false,[{name:'id', value:'bottomLeftHeaderMainText_h3'}], this.program_name);
		this.bottomLeftHeaderMainText.appendChild(this.bottomLeftHeaderMainText_h3);
		this.bottomLeftHeader.appendChild(this.bottomLeftHeaderMainText);
		this.bottomLeftHeaderSubText = JTools._createDOMElement('div','bottomLeftHeaderSubText',[{name:'id', value:'bottomLeftHeaderSubText'}]);
		this.bottomLeftHeaderSubText_h4 = JTools._createDOMElement('h4',false,[{name:'id', value:'bottomLeftHeaderSubText_h4'}], this.tagline_text);
		this.bottomLeftHeaderSubText.appendChild(this.bottomLeftHeaderSubText_h4);
		this.bottomLeftHeader.appendChild(this.bottomLeftHeaderSubText);
		this.container.appendChild(this.bottomLeftHeader);
		this.featured_content = JTools._createDOMElement('div', 'bottomLeftModuleContent', [{name:'id', value:'featuredbottomLeftModuleContent'}]);
		this.featured_content_image = JTools._createDOMElement('div', 'bottomLeftImage', [{name:'id', value:'featuredbottomLeftImage'}]);
		this.featured_content_image.setStyle({'margin-right':'10px',cursor:'pointer'});
		this.featured_content_image_img = JTools._createDOMElement('img', false, [{name:'src', value:'/cc-common/templates/thumbnail2.php?wid=105&hei=72&convert_img=http://content.clearchannel.com'+escape(obj.artist_0.artist_photo)+'&wmax=105&hmax=72&quality=90'}]);
		this.featured_content_image_img.setStyle({
			border:'0px none #000000'									 
		});
		Event.observe(this.featured_content_image, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		this.featured_content_image.appendChild(this.featured_content_image_img);
		this.featured_content.appendChild(this.featured_content_image);
		this.featured_content_table = JTools._createDOMElement('table', false, [{name:'width', value:'175px'}]);
		this.featured_content_table_tbody = JTools._createDOMElement('tbody', false, []);
		this.featured_content_table_tr_1 = JTools._createDOMElement('tr', false, []);
		this.featured_content_table_tr_1_td_1 = JTools._createDOMElement('td', false, [{name:'width', value:'14px'}]);
		this.featured_content_table_tr_1_td_1_anchor = JTools._createDOMElement('a', false, [{name:'href', value:'javascript:void(window.open("/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc+'","_newplayer","width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no"));'}]);
		this.featured_content_table_tr_1_td_1_anchor_img = JTools._createDOMElement('img', false, [{name:'src', value:'images/playbuttonblack.jpg'}]);
		this.featured_content_table_tr_1_td_1_anchor_img.setStyle({border:'0px none #000000'});
		this.featured_content_table_tr_1_td_1_anchor.appendChild(this.featured_content_table_tr_1_td_1_anchor_img);
		this.featured_content_table_tr_1_td_1.appendChild(this.featured_content_table_tr_1_td_1_anchor);
		this.featured_content_table_tr_1.appendChild(this.featured_content_table_tr_1_td_1);
		this.featured_content_table_tr_1_td2 = JTools._createDOMElement('td', 'bigwhite', [{name:'width', value:'151px'}]);
		this.featured_content_table_tr_1_td2_anchor = JTools._createDOMElement('a', false, [{name:'href', value:'javascript:void(window.open("/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc+'","_newplayer","width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no"));'}], obj.artist_0.name);
		this.featured_content_table_tr_1_td2.appendChild(this.featured_content_table_tr_1_td2_anchor);
		this.featured_content_table_tr_1.appendChild(this.featured_content_table_tr_1_td2);
		this.featured_content_table_tbody.appendChild(this.featured_content_table_tr_1);
		this.featured_content_table_tr_2 = JTools._createDOMElement('tr', false, []);
		this.featured_content_table_tr_2_td_1 = JTools._createDOMElement('td', 'blue', [{name:'width', value:'175px'},{name:'colSpan', value:'2'}]);
		this.featured_content_table_tr_2_td_1_anchor = JTools._createDOMElement('a', false, [{name:'href', value:'javascript:void(window.open("/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc+'","_newplayer","width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no"));'}], obj.artist_0.teaser);
		this.featured_content_table_tr_2_td_1.appendChild(this.featured_content_table_tr_2_td_1_anchor);
		this.featured_content_table_tr_2.appendChild(this.featured_content_table_tr_2_td_1);
		this.featured_content_table_tbody.appendChild(this.featured_content_table_tr_2);
		this.featured_content_table.appendChild(this.featured_content_table_tbody);
		this.featured_content.appendChild(this.featured_content_table);
		this.container.appendChild(this.featured_content);
		for(i=1;i<Object.keys(obj).length;i++){
			this.build_left_landing_item(obj['artist_'+i], i);
		}
	},
	build_left_module:function(obj){
		//create the module header
		this.bottomLeftHeader = JTools._createDOMElement('div','bottomLeftHeader',[{name:'id', value:'bottomLeftHeader'}]);
		
		//create the bottomLeftHeaderMainText
		this.bottomLeftHeaderMainText =  JTools._createDOMElement('div','bottomLeftHeaderMainText',[{name:'id', value:'bottomLeftHeaderMainText'}]);
		//create the bottomLeftHeaderMainText_h3
		this.bottomLeftHeaderMainText_h3 =  JTools._createDOMElement('h3',false,[{name:'id', value:'bottomLeftHeaderMainText_h3'}], this.program_name);
		//append the bottomLeftHeaderMainText_h3 to the bottomLeftHeaderMainText
		this.bottomLeftHeaderMainText.appendChild(this.bottomLeftHeaderMainText_h3);
		
		//append the bottomLeftHeaderMainText to the bottomLeftHeader
		this.bottomLeftHeader.appendChild(this.bottomLeftHeaderMainText);
		
		//create teh bottomLeftHeaderSubText
		this.bottomLeftHeaderSubText = JTools._createDOMElement('div','bottomLeftHeaderSubText',[{name:'id', value:'bottomLeftHeaderSubText'}]);
		//create the bottomLeftHeaderSubText_h4
		this.bottomLeftHeaderSubText_h4 =  JTools._createDOMElement('h4',false,[{name:'id', value:'bottomLeftHeaderSubText_h4'}], this.tagline_text);
		//append the bottomLeftHeaderSubText_h4 to the bottomLeftHeaderSubText
		this.bottomLeftHeaderSubText.appendChild(this.bottomLeftHeaderSubText_h4);

		//append the bottomLeftHeaderSubText to the bottomLeftHeader
		this.bottomLeftHeader.appendChild(this.bottomLeftHeaderSubText);

		
		//append the bottomLeftHeader to the container
		this.container.appendChild(this.bottomLeftHeader);
		
		//create the bottomLeftModuleContent_top
		this.bottomLeftModuleContent_top = JTools._createDOMElement('div','bottomLeftModuleContent',[{name:'id', value:'bottomLeftModuleContent_top'}]);
		
		//create the bottomLeftImage div
		this.bottomLeftImage = JTools._createDOMElement('div','bottomLeftImage',[{name:'id', value:'bottomLeftImage'}]);
		//create teh bottomLeftImage_img
		this.bottomLeftImage_img = JTools._createDOMElement('img',false,[{name:'height', value:65},{name:'width', value:93},{name:'src',value:'/cc-common/templates/thumbnail2.php?wid=93&hei=65&convert_img=http://content.clearchannel.com'+escape(obj.artist_0.artist_photo)+'&wmax=93&hmax=65&quality=90'},{name:'id', value:'bottomLeftImage_img'}]);
		//append the bottomLeftImage_img to the bottomLeftImage
		this.bottomLeftImage.appendChild(this.bottomLeftImage_img);
		//observe the bottomLeftImage
		Event.observe(this.bottomLeftImage, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append teh bottomLeftImage to the bottomLeftModuleContent_top
		this.bottomLeftModuleContent_top.appendChild(this.bottomLeftImage);
		//create teh bottomLeftPlaybutton2
		this.bottomLeftPlaybutton2 = JTools._createDOMElement('div','bottomLeftPlaybutton2',[{name:'id', value:'bottomLeftPlaybutton2'}]);
		//create teh bottomLeftImage_img
		this.bottomLeftPlaybutton2_img = JTools._createDOMElement('img',false,[{name:'src',value:'/cc-common/ondemand/dev/images/playbutton.jpg'},{name:'id', value:'bottomLeftPlaybutton2_img'}]);
		//append the bottomLeftImage_img to the bottomLeftImage
		this.bottomLeftPlaybutton2.appendChild(this.bottomLeftPlaybutton2_img);
		//observe the bottomLeftPlaybutton2
		Event.observe(this.bottomLeftPlaybutton2, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append teh bottomLeftPlaybutton2 to tghe bottomLeftModuleContent_top
		this.bottomLeftModuleContent_top.appendChild(this.bottomLeftPlaybutton2);
		//create teh bottomLeftHeaderText
		this.bottomLeftHeaderText = JTools._createDOMElement('div','bottomLeftHeaderText',[{name:'id', value:'bottomLeftHeaderText'}]);
		//create the bottomLeftHeaderText_h1
		this.bottomLeftHeaderText_h1 = JTools._createDOMElement('h1',false,[{name:'id', value:'bottomLeftHeaderText_h1'}], obj.artist_0.name);
		//append the bottomLeftHeaderText_h1 to the bottomLeftHeaderText
		this.bottomLeftHeaderText.appendChild(this.bottomLeftHeaderText_h1);
		//observe the bottomLeftHeaderText
		Event.observe(this.bottomLeftHeaderText, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the bottomLeftHeaderText to the bottomLeftModuleContent_top
		this.bottomLeftModuleContent_top.appendChild(this.bottomLeftHeaderText);
		//create teh bottomLeftText
		this.bottomLeftText = JTools._createDOMElement('div','bottomLeftText',[{name:'id', value:'bottomLeftText'}]);
		//create the bottomLeftText_h2
		this.bottomLeftText_h2 = JTools._createDOMElement('h2',false,[{name:'id', value:'bottomLeftText_h1'}], obj.artist_0.teaser);
		//append the bottomLeftText_h2 to the bottomLeftText
		this.bottomLeftText.appendChild(this.bottomLeftText_h2);
		//observe the bottomLeftHeaderText
		Event.observe(this.bottomLeftText, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the bottomLeftHeaderText to the bottomLeftModuleContent_top
		this.bottomLeftModuleContent_top.appendChild(this.bottomLeftText);
		//append the bottomLeftModuleContent_top to the container
		this.container.appendChild(this.bottomLeftModuleContent_top);
		for(i=1;i<Object.keys(obj).length;i++){
			this.build_left_item(obj['artist_'+i], i);
		}
		this.bottomMore = JTools._createDOMElement('div','bottomMore',[{name:'id', value:'bottomMore'+this.program}]);
		this.more_link = JTools._createDOMElement('a',false,[{name:'href', value:'/cc-common/new'}], 'More NEW! music');
		this.bottomMore.appendChild(this.more_link);
		this.container.appendChild(this.bottomMore);
	},
	build_middle_module:function(obj){
		//create the module header
		this.bottomMiddleHeader = JTools._createDOMElement('div','bottomMiddleHeader',[{name:'id', value:'bottomMiddleHeader'}]);
		//create the bottomMiddleHeaderMainText
		this.bottomMiddleHeaderMainText =  JTools._createDOMElement('div','bottomMiddleHeaderMainText',[{name:'id', value:'bottomMiddleHeaderMainText'}]);
		//create the bottomMiddleHeaderMainText_h3
		this.bottomMiddleHeaderMainText_h3 =  JTools._createDOMElement('h3',false,[{name:'id', value:'bottomMiddleHeaderMainText_h3'}], this.program_name);
		//append the bottomMiddleHeaderMainText_h3 to the bottomMiddleHeaderMainText
		this.bottomMiddleHeaderMainText.appendChild(this.bottomMiddleHeaderMainText_h3);
		//append the bottomMiddleHeaderMainText to the bottomMiddleHeader
		this.bottomMiddleHeader.appendChild(this.bottomMiddleHeaderMainText);
		//create teh bottomMiddleHeaderSubText
		this.bottomMiddleHeaderSubText = JTools._createDOMElement('div','bottomMiddleHeaderSubText',[{name:'id', value:'bottomMiddleHeaderSubText'}]);
		//create the bottomMiddleHeaderSubText_h4
		this.bottomMiddleHeaderSubText_h4 =  JTools._createDOMElement('h4',false,[{name:'id', value:'bottomMiddleHeaderSubText_h4'}], this.tagline_text);
		//append the bottomMiddleHeaderSubText_h4 to the bottomMiddleHeaderSubText
		this.bottomMiddleHeaderSubText.appendChild(this.bottomMiddleHeaderSubText_h4);
		//append the bottomMiddleHeaderSubText to the bottomMiddleHeader
		this.bottomMiddleHeader.appendChild(this.bottomMiddleHeaderSubText);
		//append the bottomMiddleHeader to the container
		this.container.appendChild(this.bottomMiddleHeader);
		//create the bottomMiddleModuleContent_top
		this.bottomMiddleModuleContent_top = JTools._createDOMElement('div','bottomMiddleModuleContent',[{name:'id', value:'bottomMiddleModuleContent_top'}]);
		//create the bottomMiddleImage div
		this.bottomMiddleImage = JTools._createDOMElement('div','bottomMiddleImage',[{name:'id', value:'bottomMiddleImage'}]);
		//create teh bottomMiddleImage_img
		this.bottomMiddleImage_img = JTools._createDOMElement('img',false,[{name:'height', value:65},{name:'width', value:93},{name:'src',value:'/cc-common/templates/thumbnail2.php?wid=93&hei=65&convert_img=http://content.clearchannel.com'+escape(obj.artist_0.artist_photo)+'&wmax=93&hmax=65&quality=90'},{name:'id', value:'bottomMiddleImage_img'}]);
		//append the bottomMiddleImage_img to the bottomMiddleImage
		this.bottomMiddleImage.appendChild(this.bottomMiddleImage_img);
		//observe the bottomMiddleImage
		Event.observe(this.bottomMiddleImage, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append teh bottomMiddleImage to the bottomMiddleModuleContent_top
		this.bottomMiddleModuleContent_top.appendChild(this.bottomMiddleImage);
		//create teh bottomMiddlePlaybutton2
		this.bottomMiddlePlaybutton2 = JTools._createDOMElement('div','bottomMiddlePlaybutton2',[{name:'id', value:'bottomMiddlePlaybutton2'}]);
		//create teh bottomMiddleImage_img
		this.bottomMiddlePlaybutton2_img = JTools._createDOMElement('img',false,[{name:'src',value:'/cc-common/ondemand/dev/images/playbutton.jpg'},{name:'id', value:'bottomMiddlePlaybutton2_img'}]);
		//append the bottomMiddleImage_img to the bottomMiddleImage
		this.bottomMiddlePlaybutton2.appendChild(this.bottomMiddlePlaybutton2_img);
		//observe the bottomMiddlePlaybutton2
		Event.observe(this.bottomMiddlePlaybutton2, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append teh bottomMiddlePlaybutton2 to tghe bottomMiddleModuleContent_top
		this.bottomMiddleModuleContent_top.appendChild(this.bottomMiddlePlaybutton2);
		//create teh bottomMiddleHeaderText
		this.bottomMiddleHeaderText = JTools._createDOMElement('div','bottomMiddleHeaderText',[{name:'id', value:'bottomMiddleHeaderText'}]);
		//create the bottomMiddleHeaderText_h1
		this.bottomMiddleHeaderText_h1 = JTools._createDOMElement('h1',false,[{name:'id', value:'bottomMiddleHeaderText_h1'}], obj.artist_0.name);
		//append the bottomMiddleHeaderText_h1 to the bottomMiddleHeaderText
		this.bottomMiddleHeaderText.appendChild(this.bottomMiddleHeaderText_h1);
		//observe the bottomMiddleHeaderText
		Event.observe(this.bottomMiddleHeaderText, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the bottomMiddleHeaderText to the bottomMiddleModuleContent_top
		this.bottomMiddleModuleContent_top.appendChild(this.bottomMiddleHeaderText);
		//create teh bottomMiddleText
		this.bottomMiddleText = JTools._createDOMElement('div','bottomMiddleText',[{name:'id', value:'bottomMiddleText'}]);
		//create the bottomMiddleText_h2
		this.bottomMiddleText_h2 = JTools._createDOMElement('h2',false,[{name:'id', value:'bottomMiddleText_h1'}], obj.artist_0.teaser);
		//append the bottomMiddleText_h2 to the bottomMiddleText
		this.bottomMiddleText.appendChild(this.bottomMiddleText_h2);
		//observe the bottomMiddleHeaderText
		Event.observe(this.bottomMiddleText, 'click', function(){window.open('/cc-common/new/6/player.html?art='+obj.artist_0.artist_id+'&loc='+obj.artist_0.loc,'_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append the bottomMiddleHeaderText to the bottomMiddleModuleContent_top
		this.bottomMiddleModuleContent_top.appendChild(this.bottomMiddleText);
		//append the bottomMiddleModuleContent_top to the container
		this.container.appendChild(this.bottomMiddleModuleContent_top);
		for(i=1;i<Object.keys(obj).length;i++){
			this.build_middle_item(obj['artist_'+i], i);
		}
		this.bottomMore = JTools._createDOMElement('div','bottomMore',[{name:'id', value:'bottomMore'+this.program}]);
		this.more_link = JTools._createDOMElement('a',false,[{name:'href', value:'/cc-common/new'}], 'More NEW! music');
		this.bottomMore.appendChild(this.more_link);
		this.container.appendChild(this.bottomMore);
	},
	build_left_landing_item:function(obj,num){
		if(obj.name){
			obj.artist_name = obj.name;	
		}
		var moduleContentRow = JTools._createDOMElement('div','bottomLeftModuleContent',[{name:'id', value:'module_right_content_row_'+num}]);
		var bottomLeftPlaybutton = JTools._createDOMElement('div','bottomLeftPlaybutton',[{name:'id', value:'bottomLeftPlaybutton_'+num}]);
		var bottomLeftPlaybutton_image = JTools._createDOMElement('img',false,[{name:'src', value:'images/playbuttonblack.jpg'}]);
		var main_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		Event.observe(bottomLeftPlaybutton, 'click', function(){window.open(main_url,'_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no');});
		bottomLeftPlaybutton.appendChild(bottomLeftPlaybutton_image);
		moduleContentRow.appendChild(bottomLeftPlaybutton);
		var bottomLeftLinks = JTools._createDOMElement('div','bottomLeftLinks',[{name:'id', value:'bottomLeftLinks_'+num}]);
		if(obj.track_info){
			var bottomLeftLinks_anchor = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.track_info[0].track_name);
		}else{
			var bottomLeftLinks_anchor = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.title);
		}
		bottomLeftLinks.appendChild(bottomLeftLinks_anchor);
		moduleContentRow.appendChild(bottomLeftLinks);
		var bottomLeftVideoButton = JTools._createDOMElement('div','bottomLeftVideoButton',[{name:'id', value:'bottomLeftVideoButton_'+num}]);
		var icon_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		var play_icon_img = JTools._createDOMElement('img',false,[{name:'src',value:'/cc-common/templates/00guide/icons/grey/speaker.gif'},{name:'id', value:'play_icon_img_'+num}]);
		//append the bottomLeftImage_img to the bottomLeftVideoButton
		bottomLeftVideoButton.appendChild(play_icon_img);
		bottomLeftVideoButton.setStyle({cursor:'pointer'});
		Event.observe(bottomLeftVideoButton, 'click', function(){window.open(icon_url,'_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no');});
		moduleContentRow.appendChild(bottomLeftVideoButton);
		this.container.appendChild(moduleContentRow);
	},
	build_left_item:function(obj, num){
		if(obj.name){
			obj.artist_name = obj.name;	
		}
		//create the bottomLeftModuleContent
		var bottomLeftModuleContent = JTools._createDOMElement('div','bottomLeftModuleContent',[{name:'id', value:'bottomLeftModuleContent'+num}]);
		//create teh bottomLeftPlaybutton
		var bottomLeftPlaybutton = JTools._createDOMElement('div','bottomLeftPlaybutton',[{name:'id', value:'bottomLeftPlaybutton'+num}]);
		//create teh bottomLeftPlaybutton_img
		var bottomLeftPlaybutton_img = JTools._createDOMElement('img',false,[{name:'src',value:'/cc-common/ondemand/dev/images/playbutton.jpg'},{name:'id', value:'bottomLeftPlaybutton_img'+num}]);
		//append the bottomLeftImage_img to the bottomLeftImage
		bottomLeftPlaybutton.appendChild(bottomLeftPlaybutton_img);
		//observe the bottomLeftPlaybutton
		var main_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		Event.observe(bottomLeftPlaybutton, 'click', function(){window.open(main_url, '_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append teh bottomLeftPlaybutton to tghe bottomLeftModuleContent
		bottomLeftModuleContent.appendChild(bottomLeftPlaybutton);
	
		//create the bottomLeftLinks
		var bottomLeftLinks = JTools._createDOMElement('div','bottomLeftLinks',[{name:'id', value:'bottomLeftLinks'+num}]);
		//create the bottomLeftLinks_a
		if(obj.track_info){
			var bottomLeftLinks_a = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.track_info[0].track_name);
		}else{
			var bottomLeftLinks_a = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.title);
		}
		//append the bottomLeftLinks_a to the bottomLeftLinks
		bottomLeftLinks.appendChild(bottomLeftLinks_a);		
		//append the bottomLeftLinks to the bottomLeftModuleContent
		bottomLeftModuleContent.appendChild(bottomLeftLinks);
		//create the bottomLeftVideoButton
		var bottomLeftVideoButton = JTools._createDOMElement('div','bottomLeftVideoButton',[{name:'id', value:'bottomLeftVideoButton'+num}]);
		//create teh bottomLeftPlaybutton_img
		var icon_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		var bottomLeftVideoButton_img = JTools._createDOMElement('img',false,[{name:'src',value:'/cc-common/templates/00guide/icons/grey/speaker.gif'},{name:'id', value:'bottomLeftVideoButton_img'+num}]);
		//append the bottomLeftImage_img to the bottomLeftVideoButton
		bottomLeftVideoButton.appendChild(bottomLeftVideoButton_img);
		bottomLeftVideoButton.setStyle({cursor:'pointer'});
		Event.observe(bottomLeftVideoButton, 'click', function(){window.open(icon_url, '_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append bottomMiddleVideoButton to the bottomLeftModuleContent
		bottomLeftModuleContent.appendChild(bottomLeftVideoButton);
		//append the bottomLeftModuleContent_top to the container
		this.container.appendChild(bottomLeftModuleContent);
	},
	build_middle_item:function(obj, num){
		if(obj.name){
			obj.artist_name = obj.name;	
		}
		//create the bottomLeftModuleContent
		var bottomLeftModuleContent = JTools._createDOMElement('div','bottomLeftModuleContent',[{name:'id', value:'bottomLeftModuleContent'+num}]);
		//create teh bottomLeftPlaybutton
		var bottomLeftPlaybutton = JTools._createDOMElement('div','bottomLeftPlaybutton',[{name:'id', value:'bottomLeftPlaybutton'+num}]);
		//create teh bottomLeftPlaybutton_img
		var bottomLeftPlaybutton_img = JTools._createDOMElement('img',false,[{name:'src',value:'/cc-common/ondemand/dev/images/playbutton.jpg'},{name:'id', value:'bottomLeftPlaybutton_img'+num}]);
		//append the bottomLeftImage_img to the bottomLeftImage
		bottomLeftPlaybutton.appendChild(bottomLeftPlaybutton_img);
		//observe the bottomLeftPlaybutton
		var main_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		Event.observe(bottomLeftPlaybutton, 'click', function(){window.open(main_url, '_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		//append teh bottomLeftPlaybutton to tghe bottomLeftModuleContent
		bottomLeftModuleContent.appendChild(bottomLeftPlaybutton);
	
		//create the bottomLeftLinks
		var bottomLeftLinks = JTools._createDOMElement('div','bottomLeftLinks',[{name:'id', value:'bottomLeftLinks'+num}]);
		//create the bottomLeftLinks_a
		if(obj.track_info){
			var bottomLeftLinks_a = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.track_info[0].track_name);
		}else{
			var bottomLeftLinks_a = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.title);
		}
		//append the bottomLeftLinks_a to the bottomLeftLinks
		bottomLeftLinks.appendChild(bottomLeftLinks_a);		
		//append the bottomLeftLinks to the bottomLeftModuleContent
		bottomLeftModuleContent.appendChild(bottomLeftLinks);
		//create the bottomLeftVideoButton
		var bottomLeftVideoButton = JTools._createDOMElement('div','bottomLeftVideoButton',[{name:'id', value:'bottomLeftVideoButton'+num}]);
		//create teh bottomLeftPlaybutton_img
		
		var icon_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		var bottomLeftVideoButton_img = JTools._createDOMElement('img',false,[{name:'src',value:'/cc-common/templates/00guide/icons/grey/speaker.gif'},{name:'id', value:'bottomLeftVideoButton_img'+num}]);
		//append the bottomLeftImage_img to the bottomLeftVideoButton
		bottomLeftVideoButton.appendChild(bottomLeftVideoButton_img);
		bottomLeftVideoButton.setStyle({cursor:'pointer'});
		Event.observe(bottomLeftVideoButton, 'click', function(){window.open(icon_url, '_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		
		//append bottomMiddleVideoButton to the bottomLeftModuleContent
		bottomLeftModuleContent.appendChild(bottomLeftVideoButton);
		
		//append the bottomLeftModuleContent_top to the container
		this.container.appendChild(bottomLeftModuleContent);
	},
	build_player_left_item:function(obj, num){
		if(obj.name){
			obj.artist_name = obj.name;	
		}
		//create the module_left_content_row
		var module_left_content_row = JTools._createDOMElement('div','module_left_content_row',[{name:'id', value:this.container.id+'_module_left_content_row_'+num}]);
		
		//create the module_left_content_row_button
		var module_left_content_row_button = JTools._createDOMElement('div','module_left_content_row_button',[{name:'id', value:this.container.id+'_module_left_content_row_button_'+num}]);
		//append the module_left_content_row_button to the module_left_content_row
		module_left_content_row.appendChild(module_left_content_row_button);
		//observe the click for this button
		var main_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		Event.observe(module_left_content_row_button, 'click', function(){window.open(main_url, '_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});

		//create the module_left_content_row_links
		var module_left_content_row_links = JTools._createDOMElement('div','module_left_content_row_links',[{name:'id', value:this.container.id+'_module_left_content_row_links_'+num}]);
		//create teh module_left_content_row_links_anchor
		if(obj.track_info){
			var module_left_content_row_links_anchor = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.track_info[0].track_name);
		}else{
			var module_left_content_row_links_anchor = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.title);
		}
		//append the module_left_content_row_links_anchor to the module_left_content_row_links
		module_left_content_row_links.appendChild(module_left_content_row_links_anchor);
		//append the module_left_content_row_links to the module_left_content_row
		module_left_content_row.appendChild(module_left_content_row_links);
		
		//create the module_left_content_row_icons
		var module_left_content_row_icons = JTools._createDOMElement('div','module_left_content_row_icons',[{name:'id', value:this.container.id+'_module_left_content_row_icons_'+num}]);
		
		//create the module_left_content_row_icons_clear
		var module_left_content_row_icons_clear = JTools._createDOMElement('div','module_left_content_row_icons_clear',[{name:'id', value:this.container.id+'_module_left_content_row_icons_clear_'+num}]);
		
		//create the module_left_content_row_icons_clear_play_icon
		var module_left_content_row_icons_clear_play_icon = JTools._createDOMElement('div','module_left_content_row_icons_clear_play_icon',[{name:'id', value:this.container.id+'_module_left_content_row_icons_clear_play_icon'+num}]);
		
		var icon_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		var module_left_content_row_icons_clear_play_icon_img = JTools._createDOMElement('img',false,[{name:'src',value:'/cc-common/templates/00guide/icons/grey/speaker.gif'},{name:'id', value:this.container.id+'_module_left_content_row_icons_clear_play_icon_img_'+num}]);
		//append the bottomLeftImage_img to the bottomLeftVideoButton
		module_left_content_row_icons_clear_play_icon.appendChild(module_left_content_row_icons_clear_play_icon_img);
		module_left_content_row_icons_clear_play_icon.setStyle({cursor:'pointer'});
		Event.observe(module_left_content_row_icons_clear_play_icon, 'click', function(){window.open(icon_url, '_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		
		//append the module_left_content_row_icons_clear_play_icon to the module_left_content_row_icons_clear
		module_left_content_row_icons_clear.appendChild(module_left_content_row_icons_clear_play_icon);
		
		//append the module_left_content_row_icons_clear to the module_left_content_row_icons
		module_left_content_row_icons.appendChild(module_left_content_row_icons_clear);
		
		//append the module_left_content_row_icons to the module_left_content_row
		module_left_content_row.appendChild(module_left_content_row_icons);
		
		//append the module_left_content_row to the module_left_content
		this.module_left_content.appendChild(module_left_content_row);
		
	},
	build_player_right_item:function(obj, num){
		if(obj.name){
			obj.artist_name = obj.name;	
		}
		//create the module_right_content_row
		var module_right_content_row = JTools._createDOMElement('div','module_right_content_row',[{name:'id', value:this.container.id+'_module_right_content_row_'+num}]);
		
		//create the module_right_content_row_button
		var module_right_content_row_button = JTools._createDOMElement('div','module_right_content_row_button',[{name:'id', value:this.container.id+'_module_right_content_row_button_'+num}]);
		//append the module_right_content_row_button to the module_right_content_row
		module_right_content_row.appendChild(module_right_content_row_button);
		//observe the click for this button
		var main_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		Event.observe(module_right_content_row_button, 'click', function(){window.open(main_url, '_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		
		//create the module_right_content_row_links
		var module_right_content_row_links = JTools._createDOMElement('div','module_right_content_row_links',[{name:'id', value:this.container.id+'_module_right_content_row_links_'+num}]);
		//create teh module_right_content_row_links_anchor
		if(obj.track_info){
			var module_right_content_row_links_anchor = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.track_info[0].track_name);
		}else{
			var module_right_content_row_links_anchor = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.title);
		}
		//append the module_right_content_row_links_anchor to the module_right_content_row_links
		module_right_content_row_links.appendChild(module_right_content_row_links_anchor);
		//append the module_right_content_row_links to the module_right_content_row
		module_right_content_row.appendChild(module_right_content_row_links);
		
		//create the module_right_content_row_icons
		var module_right_content_row_icons = JTools._createDOMElement('div','module_right_content_row_icons',[{name:'id', value:this.container.id+'_module_right_content_row_icons_'+num}]);
		
		//create the module_right_content_row_icons_clear
		var module_right_content_row_icons_clear = JTools._createDOMElement('div','module_right_content_row_icons_clear',[{name:'id', value:this.container.id+'_module_right_content_row_icons_clear_'+num}]);
		
		//create the module_right_content_row_icons_clear_play_icon
		var module_right_content_row_icons_clear_play_icon = JTools._createDOMElement('div','module_right_content_row_icons_clear_play_icon',[{name:'id', value:this.container.id+'_module_right_content_row_icons_clear_play_icon'+num}]);
		
		var icon_url = '/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0';
		var module_right_content_row_icons_clear_play_icon_img = JTools._createDOMElement('img',false,[{name:'src',value:'/cc-common/templates/00guide/icons/grey/speaker.gif'},{name:'id', value:this.container.id+'_module_right_content_row_icons_clear_play_icon_img_'+num}]);
		//append the bottomLeftImage_img to the bottomLeftVideoButton
		module_right_content_row_icons_clear_play_icon.appendChild(module_right_content_row_icons_clear_play_icon_img);
		module_right_content_row_icons_clear_play_icon.setStyle({cursor:'pointer'});
		Event.observe(module_right_content_row_icons_clear_play_icon, 'click', function(){window.open(icon_url, '_newplayer',"width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no");});
		
		//append the module_right_content_row_icons_clear_play_icon to the module_right_content_row_icons_clear
		module_right_content_row_icons_clear.appendChild(module_right_content_row_icons_clear_play_icon);
		
		//append the module_right_content_row_icons_clear to the module_right_content_row_icons
		module_right_content_row_icons.appendChild(module_right_content_row_icons_clear);
		
		//append the module_right_content_row_icons to the module_right_content_row
		module_right_content_row.appendChild(module_right_content_row_icons);
		
		//append the module_right_content_row to the module_right_content
		this.module_right_content.appendChild(module_right_content_row);
		
	},
	build_list_item:function(obj, num){
		if(obj.name){
			obj.artist_name = obj.name;	
		}
		if(num == 0){
			var a = JTools._createDOMElement('a', false, [{name:'href',value:'javascript:void(window.open("/cc-common/new/6/player.html?art='+obj.artist_id+'&loc=0","_newplayer","width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no"));'}], obj.name+' - '+obj.title);
			this.bottomMiddleList_p.appendChild(a);
		}else{
			if(obj.track_info){
				var a = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.track_info[0].track_name);
			}else{
				var a = JTools._createDOMElement('a',false,[{name:'href', value:"javascript:void(window.open('"+main_url+"', '_newplayer','width=728,height=538,,resizable=no,scrollbars=no,menu=no,status=no'));"}], obj.artist_name+' - '+obj.title);
			}
			this.bottomMiddleList_p.appendChild(a);	
		}
		var br =JTools._createDOMElement('br', false, []);
		this.bottomMiddleList_p.appendChild(br);
	}
};
