function DW(W){
	document.write(W);
}

function DWL(W){
	document.writeln(W);
}

function SPACER(C,W,H){
	DW('<img src="imgs/1'+C+'.gif" border="0" width="'+W+'" height="'+H+'" vspace="0" hspace="0">');
}

function pmLogo(LogoBanner){
	DW('<DIV align=center><TABLE cellSpacing=1 cellPadding=0 width=764 border=0><TBODY><TR>');
	DW('<TD background="imgs/bg/bg_logo.gif">');
	DW('<A title="Return to the Perfect Models HOME page" href="http://www.perfect-models.com/"><IMG src="imgs/1.gif" width="1" height="65" border="0"><IMG src="imgs/logo.gif" width=50 height=50 border=0></A>');
	DW('</TD>');
	DW('<TD width=470 align=center vAlign=middle>&nbsp;'+LogoBanner+'</TD></TR></TBODY></TABLE></DIV>');
}

function MainMenu(){
	DW('<DIV align=center><TABLE cellSpacing=0 cellPadding=0 width=764 border=0><TBODY><TR>');
	DW('<TD ID=navBar><SPAN class=navLink>');
	DW('<A href="sm_news.html" TITLE="News & Last Updates"><i>NEWS</i></A>');
	DW('<A href="pb.html" TITLE="Playboy Cyberclub">PLAYBOY</A>');
	DW('<A href="ph.html" TITLE="Penthouse PetNet">PENTHOUSE</A>');
	DW('<A href="hu.html" TITLE="Hustler Online">HUSTLER</A>');
	DW('<A href="danni.html" TITLE="Danni HotBox">DANNI</A>');
	DW('<A href="mb.html" TITLE="Mac & Bumble">M&B</A>');
	DW('<A href="ddgirls.html" TITLE="Digital Dreamgirls">DDG</A>');
	DW('<A href="suze.html" TITLE="Suze Randall Photography">SUZE</A>');
//	DW('<A href="earl.html" TITLE="Earl Miller Photography">EARL</A>');
	DW('<A href="p10.html" TITLE="Perfect10">P10</A>');
	DW('<A href="sapphicerotica.html" TITLE="SapphicErotica">SE</A>');

	DW('<A href="links.html" TITLE="Adult Resources">LINKS</A>');
	DW('</SPAN></TD></TR></TBODY></TABLE></DIV>');
}

		
var browser = navigator.appName;

function SectionHeader(SectionName) {
	DW('<DIV align=center><TABLE cellSpacing=0 cellPadding=0 width=764 border=0><TBODY><TR>');
	DW('<TD ID=sectionName bgcolor="#4888d0" background="imgs/bg/bg_blue_lines.gif">');
	DW('<TABLE border=0 cellpadding=3 cellspacing=0><TR>');
	if (browser == "Netscape") {
		DW('<TD><span class=coolHeader>'+SectionName+'</span>');
	}
	else {
		DW('<TD class=glowHeader>'+SectionName);
	}
	DW('</TD></TR></TABLE>');
	DW('</TD></TR></TBODY></TABLE></DIV>');
}

function crumbLine(crumbTXT) {
	DW('<DIV align=center><TABLE cellSpacing=0 cellPadding=0 width=764 border=0><TBODY><TR>');
	DW('<TD ID=crumb align=left><A href="sm_index.html">perfect models</A> / '+crumbTXT+'</TD>');
	DW('<TD ID=crumb align=right><A href="feedback.html" class=linkWhite TITLE="Dead links? Suggestions? Fill out Feedback form or E-mail to Webmaster, please!"><font color=yellow>feedback</font></A></TD>');
	DW('</TR></TBODY></TABLE></DIV>');
}

function emptyBottom() {
	DW('<DIV align=center><TABLE cellSpacing=0 cellPadding=0 width=764 border=0><TBODY>');
	DW('<TR><TD ID=crumb><IMG src="imgs/1.gif" width=1 height=12 border=0></TD></TR>');
	DW('<TR><TD ID=bannertable vAlign=center align=middle><font color=#4888d0>= PERFECT MODELS =</font></TD></TR>');
	DW('</TBODY></TABLE></DIV>');
}
