var newsWait=0;
var newsIndex=-1;
var tempTitle='';
var newsdata=new Array();
var newslink=new Array();


tempTitle=unescape('ARTISTdirect.com Launches Exclusive Michael Jackson Tribute Page')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6070781,00.html');


tempTitle=unescape('Interview: Mary Forsberg Weiland')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6223153,00.html');


tempTitle=unescape('Interview: Three 6 Mafia ')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6223133,00.html');


tempTitle=unescape('Interview: SLASH talks LAYN Rocks')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('	http://www.artistdirect.com/nad/news/article/0,,6223095,00.html');


tempTitle=unescape('Fangoria Reviews ARTISTdirect.com Editor Rick Florino\'s <I>Dolor</I>')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6223078,00.html');


tempTitle=unescape('Playlist: Phoenix')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.playlisted.com/2009/11/17/phoenix/');


tempTitle=unescape('Interview: Something to Burn')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6223075,00.html');


tempTitle=unescape('Playlist: Powerman 5000')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.playlisted.com/2009/11/16/powerman-5000/');


tempTitle=unescape('Interview: Papa Roach')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6223033,00.html');


tempTitle=unescape('Interview: Rammstein')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6223034,00.html');


tempTitle=unescape('Playlist: Hyro da Hero')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.playlisted.com/2009/11/12/hyro-da-hero/');


tempTitle=unescape('Live Review: Prohibition Rose — The Viper Room, Los Angeles')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6222895,00.html');


tempTitle=unescape('Joey McIntyre Exclusive Blog #2')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6222893,00.html');


tempTitle=unescape('Shavo Odadjian Releases a New Achozen Song for Free on Friday the 13th to Honor Fans and Thank Them for Their Patience, Loyalty via his own urSESSION.com')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6222834,00.html');


tempTitle=unescape('Playlist: David Guetta')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.playlisted.com/2009/11/10/david-guetta/');


tempTitle=unescape('Playlist: Hollywood Undead')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.playlisted.com/2009/11/09/hollywood-undead-2/');


tempTitle=unescape('Playlist: Hollywood Undead')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('/nad/news/article/0,,6222754,00.html');


tempTitle=unescape('Interview: Hollywood Undead')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6222733,00.html');


tempTitle=unescape('Playlist: Tina Parol')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.playlisted.com/2009/11/09/tina-parol/');


tempTitle=unescape('Interview: Powerman 5000')
tempTitle=tempTitle.replace(/\&quot\;/g,'"');
newsdata.push(tempTitle);
newslink.push('http://www.artistdirect.com/nad/news/article/0,,6222697,00.html');
if(typeof(wpath)=='undefined') {wpath=window.location.pathname;}




function startNews() {
	$("#globalNavi ul li").each(function() {
		var linktext=$("a",$(this)).text();
		if(linktext=="Users"||linktext=="Tickets") {$(this).remove();}
	});

	
	$("#globalNavi ul")
	.append('<li><a title="Tune into Goom Radio&#39;s &quot;Just Hits&quot; powered by ARTISTdirect.com!" target="_top" href="/radio">Radio</a></li>')
	.append('<li class="bannerNavi"><a title="Playlist of Your Favorite Music and Movie Stars" target="_blank" href="http://www.playlisted.com/"><img alt="Playlist of Your Favorite Music and Movie Stars" width="83" height="30" src="/Images/a3/misc/playlisted_nav2.gif"></a></li>')
	.append('<li class="bannerNavi"><a title="Get closer to your favorite music with ARTISTdirect.com and Cimio" target="_top" href="/cimio"><img alt="Get closer to your favorite music with ARTISTdirect.com and Cimio" width="91" height="30" src="/Images/a3/misc/cimio_nav.gif"></a></li>');
	
	$("#globalNavi ul li a").each(function() {
		if($(this).text()=="Videos") {
			$(this).parent().after('<li><a target="_top" href="http://www.artistdirect.com/artists/photo-galleries" title="Artist Photo Galleries">Photos</a></li>');
		}
	});
	
	

	
	
	
	
	googleSearch();
	if(document.location.protocol=="http:") {
		document.write(unescape('%3Cscript type="text/javascript">google.load("elements", "1", {packages: "transliteration"});%3C/script%3E'));
		document.write(unescape('%3Cscript type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"%3E%3C/script%3E'));
		document.write(unescape('%3Cscript type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en&sitesearch=true"%3E%3C/script%3E'));
	}

	
	$("div#ticker span.right a").each(function() {
		if($(this).attr("href")=="http://www.thestore24.com/Cart/Default.aspx?si=artistdirect") {
			$(this).attr("href","http://www.thestore24.com/Cart/Default.aspx?si=artistdirect2");
		}
	});

	
	if(window.top==window && window.location.hostname.indexOf("artistdirect.com")!=-1) {OAS_AD('x94');}
	
	

	
	

	

	
	if(document.location.protocol=="http:") {
		document.write(unescape("%3Cscript src='http://s7.addthis.com/js/200/addthis_widget.js' type='text/javascript'%3E%3C/script%3E"));
	} else {
		document.write(unescape("%3Cscript src='https://secure.addthis.com/js/200/addthis_widget.js' type='text/javascript'%3E%3C/script%3E"));
	}

	$news=$("#thenews");
	$news.hover(function() {clearTimeout(newsWait);newsWait=-1;},function() {newsWait=setTimeout('updateTicker()',3000);});
	$news.click(function() {window.top.location.href=newslink[newsIndex];});
	updateTicker();
}

if(document.location.protocol=="http:") {document.write(unescape('%3Cscript type="text/javascript" src="http://www.google.com/jsapi"%3E%3C/script%3E'));}
function googleSearch() {
	$("form.searchForm .searchNavi").replaceWith("<br />");
	$("form.searchForm").attr("id","cse-search-box");
	$("form.searchForm input[name=searchstr]").each(function() {
		var $parent = $(this).parent();
		var tempHTML='';
		tempHTML+='<input type="text" name="q" class="box" />';
		tempHTML+='<input type="image" src="/Images/a3/buttons/button_search.gif" alt="search" width="80" height="20" align="absmiddle" class="ucRight" />';
		tempHTML+='<input type="hidden" name="cx" value="011042873320694737110:ax7jebhngmu" />';
		tempHTML+='<input type="hidden" name="cof" value="FORID:10" />';
		tempHTML+='<input type="hidden" name="ie" value="UTF-8" />';
		$parent.html(tempHTML);
	});
}

function writeSocialLinksTower() {
	var tempHTML='';
	tempHTML+='<div class="social"><a target="_blank" href="http://www.facebook.com/pages/ARTISTdirect/85437842151"><img src="http://images.artistdirect.com/Images/a4/banners/fb.gif"></a></div>';
	tempHTML+='<div class="social"><a target="_blank" href="http://twitter.com/artistdirect"><img src="http://images.artistdirect.com/Images/a4/banners/tw.gif"></a></div>';
	tempHTML+='<div class="social"><a target="_blank" href="http://www.myspace.com/artistdirect"><img src="http://images.artistdirect.com/Images/a4/banners/ms.gif"></a></div>';
	document.writeln(tempHTML);
}

function writeLoginTower() {
	var tempHTML='';
	tempHTML+='<div id="adPlus">';
	tempHTML+='<h3><a href="/users">ARTISTdirect <img src="http://images.artistdirect.com/Images/a4/plus/plus.gif"> Plus</a></h3>';
	uname=getCookie('NAD_usrn');
	if(uname) {
		tempHTML+='<p>Hello! '+uname+'</p>';
		tempHTML+='<ul>';
		tempHTML+='<li><a href="/nad/user/home">My page </a></li>';
		tempHTML+='<li><a href="/nad/user/logout">Log out </a></li>';
		tempHTML+='</ul>';
	} else {
		tempHTML+='<p>Create your profile & show off your favorite</p>';
		tempHTML+='<ul>';
		tempHTML+='<li><a href="/nad/user/register">Sign up </a></li>';
		tempHTML+='<li><a href="/users">Log in </a></li>';
		tempHTML+='</ul>';
	}
	tempHTML+='</div><br class="clearfloat" />';
	document.writeln(tempHTML);



}

function writeSubscribeRHS() {
	var tempHTML='';
	tempHTML+='<div id="newsSignup">';
	tempHTML+='<h2>ARTISTdirect Newsletter</h2>';
	tempHTML+='<input id="nlemail" class="box" type="text" name="email" OnChange="isEmail(this)" value="Email Address" onclick="this.value=\'\';"/>';
	tempHTML+='<div class="cmntBttnXSm ucLeft"><a onClick="return submitNewsletter();" href="#">Sign up</a></div>';
	tempHTML+='<p>Clicking submit means you agree to receive information from ARTISTdirect. See our <a href="/nad/misc/term/">TERMS OF USE</a> for more.</p>';
	tempHTML+='</div>';
	document.writeln(tempHTML);


	
	rhsMiscCalls();
}

function submitNewsletter() {
	$email = ($("#nlemail").length > 0) ?  $("#nlemail") : $("#nlemailS");
	if(isEmail($email.get(0))) {
		//change the window size to larger later
		window.open('http://www.artistdirect.com/nad/email/signup/trans/?email=' + escape($email.val()),'register','width=400,height=320,scrollbars=yes,menubar=no,toolbar=no,status=no,location=no');
	}
	return false;
}

function writeFavHTML(fav_type,fav_id) {
	var tempHTML='<ul>';
	
	switch(fav_type) {
		case '201':
			tempHTML+='<li><a href="/nad/user/addtofavs/?id='+fav_id+'&type='+fav_type+'">Add Artist as Favorite</a></li>';
			tempHTML+='<li><a href="/nad/user/wholikes/artist/0,,'+fav_id+',00.html">View who likes this Artist</a></li>';
		break;

		case '1':
			tempHTML+='<li><a href="/nad/user/addtofavs/?id='+fav_id+'&type='+fav_type+'">Add Album as Favorite</a></li>';
			tempHTML+='<li><a href="/nad/user/add/review/1,,'+fav_id+',00.html">Write a Review for this Album</a></li>';
			tempHTML+='<li><a href="/nad/user/wholikes/album/0,,'+fav_id+',00.html">View who likes this Album</a></li>';
		break;

		case '420':
			tempHTML+='<li><a href="/nad/user/addtofavs/?id='+fav_id+'&type='+fav_type+'">Add Song as Favorite</a></li>';
			tempHTML+='<li><a href="/nad/user/wholikes/song/0,,'+fav_id+',00.html">View who likes this Song</a></li>';
		break;

		case '400':
			tempHTML+='<li><a href="/nad/user/addtofavs/?id='+fav_id+'&type='+fav_type+'">Add Video as Favorite</a></li>';
			tempHTML+='<li><a href="/nad/user/wholikes/video/0,,'+fav_id+',00.html">View who likes this Video</a></li>';
		break;

		case '2':
			tempHTML+='<li><a href="/nad/user/addtofavs/?id='+fav_id+'&type='+fav_type+'">Add Movie as Favorite</a></li>';
			tempHTML+='<li><a href="/nad/user/add/review/1,,'+fav_id+',00.html">Write a Review for this Movie</a></li>';
			tempHTML+='<li><a href="/nad/user/wholikes/movie/0,,'+fav_id+',00.html">View who likes this Movie</a></li>';
		break;
	}

	tempHTML+='</ul>';
	return tempHTML;
}

jQuery(function() {
	
	googleSearch();
});


jQuery(function() {
	$plusFav=jQuery("#plusFavorite");
	$plusFav.hover(
		function() {},
		function() {$plusFav.hide();}
	);
	jQuery("img.plus").each(function() {
		var favparams=jQuery(this).attr("fav");
		if(!favparams) return;
		favparams=favparams.split(/,/);
		var fav_type,fav_id;
		
		if(favparams.length>1) {
			fav_type=favparams[0];
			fav_id=favparams[1];
			if(fav_type=='202') {jQuery(this).hide();return;}
			jQuery(this).hover(
				function() {
					var offset=jQuery(this).offset();
					offset.top+=jQuery(this).height()+2;
					offset.left-=5;
					$plusFav.hide();
					$plusFav.html(writeFavHTML(fav_type,fav_id));
					$plusFav.css("left",offset.left).css("top",offset.top);
					$plusFav.slideDown("fast");
				},
				function() {}
			);
		}
	});	
});


jQuery(function() {
	$searchForms=jQuery("form.searchForm");
	$searchStrings=jQuery("input.box");
	$searchNavi=jQuery("div.searchNavi a");
	$searchNavi.click(function() {
		tab=jQuery(this).text();
		switch(tab) {
			case 'Site':
			$searchForms.attr("action","/search/").attr("target","_top");
			$searchStrings.attr("name","searchstr");
			break;
			case 'Web':
			$searchForms.attr("action","http://artistdirect.prodege.com/?t=w&p=1").attr("target","_blank");
			$searchStrings.attr("name","q");
			break;
		}
		$searchNavi.each(function() {
			if(jQuery(this).text()==tab) {
				jQuery(this).parent().attr("class","on");
			} else {
				jQuery(this).parent().attr("class","off");
			}
		});
		return false;
	});
});


jQuery(function() {jQuery("#sideLyrics a").attr("target","_blank");});

if( if_artd_country ) {
	switch(if_artd_country)
	{
		case "uk":
//document.write("<style>");
//document.write("#headerIn{background:url(http://images.artistdirect.com/Images/a3/banners/head_uk.jpg);}");
//document.write("</style>");
		break;
		default:
		break;
	}
}

<!--VerticalAcuity,v1.0 Begin-->
VATrackerTag=new function(){this.baseUrl=location.protocol+"//tm.verticalacuity.com/vat/";var D=this.baseUrl+"mon/vt.js",G=navigator.userAgent.toLowerCase(),F=window;var A=function(H){return G.indexOf(H)!=-1;};var C=function(){return((document.cookie.indexOf("_vaNT")==-1)&&(A("msie")||A("gecko"))&&(!A("msie")||(parseInt(parseFloat(G.substring(G.indexOf("msie ")+5)))>=6)&&!A("mac")));};var E=function(){try{var H=document.createElement("script");H.type="text/javascript";H.src=D+"?c="+Math.round(new Date().getTime()/3600000);H.defer=true;((document.getElementsByTagName("head"))[0]).appendChild(H);}catch(I){}};try{if(C()){if(F.attachEvent){F.attachEvent("onload",E);}else{F.addEventListener("load",E,false);}}}catch(B){}};
<!--VerticalAcuity,End-->







