// JavaScript Document

	function toggle(button) {
		var more = document.getElementById('more');
		if (more.style.display == "none") {
			more.style.display = "block";
			button.src= "../../images/arrow-yellow-left.gif";
		}else{
			more.style.display = "none";
			button.src = "../../images/arrow-yellow-right.gif";
		}
	}
	
	function show(org_detail) {
		var wind = document.getElementById(org_detail);
		wind.style.display = "block";
	}
	
	function close_detail(org_detail) {
		var wind = document.getElementById(org_detail);
		wind.style.display = "none";
	}
	
/* Author: James Craig (james[at]cookiecrook[dot]com) */
/* License: Free for reuse. Forget credit. Need a designer/coder? My job's kinda boring. */

var sUserAgent = navigator.userAgent.toLowerCase();
var isIE = document.all?true:false;
var isNS4 = document.layers?true:false;
var isOp = (sUserAgent.indexOf('opera')!=-1)?true:false;

var isMoz = (sUserAgent.indexOf('mozilla/5')!=-1 && sUserAgent.indexOf('opera')==-1 && sUserAgent.indexOf('msie')==-1)?true:false;

/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/

var clickmessage="Right click disabled on images! Copyright 2005 OEA. Contact webmaster for permission to use this image."

function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}

function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}

if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()