function fnPost(ctl,frm_name)
{
	var theForm = document.getElementById(frm_name);
	var cPost = document.getElementById('cPost');
	
	if (cPost)
	{
	   cPost.value=ctl.id;
	   if (theForm)
          theForm.submit();
	}   
	return false;
}

	
function fnSwapImages(section)
{
	// alert(section);
	 
	var panel = document.getElementById('panelLeft');
	if (panel)
	{
		var image_test = "url(imagesa/left_"+section+".jpg)";
		panel.style.background=image_test;
		//alert(panel.style.background);
	}
	else
	  alert(section);
}

function fnRefreshMe()
{
	//alert("Got Message");
	window.location.reload(true );
	
}
function fnClose()
{
	window.opener.fnRefreshMe();
	//return;
	window.close();
	
}