// JScript source code
<!-- Begin
	
// Disable Right Mouse Click
function noRT(){
	if (document.all)
		document.body.onmousedown=new Function("if(event.button==2||event.button==3)alert('Copyright 2004 - Photo by Doug Cunnington')");
}

// Pop up window without address, tool or menu bar	
function popUp(url, name, width, height) {
	var IEVer = (navigator.appVersion.indexOf('MSIE 4') != -1);  
    var msie = (navigator.appVersion.indexOf('MSIE') != -1);  
    var size = "height=" + height + ",width=" + width;
    WinOpen = parent.window.open(url, name, size + ",status=no,scrollbars=no,toolbar=no,menubar=no,location=no,resizable=no", true);
    if (IEVer) {
      window.event.returnValue = false;
    }
    if (!msie) {
      WinOpen.focus();
    }
  }

// Pop up window without address, tool or menu bar scrollable	
function popUpScr(url, name, width, height) {
	var IEVer = (navigator.appVersion.indexOf('MSIE 4') != -1);  
    var msie = (navigator.appVersion.indexOf('MSIE') != -1);  
    var size = "height=" + height + ",width=" + width;
    WinOpen = parent.window.open(url, name, size + ",status=no,scrollbars=yes,toolbar=no,menubar=no,location=no,resizable=no", true);
    if (IEVer) {
      window.event.returnValue = false;
    }
    if (!msie) {
      WinOpen.focus();
    }
  }
  
// Functions for scrolling news window in left hand menu  
function regenerate(){
	window.location.reload()
	}
function regenerate2(){
	if (document.layers){
		setTimeout("window.onresize=regenerate",450)
		intializemarquee()
		}
	}

function intializemarquee(){
	document.cmarquee01.document.cmarquee02.document.write(marqueecontents)
	document.cmarquee01.document.cmarquee02.document.close()
	thelength=document.cmarquee01.document.cmarquee02.document.height
	scrollit()
	}

function scrollit(){
	if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){
		document.cmarquee01.document.cmarquee02.top-=speed
		setTimeout("scrollit()",200)
	}
	else{
		document.cmarquee01.document.cmarquee02.top=marqueeheight
		scrollit()
	}
}

window.onload=regenerate2


	
function scr() {
		browser=navigator.appName;
	details=navigator.userAgent;

	//Check for Mozilla browsers
	if
	(
	browser == "Netscape"
	&& (details.indexOf("Gecko")!=-1)
	&& (details.indexOf("Netscape")==-1)
	) {browser="Mozilla"};

	//Check for Opera 5 browsers
	if (details.indexOf("Opera") !=-1) {browser="Opera"}
	if (browser.substring(0,4) == "Micr") {currentH=document.body.offsetHeight}
	else {currentH=window.innerHeight}
	scrH1 = ((currentH-475)/2)
	document.images.h.height = scrH1
	}