/*	PURPOSE:  Swap an image onMouseOver or onMouseOut.
	imgName: NAME attribute of an IMG tag to be swapped.
	sSrc: string path to the image to become the image source.
*/

function rollImage(imgName, sSrc)
{
	if(document.images){
		var objImg = eval(document.images[imgName])
		objImg.src = sSrc;
	}
}

function disp_text()
{
   	var w = document.dropdown.month.selectedIndex;
  	var url = "browse.aspx?con_country="+document.dropdown.month.options[w].value;
	document.location=url; 
}
   	
function voteBrowse_over(elementID)
{
	var imgDiv = document.getElementById("filmdetailsSwap");
	imgDiv.src = "images/vote_browse/entry"+ elementID + "_big.jpg";
}
		
function voteBrowse_out(userLang)
{
	var imgDiv = document.getElementById("filmdetailsSwap");
	imgDiv.src = "/tnbi/" + userLang + "/vote/images/entryDown.gif";;
}


function voteBrowse_click(elementID)
{
	var url = "shrtlst.aspx?filmid="+elementID;
	document.location=url; 
}

function openWin(url, windowParameters){
	popup = window.open(url, 'popup', windowParameters);
	popup.focus();
}