
// -------------------- Start BLOCKER-SAFE POPUP SCRIPTING -----------------------------

function child1Open (link, name)
{
win=window.open(link,name,"menubar=no,status=no,directories=no,resizable=yes,scrollbars=no,height=600,width=500,left=80,top=-20");

}

function child2Open (link, name)
{
win=window.open(link,name,"menubar=no,status=no,directories=no,resizable=yes,scrollbars=no,height=600,width=800,left=80,top=-20");

}

function child3Open (link, name)
{
win=window.open(link,name,"menubar=no,status=no,directories=no,resizable=yes,scrollbars=no,height=600,width=600,left=80,top=-20");

}

function child4Open (link, name)
{
win=window.open(link,name,"menubar=no,status=no,directories=no,resizable=no,scrollbars=no,height=300,width=400,left=80,top=80");

}

// -------------------- End BLOCKER-SAFE POPUP SCRIPTING ----------------------


// -------------------- Begin WINDOW CLOSE script -----------------------

function closewin()
	{
		window.close();
	}
function timeoutwin()
	{
		var mytimeout;
		mytimeout=window.setTimeout("closewin()",8000);		
	}
// -------------------- End WINDOW CLOSE script -----------------------


// -------------------- Begin Form Value Delete -----------------------------

/*
Clear default form value script- By Ada Shimar (ada@chalktv.com)
Featured on Website Abstraction (http://wsabstract.com)
Visit wsabstract.com for 400+ free scripts!
*/

function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
} 

// -------------------- End Form Value Delete -----------------------------


<!-- Begin

function Window3(){
popup = window.open("bazaar03.html","","height=410,width=388,status=no,toolbar=no,directories=no,scrollbars=0,resize=no,menubar=no");
popup.moveTo(150,120);

}
function Window4(){
popup = window.open("pletter1.htm","","height=520,width=500,status=no,toolbar=no,directories=no,scrollbars=1,resize=no,menubar=no");
popup.moveTo(150,120);

}
function Window5(){
popup = window.open("images/flea.jpg","","height=620,width=482,status=no,toolbar=no,directories=no,scrollbars=0,resize=no,menubar=no");
popup.moveTo(150,120);

}

function Window7(){
popup = window.open("fund03.html","","height=280,width=420,status=no,toolbar=no,directories=no,scrollbars=0,resize=no,menubar=no");
popup.moveTo(150,120);

}
// --------------------- End Pop Up scripting -----------------------------


// -------------------- Begin Ad Pop Up scripting -----------------------------
<!-- Original:  Ronnie T. Moore, Editor -->
closetime = 0; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=325,top=20,width=" + WIDTH + ",height=" + HEIGHT;
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}

function doPopup1() {
url = "LostAndFound.html";
width = 430;  // width of window in pixels
height = 480; // height of window in pixels
delay = 3;    // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}
// -------------------- End Ad Pop Up scripting -----------------------------

//  --------------------- BeGIN WINDOW ZOOM script ------------------------- 

/* Zooming link script by Paul Anderson, copyright 2001 CNET Builder.com.
   May be freely used with attribution. Not for resale. All rights reserved. 
   Make a link zoom open by adding the event handler
   
   onclick="zoomBox(event,this);return false"
   
   To zoom into a new, positioned window add width, height, left, and top
   
   onclick="zoomBox(event,this,70,480,100,50);return false"
   */

var maxW,maxH,fromX,fromY,toX,toY,adjX,adjY,zBox,zStep=0,zLink,zNew;

function zoomBox(evt,zlink,maxw,maxh,tox,toy) {
if (arguments.length > 2) zNew=1;
scrollH=(window.pageYOffset!=null)?window.pageYOffset:document.body.scrollTop;
maxW=maxw?maxw:window.innerWidth?innerWidth:document.body.clientWidth;
maxH=maxh?maxh:window.innerHeight?innerHeight:document.body.clientHeight;
toX=tox?tox:0;
toY=(toy?toy:0)+scrollH;
fromX=evt.pageX?evt.pageX:evt.clientX;
fromY=(evt.pageY?evt.pageY:evt.clientY)+(document.all?scrollH:0);
adjX=toX+evt.screenX-fromX;
adjY=toY+evt.screenY-fromY;
if (document.createElement && document.body.appendChild && !zBox) {
	zBox=document.createElement("div");
	zBox.style.position="absolute";
	document.body.appendChild(zBox);
} else if (document.all && !zBox) {
	document.all[document.all.length-1].outerHTML+='<div id="zBoxDiv" style="position:absolute"></div>';
	zBox=document.all.zBoxDiv;
} else if (document.layers && !zBox) {
	zBox=new Layer(maxW);
	zBox.style=zBox;
	}
zLink=zlink;
doZoom();
}

function doZoom() {
zStep+=1;
zPct=(10-zStep)/10
if (document.layers) {
	zBox.moveTo(toX+zPct*(fromX-toX),toY+zPct*(fromY-toY));
	zBox.document.open();
	zBox.document.write("<table width='"+maxW*(1-zPct)+"' height="+maxH*(1-zPct)+" border=2 cellspacing=0><tr><td></td></tr></table>");
	zBox.document.close();
	} else {
	zBox.style.border="2px solid #999999";
	zBox.style.left=toX+zPct*(fromX-toX);
	zBox.style.top=toY+zPct*(fromY-toY);
	zBox.style.width=maxW*(1-zPct);
	zBox.style.height=maxH*(1-zPct);
	}
zBox.style.visibility="visible";
if (zStep < 10) setTimeout("doZoom("+fromX+","+fromY+","+toX+","+toY+")",30);
else {
	zBox.style.visibility='hidden';
	zStep=0;
	if (zLink && !zNew) location.href=zLink.href;
	else if (zLink && zNew) {
		var w=window.open(zLink.href,'','width='+maxW+',height='+maxH+',left='+adjX+',top='+adjY+',resizable');
		zNew=null;
		}
	}
}

//  --------------------- BeGIN script preventing frame separation ------------------------- 

<!-- Original:  Ronnie T. Moore -->
<!-- Web Site:  http://javascriptsource.com -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
ok_urls = new Array();
ok_urls[1] = "http://lakechaffee.org/index.html";
ok_urls[2] = "http://www.lakechaffee.org/index.html";

// Enter all the possible web addresses that your site's frameset
// page can be accessed online, such as with and without the 'www'

function reportError(url, line) {
if (url == window.location.href) {

top.location.href = ok_urls[1] + "?" + window.location.href;
return true;
   }
}

window.onerror = reportError;

url_found = 0;
for (var i = 1; i <= ok_urls.length && !url_found; i++) {
url_found = (parent.location.href.indexOf(ok_urls[i]) == -1);
}
if (!url_found || (window == top))
top.location.href = ok_urls[1] + "?" + window.location.href;

//  --------------------- End script preventing frame separation ------------------------- 
// ----------- start SELF-SIZING BROWSER-FRIENDLY CHILD WINDOW scripting --------------


/* Created by: Crazy Merlin :
http://nl.internet.com/ct.html?rtr=on&s=1,282v,1,83o,6n0z,lizu,hryg
Lee Underwood :
http://nl.internet.com/ct.html?rtr=on&s=1,282v,1,jlzb,dlcr,lizu,hryg
*/
function newWin(link,w,h,s,r,l,t) {
   // the next two lines should all be on one line with no space
     
   var winFeatures = 'width=' + w + ',height=' + h + ',scrollbars=' + s + ',resizable=' + r + ',left=' + l + ',top=' + t ;
   var bookWindow = window.open(link, "", winFeatures); }


// ----------- end SELF-SIZING BROWSER-FRIENDLY CHILD WINDOW scripting --------------
