/*this file holds the javascript functionality specifically for the media page*/
var rotator1 = {
    path:   'http://assets.gotvnetworks.com/images/media/',
    id:   'media_icon',
	speed: 2500,
    images: ["coverage_icon_2.gif", "coverage_icon_1.gif"]
}

function initRotators() {
    dw_Rotator.setup(rotator1);
}

addLoadEvent(initRotators);

function openDiv(date_div,linktag){
	/*close all date boxes*/
	$(".list").hide();
	/*remove current to all links*/
	$("#archive_nav a").removeClass('current');
	/*now show the appropriate box*/
	$("#"+date_div).show();
	/*add current to this link*/
	$(linktag).addClass('current');
	$('#media_scroll').jScrollPane({showArrows:true,scrollbarWidth: 13,arrowSize: 18});
}
function add_tooltip(){
	$('div#pr_icon').simpletip({ 	persistent: false,
								focus: true,
								position: [420, 45], 
								content: 'For PR &amp; Media Inquiries please contact:<br />Axis Marketing &amp; PR<br />Sarah Miller<br /><a href=\'mai&#108;to&#58;smiller&#64;axismarketingpr&#46;com\'>smiller@axismarketingpr.com</a><br />310.276.2220<br />' });
}
addLoadEvent(add_tooltip); 