
<!--
function MM_preloadimages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadimages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// Random Image Generator
var image = new Array(
	'21',
	'21',
	'21'
);

var n = image.length;

function RandomImage() {
    return(image[Math.floor(Math.random()*n)]);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function rollon() {
el = event.srcElement ;
if (el.getAttribute("roll") != null) {
el.className = "onit" ;
}
}

function rolloff() {
el = event.srcElement ;
if (el.getAttribute("roll") != null) {
el.className = "offit";
}
}

document.onmouseover = rollon ;
document.onmouseout = rolloff ;

function loadFooter(){
	document.write("<div align='center'><span class='footerCopy'>Copyright &copy; 2007 Gordon MacIntyre. All rights reserved. | <a href='#' class='footerLink' onClick='javascript:window.open(\"privacy.html\",null,\"height=400,width=400,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes\");'>privacy</a> | <a href='#' class='footerLink' onClick='javascript:window.open(\"returns.html\",null,\"height=400,width=400,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes\");'>return &amp; shipping policy</a> | <a href='contact.html' class='footerLink'>contact us</a> | <a href='sitemap.html' class='footerLink'>site map</a></span><br><br></div>");



}

function loadDivisionNav(section){
	if (section == "early") {
		document.write("<table cellpadding='0' cellspacing='0' border='0' width='557' class='divisionBarEarly'><tr><td colspan='8'><table border=0 height='25' WIDTH='100%'><tr><td style='padding-left: 7px;'><img src='images/icon_schoolArrow_early.gif'></td><td class='divisionNavOn' valign='middle'><a href='early.php' class='divLink'>Early Childhood</a></td><td style='padding-left: 1px; '><img src='images/icon_schoolArrow_early.gif'></td><td class='divisionNav' valign='middle'><a href='primary.php' class='divLink'>Primary</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_early.gif'></td><td class='divisionNav' valign='middle'><a href='middle.php' class='divLink'>Middle</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_early.gif'></td><td class='divisionNav' valign='middle'><a href='upper.php' class='divLink'>Upper</a></td><td align='right'><img src='images/earlyChildTag.gif' width='145' height='25' border='0' alt=''></td></tr></table></td></tr>");
	} else if (section == "primary") {
		document.write("<table cellpadding='0' cellspacing='0' border='0' width='557' class='divisionBarPrimary'><tr><td colspan='8'><table border=0 height='25' WIDTH='100%'><tr><td style='padding-left: 7px;'><img src='images/icon_schoolArrow_primary.gif'></td><td class='divisionNav' valign='middle'><a href='early.php' class='divLink'>Early Childhood</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_primary.gif'></td><td class='divisionNavOn' valign='middle'><a href='primary.php' class='divLink'>Primary</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_primary.gif'></td><td class='divisionNav' valign='middle'><a href='middle.php' class='divLink'>Middle</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_primary.gif'></td><td class='divisionNav' valign='middle'><a href='upper.php' class='divLink'>Upper</a></td><td align='right'><img src='images/primaryTag.gif' width='145' height='25' border='0' alt=''></td></tr></table></td></tr>");
	} else if (section == "middle") {
		document.write("<table cellpadding='0' cellspacing='0' border='0' width='557' class='divisionBarMiddle'><tr><td colspan='8'><table border=0 height='25' WIDTH='100%'><tr><td style='padding-left: 7px;'><img src='images/icon_schoolArrow_middle.gif'></td><td class='divisionNav' valign='middle'><a href='early.php' class='divLink'>Early Childhood</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_middle.gif'></td><td class='divisionNav' valign='middle'><a href='primary.php' class='divLink'>Primary</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_middle.gif'></td><td class='divisionNavOn' valign='middle'><a href='middle.php' class='divLink'>Middle</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_middle.gif'></td><td class='divisionNav' valign='middle'><a href='upper.php' class='divLink'>Upper</a></td><td align='right'><img src='images/middleTag.gif' width='145' height='25' border='0' alt=''></td></tr></table></td></tr>");
	} else if (section == "upper") {
		document.write("<table cellpadding='0' cellspacing='0' border='0' width='557' class='divisionBarUpper'><tr><td colspan='8'><table border=0 height='25' WIDTH='100%'><tr><td style='padding-left: 7px;'><img src='images/icon_schoolArrow_upper.gif'></td><td class='divisionNav' valign='middle'><a href='early.php' class='divLink'>Early Childhood</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_upper.gif'></td><td class='divisionNav' valign='middle'><a href='primary.php' class='divLink'>Primary</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_upper.gif'></td><td class='divisionNav' valign='middle'><a href='middle.php' class='divLink'>Middle</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_upper.gif'></td><td class='divisionNavOn' valign='middle'><a href='upper.php' class='divLink'>Upper</a></td><td align='right'><img src='images/upperTag.gif' width='145' height='25' border='0' alt=''></td></tr></table></td></tr>");
	} else {
		document.write("<table cellpadding='0' cellspacing='0' border='0' width='557' class='divisionBarMain'><tr><td colspan='8'><table border=0 height='25' WIDTH='100%'><tr><td style='padding-left: 7px;'><img src='images/icon_schoolArrow_upper.gif' width='18' height='25' border='0' alt=''></td><td class='divisionNav' valign='middle'><a href='early.php' class='divLink'>Early Childhood</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_upper.gif'></td><td class='divisionNav' valign='middle'><a href='primary.php' class='divLink'>Primary</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_upper.gif'></td><td class='divisionNav' valign='middle'><a href='middle.php' class='divLink'>Middle</a></td><td style='padding-left: 1px;'><img src='images/icon_schoolArrow_upper.gif'></td><td class='divisionNav' valign='middle'><a href='upper.php' class='divLink'>Upper</a></td><td align='right'><img src='images/homeTag.gif' width='145' height='25' border='0' alt=''></td></tr></table></td></tr>");
	} 
}

function loadSearch(section){
	if (section == "early") {
		document.write("<table cellpadding='0' cellspacing='0' border='0' class='searchBar'><form name='searchFrm' method='post' action='search.php'><tr><td style='padding-left: 7px; width: 125px;'><input type='text' name='keyword' style='height:20px; width: 125px;' value='keyword search'></td><td style='width: 25px;'><a href='#' onClick='document.searchFrm.submit();'><img src='images/icon_search_earlyChildhood.gif' border='0' alt='Search'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='students.php?id=369'><img src='images/icon_ec_mail.gif' border='0' alt='Email'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='http://www.dynacal.com/hathaway/calendar.asp?Mode=G' target='new' alt='Calendar'><img src='images/icon_calendar_earlyChild.gif' border='0' alt='Calendar'></a></td></tr></form></table>");
	} else if (section == "primary") {
		document.write("<table cellpadding='0' cellspacing='0' border='0' class='searchBar'><form name='searchFrm' method='post' action='search.php'><tr><td style='padding-left: 7px; width: 125px;'><input type='text' name='keyword' style='height:20px; width: 125px;' value='keyword search'></td><td style='width: 25px;'><a href='#' onClick='document.searchFrm.submit();'><img src='images/icon_search_primary.gif' border='0' alt='Search'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='students.php?id=369'><img src='images/icon_ps_mail.gif' border='0' alt='Email'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='http://www.dynacal.com/hathaway/calendar.asp?Mode=G' target='new' alt='Calendar'><img src='images/icon_calendar_primary.gif' border='0' alt='Calendar'></a></td></tr></form></table>");
	} else if (section == "middle") {
		document.write("<table cellpadding='0' cellspacing='0' border='0' class='searchBar'><form name='searchFrm' method='post' action='search.php'><tr><td style='padding-left: 7px; width: 125px;'><input type='text' name='keyword' style='height:20px; width: 125px;' value='keyword search'></td><td style='width: 25px;'><a href='#' onClick='document.searchFrm.submit();'><img src='images/icon_search_middle.gif' border='0' alt='Search'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='students.php?id=369'><img src='images/icon_ms_mail.gif' border='0' alt='Email'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='http://www.dynacal.com/hathaway/calendar.asp?Mode=G' target='new' alt='Calendar'><img src='images/icon_calendar_middle.gif' border='0' alt='Calendar'></a></td></tr></form></table>");
	} else if (section == "upper") {
		document.write("<table cellpadding='0' cellspacing='0' border='0' class='searchBar'><form name='searchFrm' method='post' action='search.php'><tr><td style='padding-left: 7px; width: 125px;'><input type='text' name='keyword' style='height:20px; width: 125px;' value='keyword search'></td><td style='width: 25px;'><a href='#' onClick='document.searchFrm.submit();'><img src='images/icon_search_upper.gif' border='0' alt='Search'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='students.php?id=369'><img src='images/icon_us_mail.gif' border='0' alt='Email'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='http://www.dynacal.com/hathaway/calendar.asp?Mode=G' target='new' alt='Calendar'><img src='images/icon_calendar_upper.gif' border='0' alt='Calendar'></a></td></tr></form></table>");
	} else {
		document.write("<table cellpadding='0' cellspacing='0' border='0' class='searchBar'><form name='searchFrm' method='post' action='search.php'><tr><td style='padding-left: 7px; width: 125px;'><input type='text' name='keyword' style='height:20px; width: 125px;' value='keyword search'></td><td style='width: 25px;'><a href='#' onClick='document.searchFrm.submit();'><img src='images/icon_search.gif' border='0' alt='Search'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='students.php?id=369'><img src='images/icon_mail.gif' border='0' alt='Email'></a></td><td style='padding-right: 7px; width: 50px; text-align: right;'><a href='http://www.dynacal.com/hathaway/calendar.asp?Mode=G' target='new' alt='Calendar'><img src='images/icon_calendar.gif' border='0' alt='Calendar'></a></td></tr></form></table>");
	}
}




function loadNav(section) {

	//preloadSubNav(section);
	
	arNav = new Array;
	arNav[0] = new Array("about");
	arNav[1] = new Array("admissions");
	arNav[2] = new Array("art");
	arNav[3] = new Array("athletics");
	arNav[4] = new Array("college");
	arNav[5] = new Array("summer");
	arNav[6] = new Array("students");
	arNav[7] = new Array("parents");
	arNav[8] = new Array("alumnae");
	arNav[9] = new Array("giving");
	

	expandSection = -1;
	output = "";

	for (i=0; i < arNav.length; i++) {
		for(j=0; j < arNav[i].length; j++) {
			if (section == arNav[i][j]) {
				expandSection = i;
			}
		}
	} j=0; i=0;
	
	for (i=0; i < arNav.length; i++) {
		for(j=0; j < arNav[i].length; j++) {
			if (j == 0) { // main nav item
				path = "images/mainNav_";
				isMainNav = true;
			} else { // sub nav item
				path = "images//subNav_";
				isMainNav = false;
			}
			
			arImg = new Array();
			arImg[0] = new Image();
			arImg[0].src = path + arNav[i][j] + "_off.gif";
			arImg[1] = new Image();
			arImg[1].src = path + arNav[i][j] + "_on.gif";
			arImg[2] = new Image();
			arImg[2].src = path + arNav[i][j] + "_over.gif";
			onLoadState = new Image();
			if (section == arNav[i][j] || (expandSection == i && isMainNav == true)) {
				onLoadState.src = arImg[1].src; // on-state
				offState = "on";
				overState = "over";
			} else {
				onLoadState.src = arImg[0].src; // off-state
				offState = "off";
				overState = "over";
			}
			if (section == arNav[i][0]) {
				
				output = output + "<td><a href='" + arNav[i][j] + ".php' onmouseover=\"window.status='" + arNav[i][j] + "';return true\" onmouseout=\"window.status=' ';return true\"><img src='" + onLoadState.src + "' name='" + arNav[i][j] + "' border='0' alt='" + arNav[i][j] + "'></a></td>";
				

			//} else if (isMainNav == true || expandSection == i) {
				
				//output = output + "<td>b<a href='http://www.eaglebrand.ca' target='new' onmouseover=\"window.status='" + arNav[i][j] + "';return true\" onmouseout=\"window.status=' ';return true\"><img src='" + onLoadState.src + "' name='" + arNav[i][j] + "' border='0' alt='" + arNav[i][j] + "'></a></td>";

				} else {
				output = output + "<td><a href='" + arNav[i][j] + ".php' onmouseover=\"chgImg('" + path + "','" + arNav[i][j] + "','" + overState + "');window.status='" + arNav[i][j] + "';return true\" onmouseout=\"chgImg('" + path + "','" + arNav[i][j] + "','" + offState + "');window.status=' ';return true\"><img src='" + onLoadState.src + "' name='" + arNav[i][j] + "' border='0' alt='" + arNav[i][j] + "'></a></td>";	
				//}
			}
		} // end for
	} // end for
	document.write(output);	


} // end function loadNav


// The function that does the image-swap
function chgImg(path,section,state) {
	if (getAppVersion()) {
		document[section].src = path + section + "_" + state + ".gif"; 
	}
} // end function chgImg


// The function to sniff out a browser that can do image-swaps
function getAppVersion(){
	appname= navigator.appName;
	var appversion = navigator.appVersion;
	majorver = appversion.substring(0, 1);
	if ( (appname == "Netscape") && ( majorver >= 3 ) ) return 0;
	if ( (appname == "Microsoft Internet Explorer") && (majorver >= 4) ) return 1;
	return -1;
} // end function getAppVersion

getAppVersion();



function show() {
stra = window.location.search.substr(1).split("&"); 
where = stra[0].split("=");
return where[1];
}


function changeIt()
{
	// Ref: http://www.quirksmode.org/dom/changess.html
	if (!document.styleSheets) return;
	var theRules = new Array();
	if (document.styleSheets[1].cssRules)
		theRules = document.styleSheets[1].cssRules
	else if (document.styleSheets[1].rules)
		theRules = document.styleSheets[1].rules
	else return;
	theRules[theRules.length-1].style.backgroundColor = 'transparent';
	//document.styleSheets[0].previewTable.style.setProperty('background','#00cc00',null);
}





function get_preview(font_size) {

	newText = document.createfrm.gtext.value; 
	var re = new RegExp ('\n', 'gi') ;
	var newText = newText.replace(re, 'chr(13)') ;
	//$text=wordwrap($text,$wrappos,"\n\r",0);
	
	newCredit = document.createfrm.qcredit.value;
	
	newBgColor = document.createfrm.bgColor.value; 
	newBgColor = newBgColor.substring(1, newBgColor.length); 

	newTextColor = document.createfrm.textColor.value; 
	newTextColor = newTextColor.substring(1, newTextColor.length); 
	
	newgwidth = document.createfrm.gwidth.value; 
	newgheight = document.createfrm.gheight.value; 
	
	newImg = 'phpimage.php?text='+newText+'   &font_file=' + document.createfrm.font.options[document.createfrm.font.selectedIndex].value + '&font_size='+ font_size +'&font_color='+ newTextColor +'&background_color=' + newBgColor; 
	document.preview.src = newImg;
	
}

//document.getElementById(id).style.visibility; 

function visibilityToggle(id) { 
 var el = document.getElementById(id).style; 
 if(el.visibility == "hidden") { 
 el.visibility = "visible"; 
 } 
 else if(el.visibility == "visible") { 
 el.visibility = "hidden"; 
 } 
 } 
 
 
 function displayToggle(id) { 
var el = document.getElementById(id).style; 
if(el.display == "none") { 
el.display = "block"; 
} 
else if(el.display == "block") { 
el.display = "none"; 
} 
} 

function save_filename() {
	//alert(this.value);
	filename=document.frm.file.value; 
	nameLen = filename.length; 
	lastSlashPos = filename.lastIndexOf("\\"); 
	document.frm.jpg.value = filename.substring(lastSlashPos+1, nameLen); 
	//alert('lastSlashPos:' + lastSlashPos + ' nameLen:' + nameLen + ' ' + document.frm.jpg.value);
}



/************************************************************************************/
/*
Ultimate Age calculator script- By JavaScript Kit (http://www.javascriptkit.com)
Over 200+ free scripts here!
Credit must stay intact for use
*/

var one_day=1000*60*60*24
var one_month=1000*60*60*24*30
var one_year=1000*60*60*24*30*12

function displayage(yr, mon, day, unit, decimal, round){
	today=new Date()
	var pastdate=new Date(yr, mon-1, day)

	var countunit=unit
	var decimals=decimal
	var rounding=round

	finalunit=(countunit=="days")? one_day : (countunit=="months")? one_month : one_year
	decimals=(decimals<=0)? 1 : decimals*10

	if (unit!="years"){
		if (rounding=="rounddown")
			document.write(Math.floor((today.getTime()-pastdate.getTime())/(finalunit)*decimals)/decimals+" "+countunit)
		else
			document.write(Math.ceil((today.getTime()-pastdate.getTime())/(finalunit)*decimals)/decimals+" "+countunit)
	}else{
yearspast=today.getFullYear()-yr-1
tail=(today.getMonth()>mon-1 || today.getMonth()==mon-1 && today.getDate()>=day)? 1 : 0
pastdate.setFullYear(today.getFullYear())
pastdate2=new Date(today.getFullYear()-1, mon-1, day)
tail=(tail==1)? tail+Math.floor((today.getTime()-pastdate.getTime())/(finalunit)*decimals)/decimals : Math.floor((today.getTime()-pastdate2.getTime())/(finalunit)*decimals)/decimals
document.write(yearspast+tail+" "+countunit)
	}
}

//Sample usage
//displayage (year, month, day, unit, decimals, rounding)
//Unit can be "years", "months", or "days"
//Decimals specifies demical places to round to (ie: 2)
//Rounding can be "roundup" or "rounddown"

//displayage(1997, 11, 24, "years", 0, "rounddown")
/************************************************************************************/




function printProduct(prod) {
//////////////////////////////////////////////////////////////////////////////////////////////
	if (prod=="highlands") {
document.write("	<table border='0' cellpadding='0' cellspacing='0' width='221'>");
document.write("	<tr>");
document.write("		<td><img src='images/prodFrame_topLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_top.gif'></td>");
document.write("		<td><img src='images/prodFrame_topRight.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td background='images/prodFrame_left.gif'><img src='images/prodFrame_left.gif'></td>");
document.write("		<td bgcolor='#FEDDA7'>");
document.write("			<table border='0' cellpadding='0' cellspacing='0'>");
document.write("			<tr>");
document.write("				<td valign='middle'><a href='product_highlands.html'><img src='images/product_tn_highlands.gif' border='0'></a></td>");
document.write("				<td valign='middle' style='padding-left:7px;'><a href='product_highlands.html'><span class='prodHdr'>Highlands Snowdrop</span></a><br><br>");
document.write("				<a href='product_highlands.html'><span class='prodCopy'>Scottish Snowdrop <br>&amp; Milk Thistle</span></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		</td>");
document.write("		<td background='images/prodFrame_right.gif'><img src='images/prodFrame_right.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td><img src='images/prodFrame_bottomLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_bottom.gif'><a href='product_highlands.html'><img src='images/prodFrame_readMore.gif' border='0' name='read4' onMouseOver='document.read4.src='images/prodFrame_readMore_over.gif';' onMouseOut='document.read4.src='images/prodFrame_readMore.gif';'></a><a href='http://www.sagepayments.net/eftcart/additem.asp?M_id=291663804630&P_id=100209'><img src='images/prodFrame_buyMore.gif' border='0' name='buy4' onMouseOver='document.buy4.src='images/prodFrame_buyMore_over.gif';' onMouseOut='document.buy4.src='images/prodFrame_buyMore.gif';'></a></td>");
document.write("		<td><img src='images/prodFrame_bottomRight.gif'></td>");
document.write("	</tr>");
document.write("	</table>");

//////////////////////////////////////////////////////////////////////////////////////////////
	} else if (prod=="wild") {
document.write("	<table border='0' cellpadding='0' cellspacing='0' width='221'>");
document.write("	<tr>");
document.write("		<td><img src='images/prodFrame_topLeft.gif' width='17' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_top.gif' width='187' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_topRight.gif' width='17' height='17' border='0' alt=''></td>");
document.write("	</tr><tr>");
document.write("		<td background='images/prodFrame_left.gif'><img src='images/prodFrame_left.gif'></td>");
document.write("		<td bgcolor='#FEDDA7'>");
document.write("			<table border='0' cellpadding='0' cellspacing='0'>");
document.write("			<tr>");
document.write("				<td valign='middle'><a href='product_wild.html'><img src='images/product_tn_wild.gif' border='0'></a></td>");
document.write("				<td valign='middle' style='padding-left:7px;'><a href='product_wild.html'><span class='prodHdr'>Wild Gorse</span></a><br><br>");
document.write("				<a href='product_wild.html'><span class='prodCopy'>Eucalyptus <br>& Quillaja Saponaria </span></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		</td>");
document.write("		<td background='images/prodFrame_right.gif'><img src='images/prodFrame_right.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td><img src='images/prodFrame_bottomLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_bottom.gif'><a href='product_wild.html'><img src='images/prodFrame_readMore.gif' border='0' name='read1' onMouseOver='document.read1.src='images/prodFrame_readMore_over.gif';' onMouseOut='document.read1.src='images/prodFrame_readMore.gif';'></a><a href='http://va.eftsecure.net/eftcart/additem.asp?M_id=291663804630&P_id=100212'><img src='images/prodFrame_buyMore.gif' border='0' name='buy1' onMouseOver='document.buy1.src='images/prodFrame_buyMore_over.gif';' onMouseOut='document.buy1.src='images/prodFrame_buyMore.gif';'></a></td>");
document.write("		<td><img src='images/prodFrame_bottomRight.gif'></td>");
document.write("	</tr>");
document.write("	</table>");

//////////////////////////////////////////////////////////////////////////////////////////////
	} else if (prod=="royal") {
document.write("	<table border='0' cellpadding='0' cellspacing='0' width='221'>");
document.write("	<tr>");
document.write("		<td><img src='images/prodFrame_topLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_top.gif'></td>");
document.write("		<td><img src='images/prodFrame_topRight.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td background='images/prodFrame_left.gif'><img src='images/prodFrame_left.gif'></td>");
document.write("		<td bgcolor='#FEDDA7'>");
document.write("			<table border='0' cellpadding='0' cellspacing='0'>");
document.write("			<tr>");
document.write("				<td valign='middle'><a href='product_royal.html'><img src='images/product_tn_royal.gif' border='0'></a></td>");
document.write("				<td valign='middle' style='padding-left:7px;'><a href='product_royal.html'><span class='prodHdr'>Royal Hebrides</span></a><br><br>");
document.write("				<a href='product_royal.html'><span class='prodCopy'>Rose Hips <br>&amp; Osetra Caviar</span></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		</td>");
document.write("		<td background='images/prodFrame_right.gif'><img src='images/prodFrame_right.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td><img src='images/prodFrame_bottomLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_bottom.gif'><a href='product_royal.html'><img src='images/prodFrame_readMore.gif' border='0' name='read2' onMouseOver='document.read2.src='images/prodFrame_readMore_over.gif';' onMouseOut='document.read2.src='images/prodFrame_readMore.gif';'></a><a href='http://va.eftsecure.net/eftcart/additem.asp?M_id=291663804630&P_id=100211'><img src='images/prodFrame_buyMore.gif' border='0' name='buy2' onMouseOver='document.buy2.src='images/prodFrame_buyMore_over.gif';' onMouseOut='document.buy2.src='images/prodFrame_buyMore.gif';'></a></td>");
document.write("		<td><img src='images/prodFrame_bottomRight.gif'></td>");
document.write("	</tr>");
document.write("	</table>");

//////////////////////////////////////////////////////////////////////////////////////////////
	} else if (prod=="garden") {
document.write("	<table border='0' cellpadding='0' cellspacing='0' width='221'>");
document.write("	<tr>");
document.write("		<td><img src='images/prodFrame_topLeft.gif' width='17' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_top.gif' width='187' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_topRight.gif' width='17' height='17' border='0' alt=''></td>");
document.write("	</tr><tr>");
document.write("		<td background='images/prodFrame_left.gif'><img src='images/prodFrame_left.gif'></td>");
document.write("		<td bgcolor='#FEDDA7'>");
document.write("			<table border='0' cellpadding='0' cellspacing='0'>");
document.write("			<tr>");
document.write("				<td valign='middle'><a href='product_majesty.html'><img src='images/product_tn_majestys.gif' border='0'></a></td>");
document.write("				<td valign='middle' style='padding-left:7px;'><a href='product_majesty.html'><span class='prodHdr'>His Majesty's Garden</span></a><br><br>");
document.write("				<a href='product_majesty.html'><span class='prodCopy'>Asian Wild Lavender <br>&amp; Hamamelis</span></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		</td>");
document.write("		<td background='images/prodFrame_right.gif'><img src='images/prodFrame_right.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td><img src='images/prodFrame_bottomLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_bottom.gif'><a href='product_majesty.html'><img src='images/prodFrame_readMore.gif' border='0' name='read3' onMouseOver='document.read3.src='images/prodFrame_readMore_over.gif';' onMouseOut='document.read3.src='images/prodFrame_readMore.gif';'></a><a href='http://va.eftsecure.net/eftcart/additem.asp?M_id=291663804630&P_id=100210'><img src='images/prodFrame_buyMore.gif' border='0' name='buy3' onMouseOver='document.buy3.src='images/prodFrame_buyMore_over.gif';' onMouseOut='document.buy3.src='images/prodFrame_buyMore.gif';'></a></td>");
document.write("		<td><img src='images/prodFrame_bottomRight.gif'></td>");
document.write("	</tr>");
document.write("	</table>");

//////////////////////////////////////////////////////////////////////////////////////////////
	} else if (prod=="trial") {
document.write("	<table border='0' cellpadding='0' cellspacing='0' width='221'>");
document.write("	<tr>");
document.write("		<td><img src='images/prodFrame_topLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_top.gif'></td>");
document.write("		<td><img src='images/prodFrame_topRight.gif' ></td>");
document.write("	</tr><tr>");
document.write("		<td background='images/prodFrame_left.gif'><img src='images/prodFrame_left.gif'></td>");
document.write("		<td bgcolor='#FEDDA7'>");
document.write("			<table border='0' cellpadding='0' cellspacing='0'>");
document.write("			<tr>");
document.write("				<td valign='top'><img src='images/spacer.gif' width='1' height='5'><a href='product_trial.html'><img src='images/product_samples_thm.gif' border='0' vspace='12'></a></td>");
document.write("				<td valign='middle' style='padding-left:7px;'><a href='product_trial.html'><span class='prodHdr'>Trial Sized Set</span></a><br><br>");
document.write("				<a href='product_trial.html'><span class='prodCopy'>Try them all</span></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		</td>");
document.write("		<td background='images/prodFrame_right.gif'><img src='images/prodFrame_right.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td><img src='images/prodFrame_bottomLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_bottom.gif'><a href='product_trial.html'><img src='images/prodFrame_readMore.gif' border='0' name='read5' onMouseOver='document.read5.src='images/prodFrame_readMore_over.gif';' onMouseOut='document.read5.src='images/prodFrame_readMore.gif';'></a><a href='http://www.sagepayments.net/eftcart/additem.asp?M_id=291663804630&P_id=101744'><img src='images/prodFrame_buyMore.gif' border='0' name='buy5' onMouseOver='document.buy5.src='images/prodFrame_buyMore_over.gif';' onMouseOut='document.buy5.src='images/prodFrame_buyMore.gif';'></a></td>");
document.write("		<td><img src='images/prodFrame_bottomRight.gif'></td>");
document.write("	</tr>");
document.write("	</table>");

//////////////////////////////////////////////////////////////////////////////////////////////
	} else if (prod=="gift") {
document.write("	<table border='0' cellpadding='0' cellspacing='0' width='221'>");
document.write("	<tr>");
document.write("		<td><img src='images/prodFrame_topLeft.gif' width='17' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_top.gif' width='187' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_topRight.gif' width='17' height='17' border='0' alt=''></td>");
document.write("	</tr><tr>");
document.write("		<td background='images/prodFrame_left.gif'><img src='images/prodFrame_left.gif'></td>");
document.write("		<td bgcolor='#FEDDA7'>");
document.write("			<table border='0' cellpadding='0' cellspacing='0'>");
document.write("			<tr>");
document.write("				<td valign='middle'><img src='images/spacer.gif' width='1' height='98'><a href='product_gift.html'><img src='images/gift_energize_thm.gif' border='0'></a></td>");
document.write("				<td valign='middle' style='padding-left:7px;'><a href='product_gift.html'><span class='prodHdr'>Gift Sets</span></a><br><br>");
document.write("				<a href='product_gift.html'><span class='prodCopy'>Treat pets <br>&amp; pet lovers</span></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		</td>");
document.write("		<td background='images/prodFrame_right.gif'><img src='images/prodFrame_right.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td><img src='images/prodFrame_bottomLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_bottom.gif'><a href='product_gift.html'><img src='images/prodFrame_readMore.gif' border='0' name='read6' onMouseOver='document.read6.src='images/prodFrame_readMore_over.gif';' onMouseOut='document.read6.src='images/prodFrame_readMore.gif';'></a><a href='product_gift.html'><img src='images/prodFrame_buyMore.gif' border='0' name='buy6' onMouseOver='document.buy6.src='images/prodFrame_buyMore_over.gif';' onMouseOut='document.buy6.src='images/prodFrame_buyMore.gif';'></a></td>");
document.write("		<td><img src='images/prodFrame_bottomRight.gif'></td>");
document.write("	</tr>");
document.write("	</table>");

//////////////////////////////////////////////////////////////////////////////////////////////
	} else if (prod=="gift_calming") {
document.write("	<table border='0' cellpadding='0' cellspacing='0' width='221'>");
document.write("	<tr>");
document.write("		<td><img src='images/prodFrame_topLeft.gif' width='17' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_top.gif' width='187' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_topRight.gif' width='17' height='17' border='0' alt=''></td>");
document.write("	</tr><tr>");
document.write("		<td background='images/prodFrame_left.gif'><img src='images/prodFrame_left.gif'></td>");
document.write("		<td bgcolor='#FEDDA7'>");
document.write("			<table border='0' cellpadding='0' cellspacing='0'>");
document.write("			<tr>");
document.write("				<td valign='middle'><img src='images/spacer.gif' width='1' height='5'><a href='product_gift_calming.html'><img src='images/gift_calm_thm.gif' border='0'></a></td>");
document.write("				<td valign='middle' style='padding-left:7px;'><a href='product_gift_calming.html'><span class='prodHdr'>Calming Gift Box</span></a><br><br>");
document.write("				<a href='product_gift_calming.html'><span class='prodCopy'>Two calming 8oz bottles and towel</span></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		</td>");
document.write("		<td background='images/prodFrame_right.gif'><img src='images/prodFrame_right.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td><img src='images/prodFrame_bottomLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_bottom.gif'><a href='product_gift_calming.html'><img src='images/prodFrame_readMore.gif' border='0' name='read6' onMouseOver='document.read6.src='images/prodFrame_readMore_over.gif';' onMouseOut='document.read6.src='images/prodFrame_readMore.gif';'></a><a href='http://www.sagepayments.net/eftcart/additem.asp?M_id=291663804630&P_id=101742'><img src='images/prodFrame_buyMore.gif' border='0' name='buy6' onMouseOver='document.buy6.src='images/prodFrame_buyMore_over.gif';' onMouseOut='document.buy6.src='images/prodFrame_buyMore.gif';'></a></td>");
document.write("		<td><img src='images/prodFrame_bottomRight.gif'></td>");
document.write("	</tr>");
document.write("	</table>");

//////////////////////////////////////////////////////////////////////////////////////////////
	} else if (prod=="gift_deluxe") {
document.write("	<table border='0' cellpadding='0' cellspacing='0' width='221'>");
document.write("	<tr>");
document.write("		<td><img src='images/prodFrame_topLeft.gif' width='17' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_top.gif' width='187' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_topRight.gif' width='17' height='17' border='0' alt=''></td>");
document.write("	</tr><tr>");
document.write("		<td background='images/prodFrame_left.gif'><img src='images/prodFrame_left.gif'></td>");
document.write("		<td bgcolor='#FEDDA7'>");
document.write("			<table border='0' cellpadding='0' cellspacing='0'>");
document.write("			<tr>");
document.write("				<td valign='middle'><img src='images/spacer.gif' width='1' height='5'><a href='product_gift_deluxe.html'><img src='images/gift_deluxe_thm.gif' border='0'></a></td>");
document.write("				<td valign='middle' style='padding-left:7px;'><a href='product_gift_deluxe.html'><span class='prodHdr'>Deluxe Gift Box</span></a><br><br>");
document.write("				<a href='product_gift_deluxe.html'><span class='prodCopy'>All four 8oz bottles and towel</span></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		</td>");
document.write("		<td background='images/prodFrame_right.gif'><img src='images/prodFrame_right.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td><img src='images/prodFrame_bottomLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_bottom.gif'><a href='product_gift_deluxe.html'><img src='images/prodFrame_readMore.gif' border='0' name='read6' onMouseOver='document.read6.src='images/prodFrame_readMore_over.gif';' onMouseOut='document.read6.src='images/prodFrame_readMore.gif';'></a><a href='http://www.sagepayments.net/eftcart/additem.asp?M_id=291663804630&P_id=101741'><img src='images/prodFrame_buyMore.gif' border='0' name='buy6' onMouseOver='document.buy6.src='images/prodFrame_buyMore_over.gif';' onMouseOut='document.buy6.src='images/prodFrame_buyMore.gif';'></a></td>");
document.write("		<td><img src='images/prodFrame_bottomRight.gif'></td>");
document.write("	</tr>");
document.write("	</table>");

//////////////////////////////////////////////////////////////////////////////////////////////
	} else if (prod=="gift_energizing") {
document.write("	<table border='0' cellpadding='0' cellspacing='0' width='221'>");
document.write("	<tr>");
document.write("		<td><img src='images/prodFrame_topLeft.gif' width='17' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_top.gif' width='187' height='17' border='0' alt=''></td>");
document.write("		<td><img src='images/prodFrame_topRight.gif' width='17' height='17' border='0' alt=''></td>");
document.write("	</tr><tr>");
document.write("		<td background='images/prodFrame_left.gif'><img src='images/prodFrame_left.gif'></td>");
document.write("		<td bgcolor='#FEDDA7'>");
document.write("			<table border='0' cellpadding='0' cellspacing='0'>");
document.write("			<tr>");
document.write("				<td valign='middle'><img src='images/spacer.gif' width='1' height='5'><a href='product_gift_energizing.html'><img src='images/gift_energize_thm.gif' border='0'></a></td>");
document.write("				<td valign='middle' style='padding-left:7px;'><a href='product_gift_energizing.html'><span class='prodHdr'>Energizing Gift Box</span></a><br><br>");
document.write("				<a href='product_gift_energizing.html'><span class='prodCopy'>Two energizing 8oz bottles and towel</span></a></td>");
document.write("			</tr>");
document.write("			</table>");
document.write("		</td>");
document.write("		<td background='images/prodFrame_right.gif'><img src='images/prodFrame_right.gif'></td>");
document.write("	</tr><tr>");
document.write("		<td><img src='images/prodFrame_bottomLeft.gif'></td>");
document.write("		<td><img src='images/prodFrame_bottom.gif'><a href='product_gift_energizing.html'><img src='images/prodFrame_readMore.gif' border='0' name='read6' onMouseOver='document.read6.src='images/prodFrame_readMore_over.gif';' onMouseOut='document.read6.src='images/prodFrame_readMore.gif';'></a><a href='http://www.sagepayments.net/eftcart/additem.asp?M_id=291663804630&P_id=101743'><img src='images/prodFrame_buyMore.gif' border='0' name='buy6' onMouseOver='document.buy6.src='images/prodFrame_buyMore_over.gif';' onMouseOut='document.buy6.src='images/prodFrame_buyMore.gif';'></a></td>");
document.write("		<td><img src='images/prodFrame_bottomRight.gif'></td>");
document.write("	</tr>");
document.write("	</table>");
	}
}

//-->

