<!--	

// set the marker of whether something has changed on a form to false
	var blnChanged = false;
	
	// set the marker to indicate a change
	function indicateChange() {
		blnChanged = true;
	}

function checkSavePop(url, askConfirm, width, length) {
		if(askConfirm){
			if(confirm('This form contains changes that need to be saved. If you wish to save your changes, select Cancel to close this window, then save your changes. Otherwise you may click OK to proceed, but you risk losing your changes.')) {
				NewWindow(url,'name',width,length,'yes');
			}
		} else {
				NewWindow(url,'name',width,length,'yes');
		}
		return false;
	}


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function NewWindow(mypage, myname, w, h, scroll) {
			var winl = (screen.width - w) / 2;
			var wint = (screen.height - h) / 2;
			if (w==''){w=0;winl=100};
			winprops = 'height='+h+', width='+w+', left='+winl+', top='+wint+', menubar=no, scrollbars='+scroll+', resizable'
			//alert(winprops);
			win = window.open(mypage, myname, winprops)
			if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
		}
		
function blockMenu (menu,image) { //pde v1.0
	if (menu.style.display === "block"||menu.style.display === "") {
		menu.style.display = "none";
		if (image != "") {image.src = "<% Response.Write(baseHref); %>images/plus.gif";}
	} else {
		menu.style.display = "";
		if (image != "") {image.src = "<% Response.Write(baseHref); %>images/minus.gif";}
	}
}


//-->