//Custom Scripts
function explain(url,height,width){

	var opts = "toolbar=no,status=no,location=no,menubar=no,resizable=no,height=" + height +",width=" + width + ",scrollbars=no,left=100,top=400"

	winex = window.open("", "", opts)
	winex.focus()
	winex.location = url
}

function highlight(obj) {
				//window.event.cancelBubble=true; 
				(is.ns)? obj.color : obj.style.color = '#FF6600'
				
			}

function restore(obj) {
				//window.event.cancelBubble=true; 
				(is.ns)? obj.color : obj.style.color = '#FFFFFF'
			}

function notzerolength(s)
{
	if ( s.value.length > 1 ) 
		return 1;
	else
		alert("All required fields must be filled in: " + s.name);
		return 0;
}
function isvalidemail(e)
{

	if ( (e.value.length > 1) &&  (e.value.search('@') > 0) ) 
		return 1;
	else
		alert("The email address is not of the proper form.");
		return 0;
}

// BrowserCheck Object
function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
}
is = new BrowserCheck()