/*** top navigation dropdown ***/
function tabDropdown() {
var sfEls1 = document.getElementById("topnavlevel2").getElementsByTagName("LI");
for (var i=0; i<sfEls1.length; i++) {
	sfEls1[i].onmouseover=function() {
		this.className+="sfhover";
	}
	sfEls1[i].onmouseout=function() {
		this.className=this.className.replace(new RegExp("sfhover\\b"), "");
	}
}
var sfEls2 = document.getElementById("topnav2").getElementsByTagName("LI");
for (var i=0; i<sfEls2.length; i++) {
	sfEls2[i].onmouseover=function() {
		this.className+="sfhover";
	}
	sfEls2[i].onmouseout=function() {
		this.className=this.className.replace(new RegExp("sfhover\\b"), "");
	}
}
}
/*** end top navigation dropdown ***/
	 
/**** Date and Time stamp ******/
function DateTime() {
Stamp = new Date();
year = Stamp.getYear();
if (year < 2000) year = 1900 + year;
document.write((Stamp.getMonth() + 1) +"/"+Stamp.getDate()+ "/"+ year + ' &nbsp; ');
var Hours;
var Mins;
var Time;
Hours = Stamp.getHours();
if (Hours >= 12) {
Time = " P.M.";
}
else {
Time = " A.M.";
}
if (Hours > 12) {
Hours -= 12;
}
if (Hours == 0) {
Hours = 12;
}
Mins = Stamp.getMinutes();
if (Mins < 10) {
Mins = "0" + Mins;
}	
document.write(Hours + ":" + Mins + Time);
}
/**** end Date and Time stamp ******/

/* CSS browser selector
CSS Browser Selector v0.3.2
Rafael Lima (http://rafael.adm.br)
http://rafael.adm.br/css_browser_selector
License: http://creativecommons.org/licenses/by/2.5/
Contributors: http://rafael.adm.br/css_browser_selector#contributors
*/
function css_browser_selector(u){var ua = u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1;},g='gecko',w='webkit',s='safari',h=document.getElementsByTagName('html')[0],b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3')?g+' ff3':is('gecko/')?g:/opera(\s|\/)(\d+)/.test(ua)?'opera opera'+RegExp.$2:is('konqueror')?'konqueror':is('chrome')?w+' chrome':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?'mobile':is('iphone')?'iphone':is('ipod')?'ipod':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win':is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js']; c = b.join(' '); h.className += ' '+c; return c;}; css_browser_selector(navigator.userAgent);
/*** end CSS browser selector ***/

/**** font resize ***/
// This Javascript is written by Peter Velichkov (http://blog.creonfx.com)
// and is distributed under the following license : http://creativecommons.org/licenses/by-sa/3.0/
// Use and modify all you want just keep this comment. Thanks
var incdec = 0;
var headID = document.getElementsByTagName("head")[0];
var cssNode = document.createElement("style");
cssNode.type = 'text/css';
cssNode.id="resizingText";

/**** scrolling breaking news marquee
The JavaScript Source :: http://javascript.internet.com
Created by: Mike Hudson :: http://www.afrozeus.com
You can also play with these variables to control fade speed, fade color, and how fast the colors jump.*/

var m_FadeOut = 255;
var m_FadeIn=0;
var m_Fade = 0;
var m_FadeStep = 3;
var m_FadeWait = 1600;
var m_bFadeOut = true;
var m_iFadeInterval;
var arrFadeLinks;
var arrFadeTitles;
var arrFadeCursor = 0;
var arrFadeMax;

function Fadewl() {
  m_iFadeInterval = setInterval(fade_ontimer, 10);
  arrFadeLinks = new Array();
  arrFadeTitles = new Array();
  setupFadeLinks();
  arrFadeMax = arrFadeLinks.length-1;
  setFadeLink();
}

function setFadeLink() {
  var ilink = document.getElementById("fade_link");
  ilink.innerHTML = arrFadeTitles[arrFadeCursor];
  ilink.href = arrFadeLinks[arrFadeCursor];
}

function fade_ontimer() {
  if (m_bFadeOut) {
    m_Fade+=m_FadeStep;
    if (m_Fade>m_FadeOut) {
      arrFadeCursor++;
      if (arrFadeCursor>arrFadeMax)
        arrFadeCursor=0;
      setFadeLink();
      m_bFadeOut = false;
    }
  } else {
    m_Fade-=m_FadeStep;
    if (m_Fade<m_FadeIn) {
      clearInterval(m_iFadeInterval);
      setTimeout(Faderesume, m_FadeWait);
      m_bFadeOut=true;
    }
  }
  var ilink = document.getElementById("fade_link");
  if ((m_Fade<m_FadeOut)&&(m_Fade>m_FadeIn))
    ilink.style.color = "#" + ToHex(m_Fade);
}

function Faderesume() {
  m_iFadeInterval = setInterval(fade_ontimer, 10);
}

function ToHex(strValue) {
  try {
    var result= (parseInt(strValue).toString(16));

    while (result.length !=2)
            result= ("0" +result);
    result = result + result + result;
    return result.toUpperCase();
  }
  catch(e)
  {
  }
}
/**** end of scrolling breaking news marquee ******/

/*** photo gallery ***/
/***********************************************
* CMotion Image Gallery- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for source code
* Last updated Mar 15th, 04'. Added "End of Gallery" message.
* This copyright notice must stay intact for legal use
***********************************************/

var restarea=6 //1) width of the "neutral" area in the center of the gallery in px
var maxspeed=2 //2) top scroll speed in pixels. Script auto creates a range from 0 to top speed.
var endofgallerymsg="" //3) message to show at end of gallery. Enter "" to disable message.
var endofgallerymsg1="" //3) message to show at end of gallery. Enter "" to disable message.

function enlargeimage(path, optWidth, optHeight){ //function to enlarge image. Change as desired.
var actualWidth=typeof optWidth!="undefined" ? optWidth : "600px" //set 600px to default width
var actualHeight=typeof optHeight!="undefined" ? optHeight : "500px" //set 500px to  default height
var winattributes="width="+actualWidth+",height="+actualHeight+",resizable=yes"
window.open(path,"", winattributes)
}

////NO NEED TO EDIT BELOW THIS LINE////////////
var iedom=document.all||document.getElementById
var iedom1=document.all||document.getElementById
var scrollspeed=0
var movestate=""
var movestate1=""
var actualwidth=''
var actualwidth1=''
var cross_scroll, ns_scroll, cross_scroll1
var loadedyes=0
var loadedyes1=0

function changeImage(filename){
   document.mainimage.src = filename;
}

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft: what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function moveleft(){
if (loadedyes){
movestate="left"
if (iedom&&parseInt(cross_scroll.style.left)>(menuwidth-actualwidth+2)){
cross_scroll.style.left=parseInt(cross_scroll.style.left)-scrollspeed+"px"
}
}
lefttime=setTimeout("moveleft()",10)
}

function moveright(){
if (loadedyes){
movestate="right"
if (iedom&&parseInt(cross_scroll.style.left)<0){
cross_scroll.style.left=parseInt(cross_scroll.style.left)+scrollspeed+"px"
}
}
righttime=setTimeout("moveright()",10)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function stopmotion(e){
if (window.lefttime) clearTimeout(lefttime)
if (window.righttime) clearTimeout(righttime)
movestate=""
}

function fillup(){
if (iedom){
crossmain=document.getElementById? document.getElementById("motioncontainer") : document.all.motioncontainer
menuwidth=parseInt(crossmain.style.width)
mainobjoffset=getposOffset(crossmain, "left")
cross_scroll=document.getElementById? document.getElementById("motiongallery") : document.all.motiongallery
actualwidth=document.all? cross_scroll.offsetWidth : document.getElementById("motiongallery").offsetWidth
leftmain=document.getElementById? document.getElementById("leftbutt") : document.all.leftbutt
rightmain=document.getElementById? document.getElementById("rightbutt") : document.all.rightbutt

leftmain.onmouseover=function(e){
scrollspeed=2
moveright()
}

rightmain.onmouseover=function(e){
scrollspeed=2
moveleft()
}

leftmain.onmouseout=function(e){
stopmotion(e)
}

rightmain.onmouseout=function(e){
stopmotion(e)
}
}

loadedyes=1
if (endofgallerymsg!=""){
creatediv()
positiondiv()
}
cross_scroll.style.left="0px"
}

function start() {
fillup();
}
/*** end photo gallery ***/

function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name) {
	createCookie(name,"",-1);
}

function loadCss(x){
	try{
		var cssStr = ' ';
		cssStr += '\
		div#newslayout h3.smaller {font-size:' + (15+x) +'px;}\ div.newsincategory .news h2 a, div#newslayout h2, div#topstories h2, div#vplusfeatures h2, div#columns h2, div#hottopics h2, div#channelreviews h2, div#columnistupsell h2, div#columnistcolumns h2, div#vplusreports h2 {font-size:' + (14+x) +'px;}\ #fbrssblogs h2, .entry-content .entry-body {font-size:' + (13+x) +'px;}\ div#sectionheadermenu ul, div#departmentcharts div#departmentchartstables, div.slanguage, div#vplusreports .deck, div.baselineentity2 {font-size:' + (12+x) +'px;}\ div.newsincategory div.deck, div.newsincategory div.byline, div.newsincategory div.subcategory, div.newsincategory div.subcategory a, div#newslayout div.deck, div#newslayout div.description, div#newslayout div.byline, div#newslayout div.next a, div.newsincategory div.newsitem, div#topstories div.description, div.more a, div.next a, div#vplusfeatures div.description a, div#columns div.byline, div#hottopics div.description, div#channelreviews .description, div#channelreviews .byline1, div#channelreviews .byline2, div#blogssmall .deck, .feedburnerFeedBlock .headline a, div#dailyd div.des, div#dailyd div.byline1, div#dailyd div.caption, div#DVD div.description, .feedburnerFeedBlock div, div#columnistcolumns div.previous, div#columnistcolumns div.next {font-size:' + (11+x) +'px;}\ .listing {font-size:' + (10+x) +'px;}\ .entry-header .title {font-size:' + (18+x) +'px;}\ div.newsincategory h3, div#newslayout h3, div#topstories h3, div#columns h3, div#hottopics h3, div#blogssmall h3, div#channelreviews h3, div#departmentcharts h3, div#dailyd h3, div#conacontainer h3 {font-size:' + (20+x) +'px;} \
		';
		cssStr += '\
		\
		';

if(cssNode.styleSheet){
			cssNode.styleSheet.cssText = cssStr; // for IE
		} else {
			var cssText = document.createTextNode(cssStr);
			cssNode.appendChild(cssText); // breaks ie
			//cssNode.innerHTML = cssStr; // breaks saffari
		}
		if(!document.getElementById("resizingText"))headID.appendChild(cssNode);
	}catch(err){ 
		// some debugging code
	}
}

function increaseFontSize() {
	if(incdec < 8){
		incdec++;
		loadCss(incdec);
		createCookie('textsize',incdec,1); 
	}
}

function decreaseFontSize() {
	if(incdec > 0){
		incdec--;
		loadCss(incdec);
		createCookie('textsize',incdec,1); 
	}		
}

var x = readCookie('textsize')
if (x && x!=0) {
	x = parseInt(x);
	incdec = x;
	loadCss(x);
}
/**** end font resize ***/

/**** images scrolling marquee ******/
/* The JavaScript Source!! http://javascript.internet.com
Created by: Mr J | http://www.huntingground.net/ */
scrollStep=1
timerLeft=""
timerRight=""
function toLeft(id){
  document.getElementById(id).scrollLeft=0
}

function scrollDivLeft(id){
  clearTimeout(timerRight) 
  document.getElementById(id).scrollLeft+=scrollStep
  timerRight=setTimeout("scrollDivLeft('"+id+"')",20)
}

function scrollDivRight(id){
  clearTimeout(timerLeft)
  document.getElementById(id).scrollLeft-=scrollStep
  timerLeft=setTimeout("scrollDivRight('"+id+"')",20)
}

function toRight(id){
  document.getElementById(id).scrollLeft=document.getElementById(id).scrollWidth
}

function stopMe(){
  clearTimeout(timerRight) 
  clearTimeout(timerLeft)
}
/**** end images scrolling marquee ******/


/**** below are the scripts from evMain.js ******/
<!--//--><![CDATA[//><!--

var selectedBucketType = '';

//RBSearch on header
function toggleHeaderSearch(id,button){
	var divArray = new Array("radiovariety","radioindustrynews","radioweb");

	var div = "radio" + id;
	var i;

	for(i=0;i<3;i++){

		if (divArray[i] != div){
			if (document.getElementById(divArray[i]).className == 'selected'){
				document.getElementById(divArray[i]).className = "unselected";
			}
		}
		else
		{
			if (document.getElementById(divArray[i]).className == 'unselected'){
				document.getElementById(divArray[i]).className = "selected";
			}
		}//end div

	}//end for
	document.SearchForm.searchtype[button].checked=true;
}
function doSearchStuff(){
	var i = 0;
	checkSearch();
	for(i=0;i<3;i++){
		if(document.SearchForm.searchtype[i].checked == true){
			window.location.href  = '/search/' + document.SearchForm.searchtype[i].value +'?q=' + escape(document.SearchForm.q.value) + '&s=' + escape(document.SearchForm.s.value);
		}
	}

	return false;
}


//departments tab thing
	function initRollTabs(rtImgClass, classname, rtArr, rtindex, rtNum, rtSelected) {
		var inc=0
		var alltags=document.all? document.all : document.getElementsByTagName("*")
		for (q=0; q<alltags.length; q++){
			if (alltags[q].className==classname){
				rtArr[inc++]=alltags[q]
			}
		}
		
		if (!document.getElementById) return

		var rtPreLoad = new Array();
		var rtTempSrc;
		var rtTabs = document.getElementsByTagName('li');

		for (var i = 0; i < rtTabs.length; i++) {
			for (var w = 1; w <= rtNum; w++) {
				tempnm = rtImgClass + w;
				if (rtTabs[i].id == tempnm) {
					rtindex.value = w;
					var src = rtTabs[i].className;
					var hsrc = 'lion';

					rtTabs[i].setAttribute('hsrc', hsrc);
					rtTabs[i].setAttribute('tbid', w);
					rtTabs[i].setAttribute('ibid', i);
					if (w == rtSelected) {
						rtTabs[i].className='lion';
						rtindex = i;
					}

					rtTabs[i].onmouseover = function() {
						rtTempSrc = this.getAttribute('className');
						this.className=this.getAttribute('hsrc');
						ShowContent(this.getAttribute('tbid'), rtNum, rtArr);
						if (rtindex != this.getAttribute('ibid')) {
							rtTabs[rtindex].className='lioff';
							rtindex = this.getAttribute('ibid');
						}
					}
					
				}
			}

		}
		ShowContent(rtSelected, rtNum, rtArr);
	}
	

	function ShowContent(divOn, numDivs, arrName){
		//get chosen message index (to show it):
		selindex = divOn - 1;
		for (p=0;p<numDivs;p++)
		{
			if (p == selindex) {
				arrName[p].style.display="block" //show current message
			} else {
				arrName[p].style.display="none" //hide previous message
			}
		}
	}

function getCookie1(Name) {
  var search = Name + "=";
	if (document.cookie.length > 0) { //if there are any cookies
    offset = document.cookie.indexOf(search);
    if (offset != -1) { // if cookie exists
      offset += search.length;    //set index of beginning of value
      end = document.cookie.indexOf(";", offset);  // set index of end of cookie value
      if (end == -1) end = document.cookie.length;
      return unescape(document.cookie.substring(offset,end))
    }
  }
}

function checkSearch()
{
	var searchField = document.getElementById('SearchText');

	switch (searchField.value)
	{
		case "":
		case "Enter Keywords":
			window.alert("Please enter a search term.");
			searchField.focus();
			return false;
	}
}

function bucketTypeTabOnClick(bucketType)
{
	var searchField = document.getElementById('SearchText');

	switch (searchField.value)
	{
		case "":
		case "Enter Keywords":
			window.alert("Please enter a search term.");
			searchField.focus();
			return false;
	}

	var form = document.getElementById('SearchForm');

	window.location.href = '/search/' + bucketType + '?q=' + escape(searchField.value);
}

function searchFieldSetFocus()
{
	var searchField = document.getElementById('SearchText');
	if (searchField != null)
	{
		searchField.focus();
	}
}

function ss(w, id)
{
	window.status = w;
	return true;
}

function cs()
{
	window.status = "";
}

function jump(url,linktype)
{
	if (document.images && url)
	{
		new Image().src = '/contents/images/_jump.gif?url=' + escape(url).replace(/\+/g, '%2B') + '&type=' + linktype;
	}
	
	return true;
}

function toggleLayer(sourceElement, elementId)
{
	var element;

	if (document.getElementById)
	{
		// this is the way the standards work
		element = document.getElementById(elementId);
	}
	else if (document.all)
	{
		// this is the way old msie versions work
		element = document.all[elementId];
	}
	else if (document.layers)
	{
		// this is the way nn4 works
		element = document.layers[elementId];
	}

	element.style.display = element.style.display ? '' : 'inline';
	
	sourceElement.innerHTML = element.style.display ? '&lt; <strong style="text-decoration:none;">less</strong>' : '<strong style="text-decoration:none;">more</strong> &gt;';
}


function stripQts2(name) {
	var newName = "";
	var test = name.split(unescape("%27%27")); //split the field on ascii code for double ''
	for (i=0;i<test.length;i++) {
	if (i != (test.length - 1) ) newName = newName + test[i] + "'";  // put it back together with an "'"
	else newName = newName + test[i]; // make sure end of string has no "'"
	}
	userQuery = newName;
}

//Review_Feedback
function ValidEmailFeedback(email) {
	invalidChars = " /:,;"
	if (email == "") {
		return false
	}
	for (i=0; i<invalidChars.length; i++) {
		badChar = invalidChars.charAt(i)
		if (email.indexOf(badChar,0) != -1) {
			return false
		}
	}
	atPos = email.indexOf("@",1)
	if (atPos == -1) {
		return false
	}
	if (email.indexOf("@",atPos+1) != -1) {
		return false
	}
	periodPos = email.indexOf(".",atPos)
	if (periodPos == -1) {
		return false
	}
	if (periodPos+3 > email.length) {
		return false
	}
		return true
}

function ValidateInputFeedback(form){
	if (form.email.value == "" ) {
		alert("Please enter your Email Address.");
		form.email.focus();
		return false;
	}

	if (form.email.value != "" ) {
		if (!ValidEmailFeedback(form.email.value)) {
			AlertMsg = "Please enter your full email address, including the @ sign and the domain.\r\n\r\nFor example:\r\n\r\nfsmith@xyz.com\r\nsally@aol.com\r\n";
			alert(AlertMsg);
			form.email.focus();
			form.email.select();
			return false;
		}
	}
return true;
}

function FeaturedStory(linkUrl, imageUrl, altAttribute, headline, nutgraph)
{
	this.LinkUrl = linkUrl;
	this.ImageUrl = imageUrl;
	this.AltAttribute = altAttribute;
	this.Headline = headline;
	this.Nutgraph = nutgraph;

	this.PreloadedImage = new Image();
	this.PreloadedImage.src = imageUrl;
}

function Switch(featuredStoryIndex)
{
	FeaturedClick = 1;
	RotateStop();
	FeaturedStoryCurrentIndex = featuredStoryIndex;
	UpdateFeaturedStoryDisplay(featuredStoryIndex);
}

function SwitchPrevious()
{
	FeaturedClick = 1;
	RotateStop();
	RotatePrevious();
}

function SwitchNext()
{
	FeaturedClick = 1;
	RotateStop();
	RotateNext();
}

function RotatePlay()
{
	if (FeaturedClick == 0) {
		FeaturedStoryTimerId = window.setInterval('RotateNext()', FEATURED_STORY_ROTATE_INTERVAL);
	}
}

function RotateStop()
{
	if (FeaturedStoryTimerId != null)
	{
		window.clearInterval(FeaturedStoryTimerId);

		FeaturedStoryTimerId = null;
	}
}

function RotatePrevious()
{
	FeaturedStoryCurrentIndex--;

	if (FeaturedStoryCurrentIndex < 0)
	{
		FeaturedStoryCurrentIndex = FEATURED_STORY_COUNT - 1;
	}

	UpdateFeaturedStoryDisplay(FeaturedStoryCurrentIndex);
}

function RotateNext()
{
	FeaturedStoryCurrentIndex++;

	if (FeaturedStoryCurrentIndex == FEATURED_STORY_COUNT)
	{
		FeaturedStoryCurrentIndex = 0;
	}

	UpdateFeaturedStoryDisplay(FeaturedStoryCurrentIndex);
}

function UpdateFeaturedStoryDisplay(featuredStoryIndex)
{
	var headlineAnchor1 = document.getElementById('featuredstorylinkurl1');
	var headlineAnchor2 = document.getElementById('featuredstorylinkurl2');
	var slideshow = document.getElementById('featuredstoriesslideshownav');
	var featuredImage = document.getElementById('featuredstoryimageurl');
	var nutgraph = document.getElementById('featuredstorynutgraph');
	var slideshowAnchors = slideshow.getElementsByTagName('a');
	var highlightIndex = 0;
	var featuredStory = FeaturedStories[featuredStoryIndex];

	headlineAnchor1.href = featuredStory.LinkUrl;
	headlineAnchor2.href = featuredStory.LinkUrl;
	headlineAnchor2.innerHTML = featuredStory.Headline;
	featuredImage.src = featuredStory.ImageUrl;
	featuredImage.alt = featuredStory.AltAttribute;
	nutgraph.innerHTML = featuredStory.Nutgraph;

	for (var anchorIndex = 0; anchorIndex < slideshowAnchors.length; anchorIndex++)
	{
		switch (slideshowAnchors[anchorIndex].className)
		{
			case 'sequenceoff':
			case 'sequenceon':
				if (highlightIndex == featuredStoryIndex)
				{
					slideshowAnchors[anchorIndex].className = 'sequenceon';
				}
				else
				{
					slideshowAnchors[anchorIndex].className = 'sequenceoff';
				}

				highlightIndex++;

				break;
		}
	}
}

//Article, Review Upsell
	if (document.images)
	{
		LOGINON=new Image(69,21)
		LOGINON.src="/graphics/upsell/upsell_login_buttonRO.gif";

		LOGINOFF=new Image(69,21)
		LOGINOFF.src="/graphics/upsell/upsell_login_button.gif";
	}

	function on(pic)
	{
		if (document.images)
		{
			document.images[pic].src=eval(pic + "ON.src");
		}
	}

	function off(pic)
	{
		if (document.images)
		{
			document.images[pic].src=eval(pic + "OFF.src");
		}
	}

	function submitForm()
	{
		document.frmLogin.submit();
	}


	function popVert(URL) {
		day = new Date();
		id = day.getTime();
		window.open(URL, null, "top=150,left=300,height=550,width=550,status=yes,toolbar=yes,menubar=yes,location=yes,resizable=yes,scrollbars=yes,titlebar=yes");
	}

function talkBackPopUp(articlePrefix, articleId){
	var url
	url = "/index.asp?layout=talkBackPostPopup&article_prefix=" + articlePrefix + "&article_id=" + articleId
	window.open(url, null, "top=150,left=300,height=590,width=520,status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=no,titlebar=no");
}

//Featured Stories Slideshow on homepage
var FEATURED_STORY_ROTATE_INTERVAL = 10.0 * 1000; // milliseconds
var FEATURED_STORY_COUNT = 4;
var FeaturedStoryCurrentIndex = 0;
var FeaturedStoryTimerId = null;
var FeaturedClick = 0;
var FeaturedStories = new Array(FEATURED_STORY_COUNT);
var storyCount = 0;

//Film Search?
function ValidateInputSearch(search){
if (search.filmQuery.value == "" ) {
		alert("Please enter the name of the film you are searching for.");
		search.filmQuery.focus();
		return false;
	}
return true;
}

function bo_submit() {
var sel;
		sel = document.bo.boxyear;
		var yr = sel.options[sel.options.selectedIndex].value;
		sel = document.bo.boxmonth;
		var mo = sel.options[sel.options.selectedIndex].value;
		sel = document.bo.boxday;
		var da = sel.options[sel.options.selectedIndex].value;
		var dateStr = mo+'/'+da+'/'+yr;

if (document.bo.country.value == 'v1'){
	document.bo.layout.value = 'b_o_weekend';
}
else
{
document.bo.sort.value = 'BOTHISWEEK';
	document.bo.layout.value = 'b_o_foreign';
}

document.bo.date.value = dateStr;
document.bo.submit();
}

// On subscribe.asp, hovering over the topnav will make the select lists disappear.
function hideShowRegistrationSelect(tag)
{
	var element = document.getElementsByTagName(tag);
	var i;

//		if(element)
//		{
//			if (element[0].style.display == 'none' ) 
//			{
//				element[0].style.display = '';
//			} else 
//			{
//				element[0].style.display = 'none';	
//			}
//		}
}

function trim(value) {
	var agt=navigator.userAgent.toLowerCase();
	if(agt.indexOf("safari")!=-1)
		return safariTrim(value)
	else
		return standardTrim(value);
}

function safariTrim(str)
// simpler trim needed because Safari is buggy
{
	return RTrim(LTrim(str));
}

function LTrim(str)
// part of Safari trim
{
	var whitespace = new String(" \t\n\r");

	var s = new String(str);

	if (whitespace.indexOf(s.charAt(0)) != -1) {
	// We have a string with leading blank(s)...

	var j=0, i = s.length;

	// Iterate from the far left of string until we
	// don't have any more whitespace...
	while (j < i && whitespace.indexOf(s.charAt(j)) != -1)
	 j++;

	// Get the substring from the first non-whitespace
	// character to the end of the string...
	s = s.substring(j, i);
	}
	return s;
}

function RTrim(str)
// part of Safari trim
{
	// We don't want to trip JUST spaces, but also tabs,
	// line feeds, etc.  Add anything else you want to
	// "trim" here in Whitespace
	var whitespace = new String(" \t\n\r");

	var s = new String(str);

	if (whitespace.indexOf(s.charAt(s.length-1)) != -1) {
	  // We have a string with trailing blank(s)...

	  var i = s.length - 1;       // Get length of string

	  // Iterate from the far right of string until we
	  // don't have any more whitespace...
	  while (i >= 0 && whitespace.indexOf(s.charAt(i)) != -1)
		 i--;


	  // Get the substring from the front of the string to
	  // where the last non-whitespace character is...
	  s = s.substring(0, i+1);
	}

	return s;
}

function standardTrim(value) {
// original trim function, does not work on Safari
	var temp = value;
	var obj = /^(\s*)([\W\w]*)(\b\s*$)/;
	if (obj.test(temp)) { temp = temp.replace(obj, '$2'); }
	var obj = /  /g;
	while (temp.match(obj)) { temp = temp.replace(obj, " "); }
	return temp;
}

//--><!]]>

/*
var myDate=new Date()
var today = new Date()
myDate.setFullYear(2008,1,1)

if ((!getCookie('VAR-PrivacyPolicy')) && (today < myDate)){

makeCookie('VAR-PrivacyPolicy','Y',60);
window.open('/index.asp?layout=module&module=popup&cache=FALSE', 'privacy_policy_popup', 'width=320, height=270, resizable=no, scrollbars=no' );

}
*/

function makeCookie(name,value,days)
{
	if (days)
	{
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function getCookie(name)
{
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++)
	{
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}
function RefreshImage(valImageId) {
	var objImage = document.images[valImageId];
	if (objImage == undefined) {
		return;
	}
	var now = new Date();
	objImage.src = objImage.src.split('?')[0] + '?x=' + now.toUTCString();
}

/**** tabs change content on click ******/
function hideall(thisCount,lastCount){
  for (count=thisCount; count<lastCount; count++) // set "lastcount" to one more than the total images/links
  document.getElementById('box'+count).style.display='none';
}

function showbox(box){
  document.getElementById(box).style.display='block';
}

var lastID = 0;
var thisID = 3;
var finalID = 11;
function SelectImg(id,tabs) {
  if (lastID > 0) {
    document.getElementById(lastID).className = "tabNormal";
  }
  document.getElementById(id).className = tabs;
  lastID = id;
}

function SelectImg2(id,tabs) {
  if (thisID > 3) {
    document.getElementById(thisID).className = "tabNormal";
  }
  document.getElementById(id).className = tabs;
  thisID = id;
}

function SelectImg3(id,tabs) {
  if (finalID > 11) {
    document.getElementById(finalID).className = "tabNormal";
  }
  document.getElementById(id).className = tabs;
  finalID = id;
}
/**** end tabs change content on click ******/


/** onLoad **/
// Multiple onload function created by: Simon Willison
// http://simonwillison.net/2004/May/26/addLoadEvent/
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

document.write('<sc'+'ript language="JavaScript" src="http://www.variety.com/graphics/js/VarietyScriptsNew.js" type="text/javascript"></sc'+'ript>');
document.write('<style>div#globalnav1 ul, div#globalnav2 ul {list-style:none;padding:0;margin:0;}');
document.write('ul#topnavlevel1 {list-style:none;z-index:100;margin:0;padding:0;}');
document.write('ul#topnavlevel1 li {background-color:#ccc;display:inline;float:none;position:relative;margin:0;padding:0;border-right:none;}');
document.write('ul#topnav2 li {background:none;display:inline;position:relative;padding:inherit;border-right:none;color:#e0dbcd;}');
document.write('div#globalnav1 {width:996px;height:26px;overflow:visible;position:relative;z-index:100000;border-top:1px solid #ccc;background-color:#ccc;}');
document.write('div#globalnav1 ul {position:relative;background-color:#ccc;z-index:100000;margin:0;padding:0;overflow:visible;}');
document.write('div#globalnav1 li {float:left;position:relative;margin:0;padding:0 20px;}');
document.write('.gecko div#globalnav1 li {padding:0 21px;}');
document.write('.win.gecko div#globalnav1 li {padding:0 20px;}');
document.write('.webkit div#globalnav1 li {padding:0 21px;}');
document.write('.chrome div#globalnav1 li {padding:0 20px;}');
document.write('div#globalnav1 li#vmc {background-color:#999;float:right;display:block;padding:0 19px;margin:0;}');
document.write('.ie8 div#globalnav1 li#vmc {padding:0 23px;}');
document.write('.webkit div#globalnav1 li#vmc {padding:0 16px;}');
document.write('.gecko div#globalnav1 li#vmc {padding:0 26px;}');
document.write('.win.gecko div#globalnav1 li#vmc, .chrome div#globalnav1 li#vmc {padding:0 23px; }');
document.write('div#globalnav1 li h3 {	margin:6px 0;font:bold 11px/1.275em verdana,arial,helvetica;text-transform:none;padding:0 6px 0 7px;}');
document.write('.ie7 div#globalnav1 li h3 {padding:0 7px 0 7px;}');
document.write('div#globalnav1 li#vmc h3 {	margin:6px 1px;font:bold 11px/1.275em verdana,arial,helvetica;text-transform:none;padding:0 5px 0 6px;color:#FFF;}');
document.write('.ie7 div#globalnav1 li#vmc h3 {padding:0 7px 0 6px;}');
document.write('div#globalnav1 li a:hover {text-decoration:none;}');
document.write('div#globalnav1 li:hover {background-color:#fff;}');
document.write('#globalnav2 {width:996px;background:url(http://www.variety.com/graphics/variety/TopNavSubmenu_gradient_bg.gif) #daeadf repeat-x top left;height:28px;display:block;position:relative;border-bottom:1px solid #867f6e;overflow:visible;z-index:100000;margin-bottom:11px;font:bold 12px Verdana, Geneva, sans-serif;}');
document.write('#globalnav2 h2 {font:bold 12px Georgia, "Times New Roman", Times, serif;color:#063;float:left;margin:9px 5px 9px 8px;padding:0;}    ');
document.write('ul#topnavlevel2, ul#topnav2 {list-style:none;z-index:100;position:relative;}');
document.write('ul#topnavlevel2 {margin:0 4px 0 1px;}');
document.write('ul#topnav2 {width:326px;display:inline;}');
document.write('ul#topnav2 {margin:0;padding:0;width:inherit;}');
document.write('ul#topnavlevel2 li {display:block;float:left;position:relative;margin:0;padding:0 22px 0 23px;border-right:1px solid #cc9;margin-top:1px;}');
document.write('#topnav2 li {float:left;padding:0 10px 0 10px;border-right:none;margin:0;color:#e0dbcd;}');
document.write('.gecko #topnav2 li {padding:0 12px 0 13px;}');
document.write('.win.gecko #topnav2 li {padding:0 10px 0 10px;}');
document.write('.safari ul#topnav2 li {padding:0 12px 0 14px;}');
document.write('*html ul#topnav2 li {padding:0 19px;}');
document.write('ul#topnavlevel2 div.lvl2cont {position:absolute;top:15px;width:700px;height:1px;z-index:100000;left:-99999999px;overflow:visible;}');
document.write('ul#topnavlevel2 li div.lvl2cont ul li {border-right:none;position:relative;z-index:100000;}');
document.write('ul#topnavlevel2 div.lvl2cont ul li.head {padding-top:5px;padding-bottom:3px;}');
document.write('ul#topnavlevel2 li#events div.lvl2cont {width:500px;}');
document.write('ul#topnavlevel2 li a, ul#topnav2 li a  {text-decoration:none;color:#000;}');
document.write('ul#topnavlevel2 li:hover, ul#topnav2 li:hover {background-image:none;background-color:#fff;margin-top:1px;}');
document.write('* html ul#topnavlevel2 li:hover, * html ul#topnav2 li:hover {padding:0px 7px 2px;}');
document.write('ul#topnavlevel2 li h3, ul#topnav2 li h3 {margin:7px 0 4px 0;padding:0;font-size:13px;text-transform:uppercase;}');
document.write('ul#topnav2 li h3 {font:bold 11px/1.675em verdana,arial,helvetica;text-transform:none;color:#369;margin:7px 0 1px 0;}');
document.write('ul#topnav2 li h3:hover {color:#000;margin-bottom:1px;}');
document.write('ul#topnav2:hover {color:#000;margin-bottom:1px;}');
document.write('ul#topnavlevel2 li.sfhover div.lvl2cont {left:-1px;top:28px;}');
document.write('ul#topnavlevel2 ul.level2 {background:url(http://www.variety.com/graphics/variety/DropdownGradient_bg.gif) repeat-x top left;position:relative;top:0;list-style-type:none;width:200px;background-color:#fff;border:1px solid #000;z-index:9999999999999;margin:0;padding:5px;margin-top:-1px;}');
document.write('ul#topnavlevel2 li ul.level2 li {float:none;white-space:nowrap;background:none;color:#000;margin:0;padding:0;font:12px Verdana, Geneva, sans-serif;}');
document.write('ul#topnavlevel2 li ul.level2 li:hover, ul#topnavlevel2 li ul.level2 li.sfhover {background-color:#063;color:#fff;}');
document.write('ul#topnavlevel2 li ul.level2 li.head:hover, ul#topnavlevel2 li ul.level2 li.head .sfhover:hover {background-color:transparent;}');
document.write('ul#topnavlevel2 li ul.level2 li.first {border-top:none;float:none;white-space:nowrap;margin:0;padding:5px 0 3px 0; font-weight:bold;}');
document.write('ul#topnavlevel2 li ul.level2 li:hover, ul#topnavlevel2 li ul.level2 li.first:hover, ul#topnavlevel2 li ul.level2 li.firstsfhover {font-weight:bold;}');
document.write('ul#topnavlevel2 li ul.level2 li.first:hover, ul#topnavlevel2 li ul.level2 li.firstsfhover {background-color:transparent;padding:5px 0 3px 0;color:#000;}');
document.write('ul#topnavlevel2 li ul.level2 li a {display:block;font-weight:normal;white-space:nowrap;line-height:14px;margin:0;padding:5px 6px 3px;color:#039;}');
document.write('ul#topnavlevel2 li ul.level2 li a:hover {border:none;margin:0;padding:5px 6px 3px;color:#fff;}');
document.write('* html ul#topnavlevel2 li ul.level2 li a,* html ul#topnavlevel2 li ul.level2 li a:hover {width:1px;line-height:14px;}');
document.write('</style>');

document.write ('<div id="globalnav1">');
document.write ('<ul id="topnavlevel1" name="topnav">');
document.write ('<li><a href="http://www.variety.com/index.asp?layout=latest_news&lid=latest_news_topnav"><h3>Latest News</h3></a></li>'); 
      document.write ('<li><a href="http://www.variety.com/index.asp?layout=reviews_front"><h3>Reviews</h3></a></li> ');
      document.write ('<li><a href="http://www.variety.com/index.asp?layout=people_home"><h3>People News</h3></a></li> ');
      document.write ('<li><a href="http://www.variety.com/index.asp?layout=charts_layout"><h3>Charts</h3></a></li> ');
      document.write ('<li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Opinions"><h3>Opinions</h3></a></li> ');
      document.write ('<li><a href="http://www.variety.com/index.asp?layout=photoGallery"><h3>Photos</h3></a></li>'); 
      document.write ('<li><a href="http://www.variety.com/index.asp?layout=videoBC&bctid=28991919001"><h3>Videos</h3></a></li> ');
      document.write ('<li id="vmc"><a href="http://www.varietymediacareers.com/"><h3>VarietyMediaCareers.com</h3></a></li> ');
    document.write ('</ul> ');
document.write ('</div><div id="globalnav2">'); 
  document.write ('<ul id="topnavlevel2"> ');
   document.write (' <li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Film" title="Film"><h3>FILM</h3></a> ');
      document.write ('<div class="lvl2cont"> ');
       document.write (' <ul class="level2"> ');
         document.write (' <li class="first">Browse By</li> ');
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Film" title="Film Home">Film Home</a></li> ');
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=news_layout&dept=Film" title="Film Latest News">Latest News</a></li> ');
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=reviews_layout&dept=Film" title="Film Reviews">Reviews</a></li>  ');
         document.write ('<li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Indies" title="Indie Films">Indies</a></li>'); 
         document.write ('<li><a href="http://www.variety.com/index.asp?layout=people_home" title="%dept% People News">People News</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=b_o_layout&dept=Film" title="Film Charts">Charts</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=photoGallery&galleryid=850" title="%dept% Photos">Photos</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=videoBC&bctid=28991919001" title="%dept% Video">Videos</a></li>'); 
          document.write ('<li class="first">Hot Topics</li>'); 
         document.write ('<li><a href="http://www.variety.com/index.asp?layout=hottopic&id=1061" title="Film Festivals">Film Festivals</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=hottopic&id=1278" title="Box Office">Box Office</a></li>'); 
           document.write ('<li class="first">Opinions</li>'); 
   document.write ('<li><a href="http://www.variety.com/index.asp?layout=columns_top5&categoryid=1" title="Peter Bart Column">Peter Bart Column</a></li>');  document.write ('<li><a href="http://weblogs.variety.com/bfdealmemo/" title="Peter Bart Michael Fleming">BFDealmemo</a></li>'); 
        document.write ('</ul> ');
     document.write (' </div><!-- lvl2cont --> ');
    document.write ('</li> ');
 
    document.write ('<li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=TV" title="TV">'); 
      document.write ('<h3>TV</h3></a> ');
      document.write ('<div class="lvl2cont"> ');
       document.write (' <ul class="level2"> ');
         document.write (' <li class="first">Browse By</li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=TV" title="TV Home">TV Home</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=news_layout&dept=TV" title="TV Latest News">Latest News</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=reviews_layout&dept=TV" title="TV Reviews">Reviews</a></li>'); 
           document.write ('<li><a href="http://www.variety.com/index.asp?layout=people_home" title="%dept% People News">People News</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=chart_tv_prod&sort=0&dept=TV" title="TV Charts">Charts</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=photoGallery&galleryid=875" title="%dept% Photos">Photos</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=videoBC&bctid=1533001413" title="%dept% Video">Videos</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=upfronts09" title="Upfronts">Upfronts</a></li>'); 
           document.write ('<li class="first">Hot Topics</li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=hottopic&id=1300" title="Pilot Watch">Pilot Watch</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=hottopic&id=1275" title="TV Ratings">TV Ratings</a></li>'); 
           document.write ('<li class="first">Opinions</li>'); 
          document.write ('<li><a href="http://weblogs.variety.com/BLTV/" title="BLTV">BLTV</a></li>'); 
          document.write ('<li><a href="http://weblogs.variety.com/on_the_air/" title="Littleton on the Air">Littleton on the Air</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=columns_top5&categoryid=1682" title="Brian Lowry">Brian Lowry</a></li>'); 
       document.write (' </ul> ');
     document.write (' </div><!-- lvl2cont --> ');
   document.write (' </li><!-- end TV --> ');
 
    document.write ('<li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Legit" title="Legit"> ');
     document.write (' <h3>LEGIT</h3></a>'); 
      document.write ('<div class="lvl2cont">'); 
        document.write ('<ul class="level2"> ');
          document.write ('<li class="first">Browse By</li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Legit" title="Legit Home">Legit Home</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=news_layout&dept=Legit" title="Legit Latest News">Latest News</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=reviews_layout&dept=Legit" title="Legit Reviews">Reviews</a></li>'); 
      document.write ('<li><a href="http://www.variety.com/index.asp?layout=people_home" title="%dept% People News">People News</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=legit_chart&page=LegitWeeklyBO" title="Legit Chart">Charts</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=photoGallery&galleryid=873" title="%dept% Photos">Photos</a></li>'); 
           document.write ('<li class="first">Hot Topics</li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=hottopic&id=1282" title="Legit Box Office">Legit Box Office</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=hottopic&id=3689" title="The Verdict">The Verdict</a></li>'); 
      document.write ('  </ul> ');
     document.write (' </div> ');
   document.write (' </li><!-- end Legit --> ');
 
   document.write (' <li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Music" title="Music"> ');
      document.write ('<h3>MUSIC</h3></a> ');
     document.write (' <div class="lvl2cont"> ');
       document.write (' <ul class="level2"> ');
         document.write (' <li class="first">Browse By</li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Music" title="Music Home">Music Home</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=news_layout&dept=Music" title="Music Latest News">Latest News</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=reviews_layout&dept=Music" title="Music Reviews">Reviews</a></li>'); 
           document.write ('<li><a href="http://www.variety.com/index.asp?layout=people_home" title="%dept% People News">People News</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=photoGallery&galleryid=858" title="%dept% Photos">Photos</a></li>'); 
       document.write (' </ul> ');
      document.write ('</div> ');
   document.write (' </li><!-- end Music --> ');
 
    document.write ('<li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Technology" title="Technology"> ');
     document.write (' <h3>TECH</h3></a> ');
     document.write (' <div class="lvl2cont"> ');
        document.write ('<ul class="level2"> ');
        document.write ('  <li class="first">Browse By</li> ');
    document.write ('  <li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=Technology" title="Technology Home">Technology Home</a></li>'); 
  document.write ('<li><a href="http://www.variety.com/index.asp?layout=news_layout&dept=Technology" title="Technology Latest News">Latest News</a></li>'); 
 document.write ('<li><a href="http://www.variety.com/index.asp?layout=reviews_layout&dept=DVD/Video%20Game" title="Technology Reviews">Reviews</a></li>'); 
document.write ('<li><a href="http://www.variety.com/index.asp?layout=chart_pass&charttype=ev_chartVideoGames" title="Technology Charts">Charts</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=photoGallery&galleryid=872" title="%dept% Photos">Photos</a></li>'); 
 
          document.write ('<li class="first">Hot Topics</li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=hottopic&id=2222" title="Digital Cinema">Digital Cinema</a></li>'); 
          document.write ('<li><a href="http://www.variety.com/index.asp?layout=hottopic&id=1079" title="Video Games">Video Games</a></li>'); 
 
          document.write ('<li class="first">Opinions</li>'); 
          document.write ('<li><a href="http://weblogs.variety.com/technotainment/" title="Technotainment">Technotainment</a></li>'); 
        document.write ('</ul> ');
      document.write ('</div> ');
    document.write ('</li><!-- end Tech --> ');
     
   document.write (' <li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=International" title="International"> ');
     document.write (' <h3>International</h3></a> ');
     document.write (' <div class="lvl2cont"> ');
       document.write (' <ul class="level2"> ');
         document.write ('<li class="first">Browse By</li>'); 
 document.write ('<li><a href="http://www.variety.com/index.asp?layout=dept_main&dept=International" title="International Home">International Home</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=news_layout&dept=International" title="International Latest News">Latest News</a></li>'); 
          document.write (' <li><a href="http://www.variety.com/index.asp?layout=people_home" title="%dept% People News">People News</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=foboweekly" title="International Charts">Charts</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=photoGallery&galleryid=856" title="%dept% Photos">Photos</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=videoBC&bctid=8632559001" title="%dept% Video">Videos</a></li>'); 
 
        document.write ('  <li class="first">Hot Topics</li>'); 
        document.write ('  <li><a href="http://www.variety.com/index.asp?layout=hottopic&id=1278" title="Foreign Box Office">Foreign Box Office</a></li>'); 
         document.write (' <li><a href="http://www.variety.com/index.asp?layout=hottopic&id=3741" title="Mipcom">Mipcom</a></li>'); 
      document.write ('  </ul> ');
    document.write (' </div> ');
    document.write (' </li><!-- end international --> ');
 
  document.write ('</ul><!-- end <ul id="staticMenu"> --> ');
 
  document.write ('<h2>Hot Topics:</h2> ');
     document.write ('<ul id="topnav2"> ');
document.write ('<li><a href="http://www.variety.com/index.asp?layout=awardcentral" title="Oscars, Academy Awards, Golden Globes, Grammy, Guild News"><h3>Award Central</h3></a></li>');
document.write ('<li><a href="http://www.variety.com/index.asp?layout=hottopic&id=3881" title="NAPTE"><h3>NATPE</h3></a></li>'); 
document.write ('<li><a href="http://www.variety.com/index.asp?layout=festivals&jump=sundance" title="Sundance Film Festival"><h3>Sundance</h3></a></li>'); 
document.write ('</ul><!-- end topnav2 --> ');
document.write ('</div>'); 
 


 
 
 
 
 




