function header(domain) {
	
	if (( domain == 'family.promspot.com' ) || ( domain == 'women.promspot.com' ) || ( domain == 'msnwomen.promspot.com' )) {
		document.writeln('<link rel="stylesheet" type="text/css" href="http://sc.msn.com/global/css/ptnr/dkblue.css" />');
		
		document.writeln('<script language="javascript">');
		document.writeln('function gotosite(site, activeSelect) {');
		document.writeln('if (site != "") {');
		document.writeln('activeSelect.selectedIndex=0;');
		document.writeln('self.location=site;'); 
		document.writeln('}');
		document.writeln('}');
		document.writeln('<\/script>');

		document.writeln('<script language="javascript">');
		document.writeln('if (navigator.appName.indexOf(\'WebTV\') != -1) {');
		document.writeln('document.write(\'<embed src="wtv-tricks:/msndispatch?type=tv-navbar-insert&amp;loc=top-navbar" height="33" width="544"><\/embed>\');');
		document.writeln('} else {');
		document.writeln('document.write(\'<div class="dMSNME_1"><table width="100%" height="30" cellpadding="0" cellspacing="0" class="big7" border="0"><form id="form1" name="form1" method="get" action="http://g.msn.com/0nwenus0/AM/16"><input type="hidden" name="cp" value="1252" /><tr><td align="left" valign="middle" width="450">&nbsp;&nbsp;<a href="http://g.msn.com/0nwenus0/AM/00">MSN&nbsp;Home</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://g.msn.com/0nwenus0/AM/01">My&nbsp;MSN</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://g.msn.com/0nwenus0/AM/02">Hotmail</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://g.msn.com/0nwenus0/AM/04">Shopping</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://g.msn.com/0nwenus0/AM/05">Money</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://g.msn.com/0nwenus0/AM/06">People&nbsp;&amp;&nbsp;Chat</a></td><td width="66"></td><td width="*" align="right" nowrap>Web&nbsp;Search:&nbsp;&nbsp;<input type="text" name="q" size="14" maxlength="150" style="width:46%;font: 12px tahoma, sans-serif;" /><input type="submit" id="submit1" name="submit1" size="4" class="GoBtn" value="Go" /></td></tr><input type="hidden" name="FORM" value="AM" /></form></table></div>\');');
		document.writeln('}');
		document.writeln('<\/script>');

		document.writeln('<table class="sf" width="100%" cellpadding="0" cellspacing="0" border="0">');
		document.writeln('<tr>');
		document.writeln('<td width="118"><a href="http://g.msn.com/0nwenus0/AM/14" target="_top"><img src="http://logo.msn.com/en-us/dark/logo35.gif" width="118" height="35" border="0" alt="go to MSN.com" title="go to MSN.com" align="absMiddle"></a></td>');
		document.writeln('<td class="sflptrn" width="*" valign="bottom"><a href="http://g.msn.com/US17/1?http://women.msn.com/&&DI=577&PI=7327&PS=10189&CM=cobrand&HL=PromSpot">Women</a></td>');
		document.writeln('<form>');
		document.writeln('<td class="sflrptrn" width="100%" valign="bottom" height="30" nowrap>')
		document.writeln('<a href="http://g.msn.com/US17/1?http://guides.msn.com/women/promguide.armx&&DI=577&PI=7327&PS=10189&CM=cobrand&HL=PromSpot">Prom Guide</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a href="http://g.msn.com/US17/1?http://women.msn.com/fashionstyle.armx&&DI=577&PI=7327&PS=10189&CM=cobrand&HL=PromSpot">Fashion & Style</a>&nbsp;&nbsp;');
		document.writeln('<select class="sfdd" onchange="javascript:gotosite(this.options[this.selectedIndex].value, this);" id="Select2" name=select2>');
		document.writeln('<option value="" selected>More...</option>');
		document.writeln('<option value="http://g.msn.com/US17/1?http://women.msn.com/beauty.armx&&DI=577&PI=7327&PS=10189&CM=cobrand&HL=PromSpot">Beauty</option>');
		document.writeln('<option value="http://g.msn.com/US17/1?http://women.msn.com/healthwellness.armx&&DI=577&PI=7327&PS=10189&CM=cobrand&HL=PromSpot">Health & Wellness</option>');
		document.writeln('<option value="http://g.msn.com/US17/1?http://women.msn.com/familyguide.armx&&DI=577&PI=7327&PS=10189&CM=cobrand&HL=PromSpot">Family Guide</option>');
		document.writeln('<option value="http://g.msn.com/US17/1?http://women.msn.com/relationships.armx&&DI=577&PI=7327&PS=10189&CM=cobrand&HL=PromSpot">Relationships</option>');
		document.writeln('<option value="http://g.msn.com/US17/1?http://women.msn.com/weddingguide.armx&&DI=577&PI=7327&PS=10189&CM=cobrand&HL=PromSpot">Wedding Guide</option>');
		document.writeln('</select><br>');
		document.writeln('<div style="WIDTH:1px;HEIGHT:4px"><spacer type="block" height="4" /></div>');
		document.writeln('</td>');
		document.writeln('</form>');
		document.writeln('</td>');
		document.writeln('</tr>');
		document.writeln('</table>');
		
	} else {
	
		//document.write('<body background="http://images.promspot.com/'+bgname+'.gif">');
	}


	if ( domain == 'promspot.aol.com' ) {
		document.writeln('<script language=javascript src=http://www.aol.com/partnercode/button2.adp><\/script><table width=585 cellpadding=0 cellspacing=0 border=0><tr><td width=249 height=54 bgcolor=FFFFFF rowspan=2 valign=bottom><a href=http://dynamic.aol.com/cgi/redir?http://www.aol.com/><img src=http://www.aol.com/partnercode/gr/aolanywhere.gif width=249 height=43 alt="AOL Anywhere" border=0 valign=abstop></a></td><td align=right valign=bottom width=336 bgcolor=FFFFFF><a href=\"http://www.aol.com\"><img src=\"http://www.aol.com/redesign10_00/gr/signin80.gif\" width=80 height=31 border=0 alt=\"Sign In\"></a></td></tr><tr><td valign=bottom bgcolor=FFFFFF><img src=http://www.aol.com/partnercode/gr/greypixelheader.gif width=336 height=4 border=0></td></tr></table><table width=585 cellpadding=0 cellspacing=0 border=0><tr><td height=2 bgcolor=#ffffff><spacer type=block height=2></td></tr><tr><td bgcolor=FFFFFF valign=bottom><img src=http://www.aol.com/partnercode/gr/Tabs.gif width=585 height=18 border=0 valign=bottom usemap=#navbar><map name=navbar><area shape=rect coords=0,0,64,18 href=http://dynamic.aol.com/cgi/redir?http://www.aol.com/ alt=Main><area shape=rect coords=66,0,143,18 href=http://dynamic.aol.com/cgi/redir?http://my.aol.com/ alt="My AOL"><area shape=rect coords=145,0,206,18 href=http://dynamic.aol.com/cgi/redir?http://aolmail.aol.com/ alt="AOL Mail"><area shape=rect coords=208,0,278,18 href=http://dynamic.aol.com/cgi/redir?http://www.aol.com/community/directory.html alt=People><area shape=rect coords=280,0,350,18 href=http://dynamic.aol.com/cgi/redir?http://search.aol.com/ alt=Search><area shape=rect coords=352,0,417,18 href=http://dynamic.aol.com/cgi/redir?http://shop.aol.com/ alt=Shop@AOL><area shape=rect coords=419,0,504,18 href=http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/home.adp alt="Web Channels"><area shape=rect coords=506,0,585,18 href=http://dynamic.aol.com/cgi/redir?http://www.aol.com/anywhere/home.adp alt=Devices></map></td></tr><tr><td bgcolor=FFFFFF height=10><spacer type=block height=10></td></tr></table>');
	}

}

function footer(domain) {
	if ( domain == 'women.msn.promspot.com' ) {
		document.writeln('');
	}

	if ( domain == 'promspot.aol.com' ) {
		document.writeln('<TABLE WIDTH=585 CELLPADDING=0 CELLSPACING=0 BORDER=0>');
		document.writeln('  <tr>');
		document.writeln('	<td bgcolor=FFFFFF colspan=8 height=10><spacer type=block height=10></td>');
		document.writeln('  </tr>');
		document.writeln('  <TR>');
		document.writeln('	<TD bgcolor=FFFFFF ALIGN="CENTER" COLSPAN=8><FONT FACE=verdana,arial,geneva SIZE=1><A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/info/feedback.html" STYLE="COLOR:#0000CC">Feedback</A>');
		document.writeln('| <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/info/siteindex.html" STYLE="COLOR:#0000CC">Site Index</A>');
		document.writeln('| <A HREF="http://dynamic.aol.com/cgi/redir?http://mediaspace.aol.com/" STYLE="COLOR:#0000CC">Advertise With Us</A>');
		document.writeln('| <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/info/link.html" STYLE="COLOR:#0000CC">Link to Us</A></FONT></TD>');
		document.writeln(' </TR>');
		document.writeln(' <TR>');
		document.writeln('	<TD bgcolor=FFFFFF HEIGHT=5 COLSPAN=8> </TD><!-- One blank space, with no code -->');
		document.writeln(' </TR>');
		document.writeln(' <TR>');
		document.writeln('	<TD BGCOLOR="#CC0000" COLSPAN=8><FONT FACE=verdana,arial,geneva COLOR="#FFFFFF" SIZE=2> <B>Web Channels</B></FONT></TD>');
		document.writeln(' </TR>');
		document.writeln(' <TR>');
		document.writeln('	<TD bgcolor=FFFFFF WIDTH=6> </TD><!-- One blank space, with no code -->');
		document.writeln('	<TD bgcolor=FFFFFF WIDTH=135 VALIGN="top"><FONT FACE=verdana,arial,geneva SIZE=1><A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/autos/home.adp" STYLE="COLOR:#0000CC">Autos</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/workplace/home.adp" STYLE="COLOR:#0000CC">Business & Careers</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/computing/home.adp" STYLE="COLOR:#0000CC">Computing</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/entertainment/home.adp" STYLE="COLOR:#0000CC">Entertainment</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/food/home.adp" STYLE="COLOR:#0000CC">Food & Cooking</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://aolcom.ea.com/home/home.jsp" STYLE="COLOR:#0000CC">Games</A><BR></FONT>');
		document.writeln('	</TD>');
		document.writeln('	<TD bgcolor=FFFFFF WIDTH=7> </TD><!-- One blank space, with no code -->');
		document.writeln('	<TD bgcolor=FFFFFF WIDTH=141 VALIGN="top"><FONT FACE=verdana,arial,geneva SIZE=1>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.governmentguide.com/?type=aolcom" STYLE="COLOR:#0000CC">Government</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/health/home.adp" STYLE="COLOR:#0000CC">Health & Fitness</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/homegarden/home.adp" STYLE="COLOR:#0000CC">Home & Garden</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/international/home.adp" STYLE="COLOR:#0000CC">International</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/legal/home.adp" STYLE="COLOR:#0000CC">Legal</A><BR></FONT>');
		document.writeln('	</TD>');
		document.writeln('	<TD bgcolor=FFFFFF WIDTH=7> </TD><!-- One blank space, with no code -->');
		document.writeln('	<TD bgcolor=FFFFFF WIDTH=141 VALIGN="top"><FONT FACE=verdana,arial,geneva SIZE=1>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://digitalcity.aol.com" STYLE="COLOR:#0000CC">Local</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://my.aol.com/" STYLE="COLOR:#0000CC">News</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/parenting/home.adp" STYLE="COLOR:#0000CC">Parenting</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://quicken.aol.com/" STYLE="COLOR:#0000CC">Personal Finance</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/pictures/home.adp" STYLE="COLOR:#0000CC">Pictures & Albums</A><BR></FONT>');
		document.writeln('	</TD>');
		document.writeln('	<TD bgcolor=FFFFFF WIDTH=7> </TD><!-- One blank space, with no code -->');
		document.writeln('	<TD bgcolor=FFFFFF WIDTH=141 VALIGN="top"><FONT FACE=verdana,arial,geneva SIZE=1>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/realestate/home.adp" STYLE="COLOR:#0000CC">Real Estate</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/research/home.adp" STYLE="COLOR:#0000CC">Research & Learn</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/sports/home.adp" STYLE="COLOR:#0000CC">Sports</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/travel/home.adp" STYLE="COLOR:#0000CC">Travel</A><BR>');
		document.writeln('	  <A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/webcenters/women/home.adp" STYLE="COLOR:#0000CC">Women</A><BR></FONT>');
		document.writeln('	</TD>');
		document.writeln(' </TR>');
		document.writeln(' <TR>');
		document.writeln('	<TD bgcolor=FFFFFF ALIGN="CENTER" COLSPAN=8><FONT FACE=verdana,arial,geneva SIZE=1><BR>');
		document.writeln('<A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/copyright.html" STYLE="COLOR:#0000CC">Copyright</A> © 2000 America Online, Inc.<BR>All rights reserved. ');
		document.writeln('<A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/copyright.html" STYLE="COLOR:#0000CC">Legal Notices</A><BR>');
		document.writeln('<A HREF="http://dynamic.aol.com/cgi/redir?http://free.aol.com/tryaolfree/index.adp?121421" STYLE="COLOR:#0000CC">Try AOL 6.0</A><BR>');
		document.writeln('<A HREF="http://dynamic.aol.com/cgi/redir?http://www.aol.com/info/privacy.html" STYLE="COLOR:#0000CC">Privacy Policy</A><BR></FONT></TD>');
		document.writeln(' </TR>');
		document.writeln(' <TR>');
		document.writeln('	<TD bgcolor=FFFFFF COLSPAN=8> </TD><!-- One blank space, with no code -->');
		document.writeln(' </TR>');
		document.writeln('</TABLE>');
	}

	
}
