/*	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 changeRegion()
{
   	var w = document.dropdown.month.selectedIndex;
  	var url = "?regional="+document.dropdown.month.options[w].value;
   	document.location=url; 
}

function changeCountry()
{
   	var w = document.CountryDropDown.countryVar.selectedIndex;
  	var url = "?country="+document.CountryDropDown.countryVar.options[w].value;
   	document.location=url; 
}

function rollPreviewImage(imgName, sSrc)
{
	if(document.images){
		var objImg = eval(document.images[imgName]);
		objImg.src = "/YIF2006/source/images/spacer.gif";
		objImg.src = sSrc;
	}
}
