
function checkAll1(field)
{
	for (i = 0; i < field.length; i++)
	field[i].checked = true ;
}

function uncheckAll1(field)
{
	for (i = 0; i < field.length; i++)
	field[i].checked = false ;
}

function sendit() {

    var fromLocation = escape(document.location);
    var fromTitle = escape(document.title);
    var sendWindow;

    sendWindow = window.open ("/inc/sendToColleague.aspx?loc=" + fromLocation + "&title=" + fromTitle,"SendToColleague","toolbar=0,scrollbars=1,location=0,statusbar=0,status=0,menubar=0,resizable=0,width=400,height=650");
    sendWindow.focus ();
}

/*Target Anchors for IE browsers*/
function sfTarget () {
	var sfEls= document.getElementsByTagName("div");
	var aEls = document.getElementsByTagName("a");
	document.lastTarget = null;
	for (var i=0; i<sfEls.length; i++) {
		if (sfEls[i].id) {
			if (location.hash==("#" + sfEls[i].id)) {
				sfEls[i].className+=" sftarget";
				document.lastTarget=sfEls[i];
			}
			for (var j=0; j<aEls.length; j++) {
				if (aEls[j].hash==("#" + sfEls[i].id)) aEls[j].targetEl = sfEls[i]; aEls[j].onclick = function() {
					if (document.lastTarget) document.lastTarget.className = document.lastTarget.className.replace(new RegExp(" sftarget\\b"), "");
					if (this.targetEl) this.targetEl.className+=" sftarget"; document.lastTarget=this.targetEl;
					return true;
				}
			}
		}
	}
}

/*window.onload=sfTarget;*/
