function CmsContainerShow()
{
	document.getElementById("loading_panel").style.display = 'none';
	document.getElementById("container").style.display = 'inline';
}

function ExportCsv(path)
{
	var type = document.getElementById('ExportType').value;
	
	location.href = path + (typeof(type) != undefined ? '/' + type : '');
}

var viewImageWnd = null;

function viewImage(URL, dwidth, dheight, dname)
{
    var leftpos = (self.screen.width / 2) - (dwidth / 2);
    var toppos = (self.screen.height / 2) - (dheight / 2);
    
    //if (viewImageWnd && Engine.isOpera == false)
    //{
        //viewImageWnd.close();
    //}
    
    viewImageWnd = window.open(URL,dname,'status=no,modal=yes,width='+dwidth+',height='+dheight+',left='+leftpos+',top='+toppos+'');
    
    return false;
}
