CurrentProperty="";

function AddLogo() {
	
	
	if (CurrentProperty == "") {
		hrefprefix = "";
	}
	else {
		hrefprefix = "../../"
	};
	
	document.write('<a href="http://www.dmihotels.com" title="DMI - An Exclusive Collection of Hotels & DMCs!">');

	document.write('<img border="0" height="132" width="160" src="' + hrefprefix + 'main_images/DMI_Logo_160x132.jpg"></a>\n');
	
}



function AddTopMenu() {


	if (CurrentProperty == "") {
		hrefprefix = "";
	}
	else {
		hrefprefix = "../../"
	};
	
		
	document.write('<table class="MenuText" width="100%" border="0" cellpadding="3" cellspacing="0">\n');
		document.write('<tr>\n');
			document.write('<td><img width="5" src="' + hrefprefix + 'main_images/sngl_pxl_clr.gif"></td>\n');
				
			document.write('<td align="center"><a href="' + hrefprefix + 'index.html" class="MenuText" target="_parent" title="Welcome to DMI">Home</a></td>\n');
			document.write('<td align="center"><a href="' + hrefprefix + 'properties.html" class="MenuText"  target="_parent" title="Review DMI Partner Hotels, DMCs & CVBs">Hotels-DMCs-CVBs</a></td>\n');
			document.write('<td align="center"><a href="' + hrefprefix + 'rfp.html" class="MenuText"  target="_parent" title="Send DMI an RFP for your event">RFP</a></td>\n');	
			document.write('<td align="center"><a href="' + hrefprefix + 'testimonials.html" class="MenuText"  target="_parent" title="Read what our partners and clients have to say about us">Testimonials</a></td>\n');	
			document.write('<td align="center"><a href="' + hrefprefix + 'hotdates.html" class="MenuText"  target="_parent" title="Check out DMI\'s latest Specials">Hot Dates</a></td>\n');
	
			document.write('<td align="center"><a href="' + hrefprefix + 'news.html" class="MenuText"  target="_parent" title="View DMI\'s News and Scrapbook">News</a></td>\n');
			document.write('<td align="center"><a href="' + hrefprefix + 'partners.html" class="MenuText"  target="_parent" title="Become a DMI Partner">Partners</a></td>\n');														
			document.write('<td align="center"><a href="' + hrefprefix + 'about.html" class="MenuText" target="_parent" title="About DMI">About</a></td>\n');
			document.write('<td align="center"><a href="' + hrefprefix + 'careers.html" class="MenuText"  target="_parent" title="Job Opportunities at DMI">Careers</a></td>\n');

			document.write('<td align="center"><a href="' + hrefprefix + 'contact.html" class="MenuText" target="_parent" title="DMI\'s Contact Information">Contact Us</a></td>\n');
				
			document.write('<td><img width="5" src="' + hrefprefix + 'main_images/sngl_pxl_clr.gif"></td>\n');
		document.write('</tr>\n');
	document.write('</table>\n');	
}


function AddAds() {



	if (b_NS4) {

		document.write('<layer name="adds" left="20" top="0" width="160" z-index="1" visibility="show">\n');

	}

	else {

		document.write('<div id="adds" class="AddsDiv">\n');

		document.write('<table background="http://www.dmihotels.com/main_images/bakgrnd_clds.jpg" border="0" cellpadding="0" cellspacing="0" width="100%" height="120">\n');
		document.write('<tr><td>\n');
	
		document.write('<img border="0" height="1" width="1" src="http://www.dmihotels.com/main_images/snglPxl.gif">\n');
		document.write('<tr><td>\n');
		document.write('</table>\n');
	}

	

	if (b_NS4) {

		document.write('</layer>\n');

	}

	else {

		document.write('</div>\n');

	}

}


function PreSideMenu() {



	if (!b_NS4) {

		document.write('<div id="sidemenu" class="SideDiv">\n');

	}

}





function PostSideMenu() {



	if (!b_NS4) {

		document.write('</div>\n');

	}
}



function PreMainContent() {


	if (!b_NS4) {

		document.write('<div id="maincontent" class="MainDiv">\n');
	}
}





function PostMainContent() {


	if (!b_NS4) {

	
		document.write('</div>\n');

	}

}