function top_of_page() {
	if(typeof(parent.cartFrame) == "undefined" ) {
// Frames have not been defined, force jump back to frameset page
		document.write('<FRAMESET ROWS="0,100%" BORDER=0 FRAMEBORDER="no">');
			document.write('<FRAME NAME="cartFrame" SRC="cart.html" NORESIZE SCROLLING="no">');
			document.write('<FRAMESET COLS="100%,0">');
				document.write('<FRAME NAME="DecoretteShop" SRC="_self">');
			document.write('</FRAMESET>');
		document.write('</FRAMESET>');
	} else {
		document.write("<body bgcolor='#FFFFFF' link='#0000A0' vlink='#204204204'>");
		document.write("<p align='center'><img src='images//newlogo.gif' alt='Decorette Shop Logo' align='center'></p>");
		document.write("<font SIZE='6' COLOR='#000000'>");
	}
}




function displayEndPage(prevLink, nextLink) {

	var output = "<font SIZE='4' COLOR='#800080'></font>"
	output += "<p><font SIZE='4' COLOR='#000080'>&nbsp;</p>"
	output += "<p ALIGN='CENTER'>Decorette Shop<br>11945 SW Pacific Hwy.<br>109 Tigard Plaza<br>Tigard, Oregon 97223"
	output += "<br>(503) 620-5100<br>Fax: (503) 213-8553<br>9AM - 5:30PM Mon - Sat<br>"
	output += "</p></font>"


	output += "<table BORDER='0' CELLSPACING='0' CELLPADDING='0' width='638'><tr>"
	output += "<td height='1' width='10'></td> <td width='11'></td>"
	output += "<td width='604' height='1' rowspan='1' valign='top' align='left'></td><td width='13'></td></tr></table>"
	output += "</center></div><div align='center'><center>"

	output += "<table BGCOLOR='aqua' BORDER='4' CELLSPACING='0' CELLPADDING='0'><tr valign='top' align='center'>"
	output += " <p><font size='4'>"
	if(typeof(prevLink) != "undefined" && prevLink.length > 0) {
		output += " <td><a href='" + prevLink + "'>&nbsp;<<&nbsp;Previous&nbsp;&nbsp;&nbsp;</a>"
	}
	output += " <td><a href='main_page.html'>&nbsp;Home&nbsp;</a>"
	output += " <td><a href='javascript: parent.cartFrame.showCart()'>&nbsp;Shopping Cart&nbsp;</a>"
	output += " <td><a href='privacy.html'>&nbsp;Privacy Stmt&nbsp;</a>"
	output += " <td><a href='postage_stmt.html'>&nbsp;Shipping Charges&nbsp;</a>"
	output += " <td><a href='recipe_entrance.html'>&nbsp;Recipes&nbsp;</a>"
	output += " <td><a href='store_info.html'>&nbsp;Store Info&nbsp;</a>"
	output += " <td><a href='contact.html'>&nbsp;Contact Us&nbsp;</a>"
	if(typeof(nextLink) != "undefined" && nextLink.length > 0) {
		output += " <td><a href='" + nextLink + "'>&nbsp;&nbsp;&nbsp;Next&nbsp;>>&nbsp;</a>"
	}
	output += "</table>"

    output += "<p align='center'><img src='images//credit_cards.jpg' alt='Credit Cards accepted' align='center' WIDTH='150' HEIGHT='32'></p>"
	output += "<p align='center'><font color='#000080' size='2'>Your <a href='privacy.html'>privacy</a> while visiting us, is our top priority.</font></p>"
	output += "<p align='center'><font color='#800080' size='2'>© 2010 Blake Enterprise' Decorette Shop.&nbsp; All rights reserved.<br>All prices subject to change without notice.</font></p>"

	return output
}