function Header () {
	var htmlcode = "";
	
	htmlcode+= '<tbody><tr>'
	htmlcode+= '<td class="smalltext" style="color: rgb(115, 115, 115); padding-bottom: 4px; padding-left: 5px;" align="left" bgcolor="white" height="75" valign="top" width="250">&nbsp;&nbsp;<a href="http://www.richrooms.com"><img src="images/rr_logo_swoosh.gif" border="0"></a><br></td>'
	htmlcode+= '<td align="center" bgcolor="white" background="" valign="middle" width="350"><table align="center" border="0" cellpadding="0" cellspacing="0" width="350"><tbody><tr><td class="mediumtext" style="padding-left: 2px; padding-top: 1px; padding-bottom: 2px; color: rgb(255, 255, 255); font-size: 14px;" align="center" valign="middle" width="100%"></td></tr></tbody></table></td>'
	htmlcode+= '<td style="padding-right: 0px; padding-left: 0px; padding-bottom: 2px;" align="center" bgcolor="white" valign="middle" width="250"><table valign="middle" align="center" border="0" cellpadding="2" cellspacing="2" width="206">'	
	htmlcode+= '<tbody><tr><td style="background-image: url(images/cartbox_bg.gif); background-repeat: repeat-x;" align="center">'	
	htmlcode+= '<span class="mediumtext" style="font-size: 18px; color: rgb(0, 0, 0); line-height: 1.2em;"><strong> 801-785-8383</strong></span>'
	htmlcode+= '</td></tr><tr>'	
	htmlcode+= '<td  align="center" bgcolor="white" height="37" valign="middle">' 	
	htmlcode+= '<span class="homeav" style="color: rgb(0, 0, 0); font-size: 12px;"><img src="images/phone.gif" align="absmiddle" border="0" height="17" width="19"> &nbsp;&nbsp;8:00 a.m. - 6:00 p.m. MST </span><br><a class="homeav" style="color: #A41E0A; font-size: 12px;" href="/contactus.html"><strong>Contact us via email 24/7 </strong></a></td></tr>'
	htmlcode+= '<tr><td class="mycartoysMenu" align="center"><a href="/shipping.html">Freight Info</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/about.htm">About</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/contactus.html">Contact</a></td></tr>'
	htmlcode+= '</tbody></table></td></tr>'
	htmlcode+= '<tr><td colspan="3" style="padding-bottom: 0pt; margin-bottom: 0pt;"><div class="chromestyle" id="chromemenu"><ul><li><a href="http://www.richrooms.com">&nbsp;&nbsp; Home</a></li><li><a href="/inventory.html">Furniture</a></li><li><a href="/newbeds.html">New Beds</a></li><li><a href="/remanbeds.html">Remanufactured Beds</a></li><li><a href="/carpet.html">New Carpet</a></li></ul></div>';
	
	
document.write(htmlcode);

}




function miniList () {
	var htmlcode = "";
	

	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" style="color: #A41E0A; font-size: 12px;" href="/carpet.html"><strong>Brand New Carpet!</strong></a><br><a class="footlinks" style="color: #A41E0A;" href="/carpet.html">Excellent Selection</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong><img src="images/5_star.gif"><strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" style="color: #A41E0A; font-size: 12px;" href="/beds.html"><strong>Beds</strong></a><br><a class="footlinks" style="color: #A41E0A;" href="/beds.html">New and Remanufactured</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong><img src="images/5_star.gif"><strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri20.html"><strong>Colorado - Denver</strong></a><br><a class="footlinks" href="/rri20.html">Sealy Eurotop Mattresses</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong><img src="images/ico_justIn.gif"></strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri19.html"><strong>Connecticut - New Haven</strong></a><br><a class="footlinks" href="/rri19.html">Crowne Plaza</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri15.html"><strong>Connecticut - New Haven</strong></a><br><a class="footlinks" href="/rri15.html">Serta &amp; Sealy Mattresses</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri8.html"><strong>Illinois - Chicago</strong></a><br><a class="footlinks" href="/rri8.html">Sofitel Hotel</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri12.html"><strong>Maryland - Elkridge</strong></a><br><a class="footlinks" href="/rri12.html">Comfort Suites</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri17.html"><strong>Massachusetts - Newton</strong></a><br><a class="footlinks" href="/rri17.html">Crowne Plaza</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri21.html"><strong>Michigan</strong></a><br><a class="footlinks" href="/rri21.html">Mattresses</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong><img src="images/ico_justIn.gif"></strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri2.html"><strong>Minnesota - Alexandria</strong></a><br><a class="footlinks" href="/rri2.html">Wingback Chairs</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri1.html"><strong>Minnesota - Alexandria</strong></a><br><a class="footlinks" href="/rri1.html">Hampton Inn</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri6.html"><strong>Nevada - Reno</strong></a><br><a class="footlinks" href="/rri6.html">Silver Legacy Resort</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri7.html"><strong>New Jersey - Weehawken</strong></a><br><a class="footlinks" href="/rri7.html">Sheraton Hotel</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri14.html"><strong>New York - New York</strong></a><br><a class="footlinks" href="/rri14.html">Grand Hyatt Hotel</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri10.html"><strong>Rhode Island - Providence</strong></a><br><a class="footlinks" href="/rri10.html">Holiday Inn</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri16.html"><strong>Tennessee - Nashville</strong></a><br><a class="footlinks" href="/rri16.html">Room Packages</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri5.html"><strong>Texas - Dallas</strong></a><br><a class="footlinks" href="/rri5.html">Room Packages</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri9.html"><strong>Texas - Dallas</strong></a><br><a class="footlinks" href="/rri9.html">Comfort Suites</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri3.html"><strong>Texas - Dallas</strong></a><br><a class="footlinks" href="/rri3.html">Renaissance Hotel</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri11.html"><strong>Utah - Park City</strong></a><br><a class="footlinks" href="/rri11.html">Marriott Vacation Club</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 1px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri18.html"><strong>Utah - Midway</strong></a><br><a class="footlinks" href="/rri18.html">Commercial Ironer</a></td><td class="smalltext" style="border-bottom: 1px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';
	htmlcode+= '<tr><td style="border-bottom: 0px solid rgb(217, 216, 216); padding-top: 5px; padding-bottom: 5px;" valign="top" width="0%"><a class="homeav" href="/rri13.html"><strong>Wisconsin</strong></a><br><a class="footlinks" href="/rri13.html">Fairfield Inn</a></td><td class="smalltext" style="border-bottom: 0px solid rgb(217, 216, 216); color: rgb(199, 0, 0); padding-top: 5px; padding-bottom: 5px;" align="center" valign="top"><strong>&nbsp;</strong></td></tr>';

	
document.write(htmlcode);

}




function actionLinks () {
	var htmlcode = "";

htmlcode+= '<table style="background-image: url(images/interested.gif); background-repeat: repeat-x;" valign="middle" align="left" width="236" height="100" valign="top" align="left" border="0" cellpadding="0" cellspacing="0" width="236">';
htmlcode+= '<tbody>';
htmlcode+= '<tr><td style="padding-top: 60px; padding-left: 10px;" valign="middle" align="left"><a class="homeav" href="/contactus.html"><img src="images/phone.gif" align="left" border="0" height="17" width="19"><strong>&nbsp;&nbsp;&nbsp;Contact us to place an order</strong></a></td></tr>';
htmlcode+= '<tr><td style="padding-top: 8px; padding-bottom: 20px; padding-left: 10px;" valign="middle"><a class="homeav" href="/shipping.html"><img src="images/truck-icon.gif" align="left" border="0" height="12" width="24"><strong>&nbsp;&nbsp;Freight &amp; Shipping Information</strong></a></td></tr>';
htmlcode+= '<tr><td>&nbsp;</td></td></tr>';

document.write(htmlcode);

}




function miniactionLinks () {
	var htmlcode = "";

htmlcode+= '<tr><td style="padding-top: 20px;" valign="middle" align="left"><a class="homeav" href="/contactus.html"><img src="images/phone.gif" align="left" border="0" height="17" width="19"><strong>&nbsp;&nbsp;&nbsp;Contact us to place an order</strong></a></td></tr>';
htmlcode+= '<tr><td style="padding-top: 5px; padding-bottom: 20px;" valign="middle"><a class="homeav" href="/shipping.html"><img src="images/truck-icon.gif" align="left" border="0" height="12" width="24"><strong>&nbsp;&nbsp;Freight &amp; Shipping Information</strong></a></td></tr>';

document.write(htmlcode);

}




function iwblankHeader () {
	var htmlcode = "";
	
htmlcode+= '<table width="100%" border="0" cellspacing="0" cellpadding="0" height="33">';
htmlcode+= '<tr>';
htmlcode+= '<td width="50"><a href="http://www.utah.gov"><img src="http://webassets.utah.gov/javascript/state_iw/header_slices/iw_blank_header01.gif" width="50" height="33" border="0" alt="Utah.gov"></a></td>';
htmlcode+= '<td width="398"><img src="http://webassets.utah.gov/javascript/state_iw/header_slices/iw_blank_header02.gif" width="398" height="33" alt="Utah.gov banner"></td>';
htmlcode+= '<td width="100%" background="http://webassets.utah.gov/javascript/state_iw/header_slices/iw_blank_spacer.gif"><img src="http://webassets.utah.gov/javascript/state_iw/clear_pixel.gif" width="5" height="5" alt="Utah.gov banner"></td>';
htmlcode+= '<td width="197"><img src="http://webassets.utah.gov/javascript/state_iw/header_slices/iw_blank_header03.gif" width="197" height="33" alt="Utah.gov banner"></td>';
htmlcode+= '</tr>';
htmlcode+= '</table>';

document.write(htmlcode);

}




function iwblankHeaderfixed () {
	var htmlcode = "";
	
htmlcode+= '<table width="650" border="0" cellspacing="0" cellpadding="0" height="33">';
htmlcode+= '<tr>';
htmlcode+= '<td width="50"><a href="http://www.utah.gov"><img src="http://webassets.utah.gov/javascript/state_iw/header_slices/iw_blank_header01.gif" width="50" height="33" alt="Utah.gov" border="0"></a></td>';
htmlcode+= '<td width="600"><img src="http://webassets.utah.gov/javascript/state_iw/header_slices/iw_blank_header04.gif" width="600" height="33" alt="Utah.gov banner"></td>';
htmlcode+= '</tr>';
htmlcode+= '</table>';

document.write(htmlcode);

}




function Footer () {
	var htmlcode = "";

	htmlcode+= '<td colspan="2" style="padding-top: 6px;" align="center" nowrap="nowrap" valign="top"><a class="footlinks" href="/terms.html">Terms of Use</a>&nbsp;&nbsp;<span style="font-size: 9px;">|</span>&nbsp;<a class="footlinks" href="/privacy.html">Privacy Policy</a>';
  	htmlcode+= '</tr><tr>';
	htmlcode+= '<td class="smalltext" style="padding-top: 6px;" valign="top" align="center">copyright richrooms.com&nbsp;&nbsp;-&nbsp;&nbsp;All Rights Reserved</td><td>&nbsp;</td>';
	
document.write(htmlcode);

}




/****************************************************
*	        DOM Image rollover:
*		by Chris Poole
*		http://chrispoole.com
*               Script featured on http://www.dynamicdrive.com
*		Keep this notice intact to use it :-)
****************************************************/

function init() {
  if (!document.getElementById) return
  var imgOriginSrc;
  var imgTemp = new Array();
  var imgarr = document.getElementsByTagName('img');
  for (var i = 0; i < imgarr.length; i++) {
    if (imgarr[i].getAttribute('hsrc')) {
        imgTemp[i] = new Image();
        imgTemp[i].src = imgarr[i].getAttribute('hsrc');
        imgarr[i].onmouseover = function() {
            imgOriginSrc = this.getAttribute('src');
            this.setAttribute('src',this.getAttribute('hsrc'))
        }
        imgarr[i].onmouseout = function() {
            this.setAttribute('src',imgOriginSrc)
        }
    }
  }
}
onload=init;