<!--
function BRB_PHP_DelWithCon(deletepage_url,field_name,field_value,messagetext) { //v1.0 - Deletes a record with confirmation
  if (confirm(messagetext)==1){
  	location.href = eval('\"'+deletepage_url+'?'+field_name+'='+field_value+'\"');
  }
}
//-->

<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function setImage(div,img) {
	if(div!='default') {
		d = document.getElementById(div);
		d.innerHTML = ((img!='')&&(img!='out')) ? '<img src="'+img+'" width="85" height="115" />' : '';
	}
}

function columnHeights() {
		leftDiv = document.getElementById('div_main_left');
		midDiv = document.getElementById('div_main_middle');
		rightDiv = document.getElementById('div_main_right');
		newsContents = document.getElementById('news_contents');
		newsFooter = document.getElementById('news_footer');
			
		highest = leftDiv.offsetHeight;
		if (midDiv) { highest = (midDiv.offsetHeight>highest) ? midDiv.offsetHeight : highest; }
		if (rightDiv) { highest = (rightDiv.offsetHeight>highest) ? rightDiv.offsetHeight : highest; }
		// apply style
		leftDiv.style.height = highest+"px";
		midDiv.style.height = highest+"px"; 
		rightDiv.style.height = (highest-32)+"px"; // minus to allow for padding/margins
		
		// move news_footer div to the bottom
		topMargin = (rightDiv.offsetHeight - newsContents.offsetHeight) - newsFooter.offsetHeight;
		newsFooter.style.marginTop = topMargin+"px";
		
}
// opera is not quick enough to handle the columnHeight script 
// so check if the browser is not opera and append body attribute
if(navigator.userAgent.indexOf("Opera")==-1){
	if(window.addEventListener) window.addEventListener("load", columnHeights, false); // for non IE browsers
	else if(window.attachEvent) window.attachEvent("onload", columnHeights);			 // for IE
}
//-->
