var browser = navigator.appName;

function DW(W){
	document.write(W);
}

function SPACER(C,W,H){
	DW('<img src="imgs/1'+C+'.gif" border="0" width="'+W+'" height="'+H+'" vspace="0" hspace="0">');
}

function TDTD(){
	DW('</td><td>');
}

function CZ(){
	W3=open("http://www.selected-models.com/viewpoint/0105.html","CZ","Width=420,Height=450,Status=no,ToolBar=no,MenuBar=no");
}

// ***
var imgs=new Array(); var count=0;
function loadimg (filename, width, height){
	imgs[count]=new Image(width,height); 
	imgs[count].src=filename; 
	count++;
}

loadimg("imgs/fm1.gif",382,12); 
loadimg("imgs/fm2.gif",382,12);

function FMon(){document.fmlogo.src="imgs/fm2.gif";} 
function FMoff(){document.fmlogo.src="imgs/fm1.gif";}

function FMLOGO(){
//	DW('');
	DW('<a href="http://www.famous-models.com" onMouseOver="FMon();" onMouseOut="FMoff();"><img src="imgs/fm1.gif" NAME="fmlogo" width="382" height="12" border="0" vspace="0" alt="Welcome to FAMOUS MODELS"></a>');
//	DW('');
}
// ***

function MainMenu(){
	DW('<A href="sm_news.html" TITLE="News & Last Updates"><b><i>&nbsp;NEWS&nbsp;</i></b></A>');
	DW('<A href="pb.html" TITLE="Playboy Cyberclub"><b>&nbsp;PLAYBOY&nbsp;</b></A>');
	DW('<A href="ph.html" TITLE="Penthouse PetNet"><b>&nbsp;PENTHOUSE&nbsp;</b></A>');
	DW('<A href="hu.html" TITLE="Hustler Online"><b>&nbsp;HUSTLER&nbsp;</b></A>');
	DW('<A href="danni.html" TITLE="Danni HotBox"><b>&nbsp;DANNI&nbsp;</b></A>');
	DW('<A href="mb.html" TITLE="Mac & Bumble"><b>&nbsp;M&B&nbsp;</b></A>');
	DW('<A href="ddgirls.html" TITLE="Digital Dreamgirls"><b>&nbsp;DDG&nbsp;</b></A>');
	DW('<A href="suze.html" TITLE="Suze Randall Photography"><b>&nbsp;SUZE&nbsp;</b></A>');
	DW('<A href="earl.html" TITLE="Earl Miller Photography"><b>&nbsp;EARL&nbsp;</b></A>');
	DW('<A href="p10.html" TITLE="Perfect10"><b>&nbsp;P10&nbsp;</b></A>');
//	DW('<A href="video.html" TITLE="Video Store"><b>&nbsp;<font color=yellow>VIDEO</font>&nbsp;</b></A>');
	DW('<A href="links.html" TITLE="Adult Resources"><b>&nbsp;LINKS&nbsp;</b></A>');
}

function CDMenu(IM){
	if (IM=='INDEX') DW('<font color="#92C5FE">index</font>')
		else {DW('<a href="cd_store.html" TITLE="CD Store Index">index</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='PLAYBOY') DW('<font color="#92C5FE">playboy</font>')
		else {DW('<a href="cd_playboy.html" TITLE="Playboy CD Store">playboy</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='PENTHOUSE') DW('<font color="#92C5FE">penthouse</font>')
		else {DW('<a href="cd_penthouse.html" TITLE="Penthouse  CD Store">penthouse</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='HUSTLER') DW('<font color="#92C5FE">hustler</font>')
		else {DW('<a href="cd_hustler.html" TITLE="Hustler CD Store">hustler</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='DANNI') DW('<font color="#92C5FE">danni</font>')
		else {DW('<a href="cd_danni.html" TITLE="Danni HotBox CD Store">danni</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='M&B') DW('<font color="#92C5FE">m&b</font>')
		else {DW('<a href="cd_mb.html" class="linkmenu" TITLE="Mac & Bumble CD Store">m&b</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='DDGIRLS') DW('<font color="#92C5FE">ddg</font>')
		else {DW('<a href="cd_ddgirls.html" TITLE="Digital Dreamgirls CD Store">ddg</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='SUZE') DW('<font color="#92C5FE">suze</font>')
		else {DW('<a href="cd_suze.html" TITLE="Suze Randall CD Store">suze</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='EARL') DW('<font color="#92C5FE">earl</font>')
		else {DW('<a href="cd_earl.html" TITLE="Earl Miller  CD Store">earl</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='P10') DW('<font color="#92C5FE">p10</font>')
		else {DW('<a href="cd_p10.html" TITLE="Perfect10 CD Store">p10</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='SAPPHICEROTICA') DW('<font color="#92C5FE">se</font>')
		else {DW('<a href="cd_sapphicerotica.html" TITLE="SapphicErotica CD Store">se</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

}

function DatasMenu(IM){
	if (IM=='00') DW('<font color="#92C5FE">2000-2005</font>')
		else {DW('<a href="datasheets.html">2000-2005</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='90') DW('<font color="#92C5FE">1990-1999</font>')
		else {DW('<a href="datasheets_90.html">1990-1999</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='80') DW('<font color="#92C5FE">1980-1989</font>')
		else {DW('<a href="datasheets_80.html">1980-1989</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='70') DW('<font color="#92C5FE">1970-1979</font>')
		else {DW('<a href="datasheets_70.html">1970-1979</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='60') DW('<font color="#92C5FE">1960-1969</font>')
		else {DW('<a href="datasheets_60.html">1960-1969</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='50') DW('<font color="#92C5FE">1950-1953</font>')
		else {DW('<a href="datasheets_50.html">1950-1953</a>')}
	DW(' &nbsp;&#149;&nbsp; ')
}

function DatasMenuD(IM){
	if (IM=='00') DW('<font color="#92C5FE">2000-2005</font>')
		else {DW('<a href="datasheets_d.html">2000-2005</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='90') DW('<font color="#92C5FE">1990-1999</font>')
		else {DW('<a href="datasheets_90_d.html">1990-1999</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='80') DW('<font color="#92C5FE">1980-1989</font>')
		else {DW('<a href="datasheets_80_d.html">1980-1989</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='70') DW('<font color="#92C5FE">1970-1979</font>')
		else {DW('<a href="datasheets_70_d.html">1970-1979</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='60') DW('<font color="#92C5FE">1960-1969</font>')
		else {DW('<a href="datasheets_60_d.html">1960-1969</a>')}
	DW(' &nbsp;&#149;&nbsp; ')

	if (IM=='50') DW('<font color="#92C5FE">1950-1953</font>')
		else {DW('<a href="datasheets_50_d.html">1950-1953</a>')}
	DW(' &nbsp;&#149;&nbsp; ')
}

function DatasRow(){
	DW('<tr>');
	DW('<td class="h" width="50">DATE</td>');
	DW('<td class="h">FIRST NAME</td>');
	DW('<td class="h">LAST NAME</td>');
	DW('<td class="h">BUST</td>');
	DW('<td class="h">WAIST</td>');
	DW('<td class="h">HIPS</td>');
	DW('<td class="h">WEIGHT</td>');
	DW('<td class="h">HEIGHT</td>');
	DW('<td class="h">BIRTHDAY</td>');
	DW('<td class="h">AGE</td>');
	DW('</tr>');
}

function SectionHeader(Lt) {
	DW('<TABLE border=0 cellpadding=3 cellspacing=0><TR>');
	if (browser == "Netscape") {
		DW('<TD><span class=coolHeader>'+Lt+'</span>');
	}
	else {
		DW('<TD class=glowHeader>'+Lt);
	}
	DW('</TD></TR></TABLE>');
}

function Add_Line(AddDate,Section,URLSection,SubSection,URLSubSection,ModelName,TINYCODE,MODELCODE,AddInfo,LineType) {
	DW('<TR>');
	DW('<TD width="60"><DIV class=newsText><font color=darkcyan>'+AddDate+'</font></DIV></TD>');
	DW('<TD align="right"><DIV class=newsText><A href="' +URLSection+ '.html">'+Section+'</A>:</DIV></TD>');
	DW('<TD><DIV class=newsText><A href="' +URLSubSection+ '.html">'+SubSection+'</A>:</DIV></TD>');
	DW('<TD><DIV class=newsText><A href="http://tinyurl.com/'+TINYCODE+'/'+MODELCODE+'.html"><i>'+ModelName+'</i></A></DIV></TD>');
	DW('<TD align="right"><DIV class=newsText>'+AddInfo+'&nbsp;</DIV></TD>');
	DW('</TR>');
} 

function Promo_Line(AddDate,Section,URLSection,SubSection,URLSubSection,ModelName,SITEURL,GALURL,AddInfo,LineType) {
//	if (LineType=='promo') DW('<tr bgcolor="#DDDDFF">');
//		else {DW('<tr>');}

	DW('<TR>');
	DW('<TD width="60"><DIV class=newsText><font color=darkcyan>'+AddDate+'</font></DIV></TD>');
	DW('<TD align="right"><DIV class=newsText><A href="http://' +SITEURL+'/' +URLSection+ '">'+Section+'</A>:</DIV></TD>');
	DW('<TD><DIV class=newsText><A href="http://'+SITEURL+'/' +URLSubSection+ '">'+SubSection+'</A>:</DIV></TD>');
	DW('<TD><DIV class=newsText><A href="http://'+SITEURL+'/'+GALURL+'"><i>'+ModelName+'</i></A></DIV></TD>');
	DW('<TD><DIV class=newsText>'+AddInfo+'</DIV></TD>');
	DW('</TR>');
} 


function Iportant_Notes() {
	alert("IMPORTANT NOTES.\n\nPics uploaded to adult freehosts and you must remember:\n\n1. Bannerless freehosts cheat with random 404 error (page/file not found) \nor unexpected redirect / pop-up / trojan / dialer / etc... \nIn that case TRY download gallery ONCE MORE or LATER...\n\n2. Freehosts allow to upload poor quality pics (max filesize 150-200K).\nTherefore the most part of original pictures have been compressed\n to the smallest possible JPEG image files (with degrading the image quality).\n\nIf you know the best adult freehosts INFORM ME, please!");
}

function Sorry() {
	alert("Sorry, temporary unavailable! Try it later...");
}

function TU(M,TINYCODE,MODELCODE,MODELNAME) {
	if (M == "") {
		N="&#149;&nbsp;";
	}
	else {
		N=M+'.&nbsp;';
	}
	DW('<font color=brown>'+N+'</font><A href="http://tinyurl.com/'+TINYCODE+'/'+MODELCODE+'.html">'+MODELNAME+'</A><br>');
}

function TX(M,TINYCODE,MODELCODE,MODELNAME) {
	if (M == "") {
		N="&#149;&nbsp;";
	}
	else {
		N=M+'.&nbsp;';
	}
	DW('<font color=brown>'+N+'</font><A href="javascript:Sorry()" class="linkSorry">'+MODELNAME+'</A><br>');
}

function TUZIP(M,TINYCODE,MODELCODE,MODELNAME){
	DW(M+'. <a href="http://tinyurl.com/'+TINYCODE+'/'+MODELCODE+'.zip">'+MODELNAME+'</a><br>');
}

function PMOM_Line(MonthNum,PMOMname,TUpreviewCODE,TUpreviewHTML,NEWpreview,TUportfolioCODE,TUportfolioHTML,NEWportfolio,TUheadshotCODE,NEWheadshot,TUcenterfoldCODE,NEWcenterfold,TUcyberzoomCODE,NEWcyberzoom,TUdatasheetCODE,NEWdatasheet,TUdatacardCODE,NEWdatacard) {
	if (TUpreviewCODE == "") {	TUpreviewAct='<A href="javascript:Sorry()" class="linkSorry">';}
	else {TUpreviewAct='<A href="http://tinyurl.com/'+TUpreviewCODE+'/'+TUpreviewHTML+'.html">';};
	if (TUportfolioCODE == "") {	TUportfolioAct='<A href="javascript:Sorry()" class="linkSorry">';}
	else {TUportfolioAct='<A href="http://tinyurl.com/'+TUportfolioCODE+'/'+TUportfolioHTML+'.html">';};
	if (TUheadshotCODE == "") {TUheadshotAct='<A href="javascript:Sorry()" class="linkSorry">';}
	else {TUheadshotAct='<A href="pb_pmom_headshots.html">';};
	if (TUcenterfoldCODE == "") {TUcenterfoldAct='<A href="javascript:Sorry()" class="linkSorry">';}
	else {TUcenterfoldAct='<A href="pb_pmom_cf.html">';};
	if (TUcyberzoomCODE == "") {TUcyberzoomAct='<A href="javascript:Sorry()" class="linkSorry">';}
	else {TUcyberzoomAct='<A href="pb_pmom_cf.html">';};
	if (TUdatacardCODE == "") {TUdatacardAct='<A href="javascript:Sorry()" class="linkSorry">';}
	else {TUdatacardAct='<A href="datacards.html">';};
	if (TUdatasheetCODE == "") {TUdatasheetAct='<A href="javascript:Sorry()" class="linkSorry">';}
	else {TUdatasheetAct='<A href="datasheets.html">';};

	DW('<TR>');
	DW('<TD width="20" align="right"><DIV class=newsText><font color=darkcyan>'+MonthNum+'</font></DIV></TD>');
	DW('<TD width="200"><DIV class=newsText>'+PMOMname+'</DIV></TD>');
	DW('<TD><DIV class=newsText>'+TUpreviewAct+'preview</A>'+'<font color=red>'+NEWpreview+'</font></DIV></TD>');
	DW('<TD><DIV class=newsText>'+TUportfolioAct+'portfolio</A>'+'<font color=red>'+NEWportfolio+'</font></DIV></TD>');
	DW('<TD><DIV class=newsText>'+TUheadshotAct+'headshot</A>'+'<font color=red>'+NEWheadshot+'</font></DIV></TD>');
	DW('<TD><DIV class=newsText>'+TUcenterfoldAct+'centerfold</A>'+'<font color=red>'+NEWcenterfold+'</font></DIV></TD>');
	DW('<TD><DIV class=newsText>'+TUcyberzoomAct+'cyberzoom</A>'+'<font color=red>'+NEWcyberzoom+'</font></DIV></TD>');
	DW('<TD><DIV class=newsText>'+TUdatasheetAct+'datasheet</A>'+'<font color=red>'+NEWdatasheet+'</font></DIV></TD>');
	DW('<TD><DIV class=newsText>'+TUdatacardAct+'datacard</A>'+'<font color=red>'+NEWdatacard+'</font></DIV></TD>');

	DW('</TR>');
} 

function CD_Line(CDnumber,CDname,CDsection,CDpics,CDvol,CDdate) {
	DW('<TR>');
	DW('<TD width="20" align="right"><DIV class=newsText><font color=darkcyan>'+CDnumber+'</font></DIV></TD>');
	DW('<TD width="450"><DIV class=newsText><A href="http://www.tvz-archive.com/csv/' +CDsection+'/'+CDname+'_'+CDpics+ '.zip">'+CDname+'</A></DIV></TD>');
	DW('<TD align="right"><DIV class=newsText>'+CDpics+'</DIV></TD>');
	DW('<TD align="right"><DIV class=newsText>'+CDvol+'</DIV></TD>');
	DW('<TD align="right"><DIV class=newsText><font color=#008800>'+CDdate+'</font></DIV></TD>');
	DW('</TR>');
} 

function VIDEO_Line(VIDEOnumber,VIDEOsource,VIDEOname,VIDEOfile,VIDEOzip,VIDEOsize) {
	DW('<TR>');
	DW('<TD valign=top align="right"><DIV class=newsText><font color=darkcyan>'+VIDEOnumber+'</font></DIV></TD>');
	DW('<TD valign=top><DIV class=newsText>'+VIDEOsource+'</DIV></TD>');
	DW('<TD valign=top><DIV class=newsText>'+VIDEOname+'</DIV></TD>');
	DW('<TD valign=top><DIV class=newsText>'+VIDEOfile+'</DIV></TD>');
	DW('<TD valign=top><DIV class=newsText>'+VIDEOzip+'</DIV></TD>');
	DW('<TD valign=top align="right"><DIV class=newsText><font color=#008800>'+VIDEOsize+'</font></DIV></TD>');
	DW('</TR>');
} 

function DC(N1,N2){
	document.write('<a href="http://www.tvz-archive.com/covers/playboy/gals_covers/'+N1+'.htm" target="_blank">'+N2+'</a><br>');
}


function TVZarchiveBottom() {
	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>= <a href="http://www.tvz-archive.com/private"><font color=white>PRIVATE TVZ ARCHIVE  | 123:123</font></a> =</font></TD></TR>');
	DW('</TBODY></TABLE></DIV>');
}
