<!--  
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}//

function openPop(form) {
     var url=(form.dir.options[form.dir.selectedIndex].value);
     myWindow = window.open(url, 'myWindow', 'toolbar=yes, location=no, direction=no, menubar=yes, status=no, scrollbars=yes, resizable=yes, width="95%", height="80%"');
} // 

function dailyImage() {
	adImages = new Array("images/image29.jpg", "images/image30.jpg", "images/image31.jpg", "images/image1.jpg", "images/image3.jpg", "images/image6.jpg", "images/image9.jpg");
	now = new Date();
	num = now.getDay();
	num %= adImages.length;
	if(document.adBanner) {
	   document.adBanner.src=adImages[num]
	}
} // 

function popnewindow(temp3,hlink) {
  var temp4 = (linx[temp3][hlink]);
  var windowprops = "height=600,width=950, location=no, scrollbars=yes, menubar=yes, toolbar=yes, resizable=yes";
  popup = window.open(temp4,"MenuPopup",windowprops); 
} //

function popsmallwindow() {  
  var temp = "/news/townscoverd.htm"
  var windowprops = "height=600,width=950, location=no, scrollbars=yes, menubar=yes, toolbar=yes, resizable=yes";
  popup = window.open(temp,"MenuPopup",windowprops); 
} //

function openmailtopaul() {
  popup = window.open(href="http://www.rootsweb.com/~vtcstjoh/mailtopaul.htm"); 
} //

/************************************************/
/************************************************/

var description=new Array()
description[0]='This is tool-tip description 1'
description[1]='<font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><center><b>Cemeteries of Northern Vermont</b><hr>This page is a list of all cemeteries in Vermont\'s 9 northern counties.<br>Many have links to cemetery tombstone transcription pages<br>and to topographical maps.<br>Counties are Caledonia, Chittenden, Essex, Franklin, Grand Isle, Lamoille,<br>Orleans, Orange, and Washington. </center></font> '
description[2]='<br><b>If you have old postcards of the Northeast Kingdom area, <br>please send a copy and I\'ll display them. Thanks</b><br>'
description[3]='By clicking on this link, random music selections will start in a pop-up window.<br>Closing the pop-up window will stop the music.<br>To continue searching the NEKG site, just click on the main page'
description[4]='<font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>1-Your privacy is of the utmost importance to NEKG. <br> We use your address ONLY to let you know when there are changes to the NEKG site. <br> And we do not sell, rent or trade our list of subscribers to anyone EVER.<br>2. We will never send you any other unrequested e-mail, besides NEKG updates; and <br>3. All unsubscribe requests are always honored immediately, period.<br></font> '
description[5]='<center><br><b>WANTED:</b>  Looking for Xerox copies of old church and school records. <br>  Please email me if you have some that you would like to donate.   Thanks, Janice        <br></center>'
description[6]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  Census records from <br> Albany 1850,1860,1880 <br> Barton 1850 & 1860  <br> Concord 1860, 1880 & 1900   <br> Derby 1870<br>East Haven 1860<br>Gramby 1860<br>Guildhall 1790, 1800 & 1900<br>Irasburg 1850 & 1870<br>St. Johnsbury 1900<br>Victory 1860<br>Waterford 1860 & 1900<br></font></center> '
description[7]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  These records are from town reports, old Chronicle & County Monitor newspapers, various cemetery listings, 1850 & 1860 census and First Congregational Church records.<br>Total of 37 files.<br></font></center> ' <!-- Barton -->
description[8]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  These records are from town reports, old Northstar newspapers, various cemetery listings and records from the Phillips Academy.<br>Total of 30 files. <br></font></center> '
description[9]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  These records are from town reports, old Caledonia Record newspapers, town directories, various cemetery listings and records from the St. Johnsbury Academy.<br>Total of 60 files. .<br></font></center> '
description[10]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  These records are from town reports, old Independent Standard, County Gazette & County Monitor newspapers, various cemetery listings and 1850 & 1870 census records.<br>Total of 15 files.<br></font></center> '
description[11]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  These records are from town reports, various cemetery listings, various school records and various church records.<br>Total of 18 files.<br></font></center> '
description[12]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  These records are from old Independent Standard, County Gazette & County Monitor newspapers, various cemetery listings and various school records.<br>Total of 11 files.<br></font></center> '
description[13]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  These records are from town reports, old Chronicle & County Monitor newspapers, various cemetery listings, 1850 & 1860 census and First Congregational Church records.<br>Total of 20 files.<br></font></center> ' <!-- Glover -->
description[14]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  These records are from town reports, old Chronicle & County Monitor newspapers, various cemetery listings, 1850 & 1860 census and First Congregational Church records.<br>Total of 12 files.<br></font></center> ' <!-- Orleans -->
description[15]='<center> <font face="verdana, comic sans, arial, geneva, helvetica" size="-1" color="#000000"><br>  To search this listing, use the web browsers &quot;find&quot; command,<br> located under the &quot;edit&quot; menu or use Ctrl+F.<br> But, be sure to wait until the whole page loads. <br><br></font></center> '






iens6=document.all||document.getElementById
ns4=document.layers

var thename
var theobj
var thetext
var winHeight
var winPositionFromTop
var winWidth
var startH=2
var openTimer

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function setObj(text,theswitch,inwidth,inheight) {
	thetext=text
	if(iens6){
		thename = "viewer"
		theobj=document.getElementById? document.getElementById(thename):document.all.thename
		winHeight=100
			if(iens6&&document.all) {
				winPositionFromTop=!window.opera? ietruebody().clientHeight : document.body.clientHeight
				winWidth=(ietruebody().clientWidth-ietruebody().leftMargin)
			}
			if(iens6&&!document.all) {
				winPositionFromTop=window.innerHeight
				winWidth=(window.innerWidth-(ietruebody().offsetLeft+30))
			}
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
			}
		theobj.style.width=winWidth+"px"
		theobj.style.height=startH+"px"
			if(iens6&&document.all) {
				theobj.style.top=ietruebody().scrollTop+winPositionFromTop+"px"
				//window.status=winPositionFromTop
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd","<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
			}
			if(iens6&&!document.all) {
				theobj.style.top=window.pageYOffset+winPositionFromTop+"px"
				theobj.innerHTML = ""
				theobj.innerHTML="<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>"
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		winPositionFromTop=window.innerHeight
		winWidth=window.innerWidth
		winHeight=100
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
			}
		theobj.moveTo(0,eval(window.pageYOffset+winPositionFromTop))
		theobj.width=winWidth
		theobj.clip.width=winWidth
		theobj.document.write("<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
		theobj.document.close()
	}
	viewIt()
}

function viewIt() {
	if(startH<=winHeight) {
		if(iens6) {
			theobj.style.visibility="visible"
				if(iens6&&document.all) {
					theobj.style.top=(ietruebody().scrollTop+winPositionFromTop)-startH+"px"
				}
				if(iens6&&!document.all) {
					theobj.style.top=(window.pageYOffset+winPositionFromTop)-startH+"px"
				}
			theobj.style.height=startH+"px"
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
		if(ns4) {
			theobj.visibility = "visible"
			theobj.moveTo(0,(eval(window.pageYOffset+winPositionFromTop)-startH))
			theobj.height=startH
			theobj.clip.height=(startH)
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
	}else{
		clearTimeout(openTimer)
	}
}

function stopIt() {
	if(iens6) {
		theobj.innerHTML = ""
		theobj.style.visibility="hidden"
		startH=2
	}
	if(ns4) {
		theobj.document.write("")
		theobj.document.close()
		theobj.visibility="hidden"
		theobj.width=0
		theobj.height=0
		theobj.clip.width=0
		theobj.clip.height=0
		startH=2
	}
}
//

iens6 = document.all||document.getElementById
ns4   = document.layers
if (iens6){
document.write("<div id='viewer' style='background-color:#CCFFCC;visibility:hidden;position:absolute;left:0;width:0;height:0;z-index:1;overflow:hidden;border:0px ridge white'></div>")
}
if (ns4){
	hideobj = eval("document.nsviewer")
	hideobj.visibility="hidden"
}


//Disable right mouse click Script
var message="Function Disabled!";

function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")


-->


