function CreateWin(url,winname,fullscreen,location,dir,menubar,resizable,scrollbars,status,toolbar,titlebar,scrX, scrY,channel,raised,width,height,loadpage,windowmsg){
	if(scrollbars=='1'){var sum=parseInt(width)+parseInt('10'); width=sum;}
	if(loadpage=='0'){
		newWindow=eval('window.open("'+url+'","'+winname+'","fullscreen='+fullscreen+',location='+location+',directories='+dir+',menubar='+menubar+',menubar='+menubar+',resizable='+resizable+',scrollbars='+scrollbars+',status='+status+',toolbar='+toolbar+',titlebar='+titlebar+',screenX='+scrX+',screenY='+scrY+',channelmode='+channel+',alwaysRaised='+raised+',width='+width+',height='+height+'")');}
		else if(loadpage=='1'){
		newWindow=eval('window.open("","'+winname+'","fullscreen='+fullscreen+',location='+location+',directories='+dir+',menubar='+menubar+',menubar='+menubar+',resizable='+resizable+',scrollbars='+scrollbars+',status='+status+',toolbar='+toolbar+',titlebar='+titlebar+',screenX='+scrX+',screenY='+scrY+',channelmode='+channel+',alwaysRaised='+raised+',width='+width+',height='+height+'")');
		newWindow.document.write('<br><br><br><br><br><br><center><b><font face=Arial size=5 color=800000>'+windowmsg+'  '+url+'</font></center></b>');
		newWindow.location=href=url;}}
function SetStatus(Field){var Nval="";CheckResult=1;CheckCycle=1;PreviousField=Field;eval("form."+Field+".focus()");if(BrowVal=="N"){eval("form."+Field+".value=Nval");}return}
function preload(imgObj,imgSrc) {if(document.images) {eval(imgObj+' = new Image()'); eval(imgObj+'.src = "'+imgSrc+'"')}}
function changeImage(layer,imgName,imgObj) {if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src');else document.images[imgName].src = eval(imgObj+".src");}
function NullValue() {}
function OpenWindow() {}	
function OpenWindowBox(n) {LinkNo=n;Lin=LinkArry[LinkNo];window.open (Lin,'Test','toolbar=0,location=0,directories=0,status="Hello",menubar=0,scrollbars=0,resizable=0,copyhistory=0,width=550,height=450');}
function OpenWindowBox1(Link, toolbar,menubar, scrollbars, resizable, width,height){msgWindow=window.open(Link,'Test','toolbar='+toolbar+',location=0,directories=0,status="Hello",menubar='+ menubar +',scrollbars=' + scrollbars + ',resizable=' + resizable + ',copyhistory=0,width=' + width + ',height=' + height +'\'');}
function OpenWindowBox2(Link){msgWindow=window.open(Link,'Test','toolbar=0,location=0,directories=0,status="Hello",menubar=1,scrollbars=0,resizable=0,copyhistory=0,width=250,height=200');}
function ChangeAdd() {var Lin;var LinkNo; var NoLinks=document.links.length;if(NoLinks==0) {NullValue()} LinkArry = new Array(NoLinks); for(var i=0;i<NoLinks;i++) {LinkArry[i]=eval("document.links["+i+"].href");
	if(document.links[i].target =="Hotspot"){var Router=0} else if(document.links[i].target =="Anchor"){var Router=2} else{Router=1}
	if(Router==0){document.links[i].target="";var str="javascript:OpenWindowBox("+i+")";document.links[i].href=str; } else if(Router==2) {document.links[i].target="";tmpURL = LinkArry[i]; tmpValue1 = tmpURL.indexOf(".nsf"); tmpValue2 = tmpURL.lastIndexOf("/");
	if ((tmpValue1 != "-1") && (tmpValue2 !="-1")) {var tmpValue3 = tmpURL.substring(0, tmpValue1+5); var tmpValue4 = tmpURL.substring(tmpValue2, tmpURL.length); var tmpValue4 =  tmpValue3 + "($DocumentUniqueID)" + tmpValue4; document.links[i].href=tmpValue4;}}}}
function SubmitFormQuery() {form = document.forms[0];form.submit();}
function GoBack(sectionid) {form = document.forms[0];if(form.Section.value=="") {alert("Warning."); }else form.Section.value = sectionid;	form.submit();}
function abbwordframe(word) {tmp1 = self.location.href;tmp2 = tmp1.indexOf("&Selection=");if (tmp2 != "-1") {var tmp3= tmp1.substring(0, tmp2+11);tmp4 = tmp3+word;self.location.href = tmp4}else {tmp5 = tmp1.indexOf("?OpenForm");if (tmp5 != "-1") {var tmp6= tmp1.substring(0, tmp5+9);tmp7 = tmp6+"&Selection="+word;self.location.href = tmp7}else{}}}
function abbword(word) {tmp1 = self.location.href;tmp2 = tmp1.indexOf("&Selection=");if (tmp2 != "-1") {var tmp3= tmp1.substring(0, tmp2+11);tmp4 = tmp3+word;self.location.href = tmp4}else {tmp5 = tmp1.indexOf("?OpenForm");if (tmp5 != "-1") {var tmp6= tmp1.substring(0, tmp5+9);tmp7 = tmp6+"&Selection="+word;self.location.href = tmp7}else{}}}
function initBoth(x1,y1,x2,y2) {var img1;var img2;myNav.create();myMenuBar.create();img1 = getImage("placeholder1");img2 = getImage("placeholder2");myMenuBar.moveTo(getImagePageLeft(img1)+x1,getImagePageTop(img1)+y1);myNav.open(getImagePageLeft(img2)+x2,getImagePageTop(img2)+y2);}
function initBanner(x,y) {var img3;banner.create();img3 = getImage("placeholder3");	banner.moveTo(getImagePageLeft(img3)+x,getImagePageTop(img3)+y);}
function initAll(x1,y1,x2,y2,x3,y3){var img1;var img2;var img3;banner.create();myNav.create();myMenuBar.create();img1 = getImage("placeholder1");img2 = getImage("placeholder2");img3 = getImage("placeholder3");myMenuBar.moveTo(getImagePageLeft(img1)+x1,getImagePageTop(img1)+y1);myNav.open(getImagePageLeft(img2)+x2,getImagePageTop(img2)+y2);banner.moveTo(getImagePageLeft(img3)+x3,getImagePageTop(img3)+y3);}
function initTable(x4,y4) {var img2;myTable.create();img4 = getImage("placeholder1");myTable.moveTo(getImagePageLeft(img4)+x4,getImagePageTop(img4)+y4);}
function changeMenu(URL1){form=document.forms[0]; top.main.menu.location=URL1}
function SubmitForm(){form=document.forms[0];form.submit();}
function winClose(){window.close()}
function newWin(URL) {newWindow = window.open("","Test","toolbar=0,location=0,directories=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,width=550,height=450");newWindow.document.write("<br><br><br><br><br><br><center><b><font face=Arial size=5 color=800000>Loading PDF... please wait....</font></center></b>");newWindow.location.href = URL}
function NewBanner(width,height,offsetx,offsety,class1,class2,text,background,align){this.width=width;this.height=height;this.align=align;this.created=false;this.offsetx=offsetx;this.offsety=offsety;this.class1=class1;this.class2=class2;this.text=text;this.background=background;this.create=NewBannerCreate;this.hide=NewBannerHide;this.show=NewBannerShow;this.moveTo=NewBannerMoveTo;};
function NewBannerCreate(){var str;var norm,high,end;var width,height;var scrX,scrY;
	if(this.created||(!isMinNS4&&!isMinIE4))return;str="";
	if(isMinNS4)str+='<layer id="TopLayer"  width='+this.width+'>\n';
	if(this.align=="left"){table1='<td width=25%></td><td width=75%><P class="'+this.class1+'">'+this.text+'</span></td>';table2='<td width=25%></td><td width=75%><P class="'+this.class2+'">'+this.text+'</span></td>';}
	else if(this.align=="right"){table1='<td width=75%><P class="'+this.class1+'">'+this.text+'</span></td><td width=25%></td>';table2='<td width=75%><P class="'+this.class2+'">'+this.text+'</span></td><td width=25%></td>';}
	else{table1='<td width=100% align="center"><P class="'+this.class1+'">'+this.text+'</span></td>';table2='<td width=100% align="center"><P class="'+this.class2+'">'+this.text+'</span></td>';};bgTable='<table border=0 cellpadding=0 cellspacing=0'+(this.width>0?' width='+this.width:'')+(this.height>0?' height='+this.height:'')+'><tr><td><img src="'+this.background+'" align="'+this.align+'"HSPACE="0" VSPACE="0" border=0></td>';norm='<table border=0 cellpadding=0 cellspacing=0'+(this.width>0?' width='+(this.width-this.offsetx):'')+(this.height>0?' height='+this.height:'')+'><tr>';end='</tr></table>';
	if(isMinNS4)str+='<layer id="BackgroundLayer">'+bgTable+end+'</layer>\n<layer id="Layer1" Top = '+this.offsety+' left = '+this.offsetx+'>'+norm+table1+end+'</layer>\n<layer id="Layer2">'+norm+table2+end+'</layer>\n';
	if(isMinIE4){str+='<div id="Background" style="position:absolute;width:'+this.width+'">'+bgTable+end+'</div><div id="Layer1" style="position:absolute;width:'+(this.width-this.offsetx)+';Top = '+this.offsety+'; left = '+this.offsetx+'">'+norm+table1+end+'</div>\n<div id="Layer2" style="position:absolute;width:'+this.width+'">'+norm+table2+end+'</div>\n';
	if(isMinIE5_5)str+='<table cellspacing=0 width="100%" height="100%"><tr><td></td></tr></table>';};
	if(isMinNS4){str+='</layer>\n';this.baseLayer=new Layer(this.width);this.baseLayer.document.open();this.baseLayer.document.write(str);this.baseLayer.document.close();};
	if(isMinIE4){str='<div id="BannerTop" style="position:absolute;left:0px;top:0px;width:'+this.width+'">\n'+str+'</div>\n';document.body.insertAdjacentHTML("beforeEnd",str);this.baseLayer=getLayer("BannerTop");};this.created=true;showLayer(this.baseLayer);};
function NewBannerHide(){if(this.created)hideLayer(this.baseLayer);};
function NewBannerShow(){if(this.created)showLayer(this.baseLayer);};
function NewBannerMoveTo(x,y){this.x=x;this.y=y;if(this.created)moveLayerTo(this.baseLayer,this.x,this.y);};
function NewTable(bgcolor,bordercolor,nnwidth){this.nnwidth=nnwidth;this.bgcolor=bgcolor;this.bordercolor=bordercolor;this.create=NewTableCreate;this.hide=NewTableHide;this.show=NewTableShow;this.moveTo=NewTableMoveTo;};
function NewTableCreate(){var str;var norm,high,end;var width,height;var scrX,scrY;
	if(this.created||(!isMinNS4&&!isMinIE4))return;str="";
	if(isMinNS4)str+='<layer id="TopLayer"  width=100%>\n';bgTable='<table border=0 cellpadding=1 cellspacing=0 width=100% bgcolor="'+this.bordercolor+'"><tr><td><table border=0 cellpadding=0 cellspacing=0 width=100% bgcolor="'+this.bgcolor+'"><tr><td>AMO</td></tr></table></td></tr></table>';
	if(isMinNS4)str+='<layer id="BackgroundLayer">'+bgTable+'</layer>\n';
	if(isMinIE4){str+='<div id="Background" style="position:absolute;">'+bgTable+'</div>'};
	if(isMinNS4){str+='</layer>\n';var browserwidth=getWindowWidth();this.baseLayer=new Layer(browserwidth-this.nnwidth);this.baseLayer.document.open();this.baseLayer.document.write(str);this.baseLayer.document.close();};
	if(isMinIE4){str='<div id="BannerTop11" style="position:absolute;left:0px;top:0px;">\n'+str+'</div>\n';document.body.insertAdjacentHTML("beforeEnd",str);this.baseLayer=getLayer("BannerTop11");}this.created=true;showLayer(this.baseLayer);};
function NewTableHide(){if(this.created)hideLayer(this.baseLayer);};
function NewTableShow(){if(this.created)showLayer(this.baseLayer);};
function NewTableMoveTo(x,y){this.x=x;this.y=y;if(this.created)moveLayerTo(this.baseLayer,this.x,this.y);};
function RunPasswordServlet() {form = document.forms[0];var Email = form.Email.value;var FilePath = form.FilePath1.value;var Target = form.Target.value;
	if (form.Email.value==""){alert("'Email Address' is a required field. Please include a valid internet address (example: joe_smith@acme.com)."); form.Email.focus();}
	else if (form.Email.value==""){alert("The 'Email Address' field must contain a valid internet address (example: joe_smith@acme.com)."); form.Email.focus();}
	else{newURL = "/servlet/PasswordServlet?Email="+Email+"&FilePath="+FilePath+"&Target="+Target;document.location = newURL}}