function openLargeView(strUrl,nSmallWidth,nSmallHeight,bFormat)
{
	var nWidth  = 0
	var nHeight = 0
	if(!bFormat)
	{
		nWidth 	= 600
		if(nSmallWidth > 0) nHeight = (600/nSmallWidth) * nSmallHeight 
		else nHeight = 600
	}
	else
	{
		nHeight = 600
		if(nSmallHeight > 0) nWidth = (600/nSmallHeight) * nSmallWidth 
		else nWidth = 600
	}
	var l = (screen.availWidth - nWidth) / 2;
	var t = (screen.availHeight - nHeight) / 2;
	window.open(strPath + "_include/content/countries/cuba/largeView.asp?img=" + strUrl,"newwindow","width="+nWidth+",height=" +nHeight+",left="+l+",top="+t+",scrollbars=no;");
}

function hideAll() {
	getMenu("art",false);
	getMenu("country",false);
}

function getMenu(strId,bShow,nMenu) {
	var objTd   = document.getElementById(strId + "_td");
	if(bShow == true) {
		objTd.className = "cuba_menu_over";
		var objDiv  = document.getElementById(strId+"_div");
		objDiv.style.visibility = "visible";
	} else {
		objTd.className = "cuba_menu";
		document.getElementById(strId+"_div").style.visibility = "hidden";	
	}
}

function changeClass(strId,bShow,bMenu) {
	var obj   = document.getElementById(strId);
	if(bMenu) {
		var strClass="cuba_menu" 
	} else {
		var strClass="cuba_layer"
	} 
	if(bShow) {
		obj.className = strClass + "_over"
		if(document.getElementsByName("cuba_menu_link_" + strId)[0])
			document.getElementsByName("cuba_menu_link_" + strId)[0].id = "cuba_menu_link_over";
	}
	else 
	{
		obj.className = strClass;
		if(document.getElementsByName("cuba_menu_link_" + strId)[0])
			document.getElementsByName("cuba_menu_link_" + strId)[0].id = "cuba_menu_link";
	}
}