
function imageOver(img)
	{
		eval("document." + img + ".src =" + img + "_on.src");
	}
function imageOut(img)
	{
		eval("document." + img + ".src =" + img + "_off.src");
	}
	
function gotoURL(nav)
		{	
			var strTarget;
			var url = nav.options[nav.selectedIndex].value;
			if (url.indexOf("target") != -1 && url != "0")
			{
				strTarget = url.substring(url.lastIndexOf("=")+1,url.length),
				window.open(url,strTarget);
			}
			else if (url != "0")
			{
				top.document.location.href = url
			}	
		}
		
function openWindow(theURL,winName,features) 
		{
		window.open(theURL,winName,features);
		}		

function openWindowWithArgs(theURL,winName,features,args)
{
	var str = "";
	for(var i=0; i<args.length; i++)
	{
		if(i<args.length-1)
			str += args.options[i].text + "*";
		else
			str += args.options[i].text;
	}
	theURL += "?cities=" + str;
	
	window.open(theURL,winName,features);
}
function module_click(div)
{
	var this_div;
		this_div = document.getElementById("divMod1");
		if (this_div.style.display == "none")
			this_div.style.display = "";
		else
			this_div.style.display = "none";
			bClose = false;
}


