// Search engine friendly link logger
function clickthru(target, orgid) {
    $.get("ajax.aspx", { referurl: target, orgid: encodeURIComponent(orgid) });
    return true;
}


// Photos
function addphotostoarticles(articleid)
	{
	var mywin=window.open( 'articlephotos.aspx?articleid=' + articleid, 'articlephotos', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=450,height=500' );
	mywin.focus();
	}



// Agree to terms and conditions of updating directory entry
function ConfirmCheckbox(checkboxvalue)
	{
	if (!checkboxvalue)
		{
		alert('Please confirm you agree to the terms and conditions');
		return false;
		}
	else
		return true;
	}
