<!--
document.oncontextmenu=function(){ alert('Copyright (c) ' + new Date().getFullYear() + ' Professional Solutions.\nAll rights reserved.'); return false; }

function log_out()
{
    var ht = document.getElementsByTagName("html");
    ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
    if (confirm('Are you sure you want to log out?')) {
        return true;
    }
    else {
        ht[0].style.filter = "";
        return false;
    }
}

function open_report(report, width, height)
{
	var optString = 'toolbar=no, menubar=no, resizable=yes, location=no, scrollbar=yes, status=no';
	
	if(width != undefined) {
		optString += ', width=' + width;
	}
		
	if(height != undefined) {
		optString += ', height=' + height;
	}
	
	try
	{
		var wind = window.open(report, 'windReport', optString, true);
		if(wind == null) {
			throw new Error("Failed to create report window.\n\nThe window may have been\nblocked by a popup blocker.");
		}
		else {
    		wind.focus();
    	}
	}
	catch(er) { alert(er.description); }
}
-->