
<!--


	
	kidsOver = new Image();
	kidsOut = new Image();
	kidsOver.src = "images/tab_kids_on.gif";
	kidsOut.src = "images/tab_kids.gif";
	
	parentsOver = new Image();
	parentsOut = new Image();
	parentsOver.src = "images/tab_parents_on.gif";
	parentsOut.src = "images/tab_parents.gif";
	
	booksOver = new Image();
	booksOut = new Image();
	booksOver.src = "images/tab_books_on.gif";
	booksOut.src = "images/tab_books.gif";
	
	articlesOver = new Image();
	articlesOut = new Image();
	articlesOver.src = "images/tab_articles_on.gif";
	articlesOut.src = "images/tab_articles.gif";
	
	meetOver = new Image();
	meetOut = new Image();
	meetOver.src = "images/tab_meet_on.gif";
	meetOut.src = "images/tab_meet.gif";
	
	contactOver = new Image();
	contactOut = new Image();
	contactOver.src = "images/tab_contact_on.gif";
	contactOut.src = "images/tab_contact.gif";
	

	
// Function to 'activate' images.
function imgOn(imgName) {
        if (this.document.images) {
           this.document[imgName].src = eval(imgName + "Over.src");
        }
}

// Function to 'deactivate' images.
function imgOff(imgName) {
        if (this.document.images) {
            this.document[imgName].src = eval(imgName + "Out.src");
        }
}


function openWindow(URLpath,winName,height,width,resizeOK,scrollOK)
{

	widthLoc = (screen.width - width)/2;
	heightLoc = (screen.height - height)/2;

	openstring = 'width=' + width + ',height=' + height + ',resizable=' + resizeOK + ',titlebar=no,menubar=no,status=no,scrollbars=' + scrollOK + ',toolbars=no,location=no,left=' + widthLoc + ',top=' + heightLoc;	
	
	win = window.open(URLpath + ".html", winName, openstring);
	win.focus();
}


function openLg (fileName,imgName,fileHeight,fileWidth,caption)
{
	//this function is used for viewing the larger images
	//add in a factor for the padding - see the css file and the class called 'lgImgPad' -- the factor must be the padding x2 because it is one each side
	//this function written by Adam Michel | AJM Design Studio
	padFactor = 60;
	height = fileHeight + padFactor;
	width = fileWidth + padFactor;
	
	widthLoc = (screen.width - width)/2;
	heightLoc = (screen.height - height) - 100;

	openstring = 'width=' + width + ',height=' + height + ',resizable=yes,titlebar=no,menubar=no,status=no,scrollbars=no,toolbars=no,location=no,left=' + widthLoc + ',top=' + heightLoc;	
	
	win = window.open("", "", openstring);
	
	//create dynamic html
	var d = win.document;	//to save typing	
	d.writeln('<html>');
	d.writeln('<head>');
	d.writeln('<title>[ ' + imgName + ' ] &copy; 2004 All rights reserved</title>');
	d.writeln('<link rel="stylesheet" type="text/css" href="global.css">');
	d.writeln('</head>');
	d.writeln('<body bgcolor="#000000" leftmargin="0" topmargin="0">');
	d.writeln('<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">');
	d.writeln('<tr><td width="100%" height="100%" valign="middle" align="center">');
	d.writeln('<div class="lgImgPad"><img src=' + fileName + ' width=' + fileWidth + ' height=' + fileHeight + '></div></td></tr>');
	d.writeln('</table>');
	d.writeln('</body>');
	d.writeln('</html>');
	//end create dynamic html			
	win.focus();
}

function printPage() {
  if (window.print) {
   	 window.print();
  } else {
    alert ("Your browser does not support automatic printing - Press 'Cmd+p' or 'Ctrl+p' on your keyboard to print.");
    }
}

//-->
