



document.write("<STYLE> " +
    "A:link{color:#000000} " +
    "A:visited{color:#805500} " +
    "A:hover{color:#C98600} " +
    "img { border-color: #000000; } " +

    "body,td,table,div,span { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #332222; line-height:140%; } " +
    "body { background-color: #FFFFFF; } " +
    "form { margin-bottom:0; padding-bottom:0; } " +
    ".header { font-size: 11px; font-family: Arial, Verdana, Helvetica, sans-serif; } " +
    ".logintext { font-weight: bold; color:#FFFFFF; } " +
    ".titlefont { font-size: 14px; font-weight: bold; } " +
    ".titlebig { font-size: 18px; font-weight: bold; } " +
    ".titlehuge { font-size: 22px; font-weight: bold; } " +
    ".bigfont { font-size: 13px; font-weight: bold; } " +
    ".small { font-size: 10px; } " +
    ".tiny { font-size: 9px; } " +
	".eyebrow { font-size: 10px; font-weight: bold; text-transform: uppercase; text-decoration: none; color: #FFFFFF; } " +
	".sidebarhead { color:#D19318; font-weight:bold; } " +
	".sectionhead { color:#595959; font-weight:bold; font-size:24px; } " +
	".linehead { font-size:14px; } " +
	".price { color:#990000; } " +
	".blue { color:#000099; } " +
	".arial { font-family: Arial, Helvetica, Verdana, sans-serif; font-size:13px; } " +

    "</STYLE>");

document.write("<script type='text/javascript' src='store.js'></script>");

totalwidth=780;
taboffset=139;
tabwidth=208;
tabright=totalwidth-taboffset-tabwidth;

colwidthleft=160;
colwidthright=120;



function writeBadPage() {

	document.write("<br><br><br>You have reached an invalid page.<br><a href='index.html'>Click here to return</a>");

}


function writeTop() {
	document.write(
		"<br>" +
		"<TABLE WIDTH="+totalwidth+" HEIGHT=95 BORDER=0 CELLPADDING=0 CELLSPACING=0 align=center> " +
			"<TR> " +
				"<TD WIDTH="+taboffset+" HEIGHT=32 NOWRAP></TD> " +
				"<TD><a href='index.html'><IMG SRC='image/main/tab.gif' WIDTH="+tabwidth+" HEIGHT=32 ALT='' border=0></a></TD> " +
				"<TD WIDTH="+tabright+" HEIGHT=32 NOWRAP align=right>" +
					"<a href='index.html' style='text-decoration:none; font-size:11px;'>Home</a> &nbsp;|&nbsp; " +
					"<a href='cart.html' style='text-decoration:none; font-size:11px;'><img src='image/buttoncart.gif' width=17 height=19 border=0 align=middle> Cart</a> &nbsp;|&nbsp; " +
					"<a href='about.html' style='text-decoration:none; font-size:11px;'>About the Company</a>" +
				"</TD> " +
			"</TR> " +
			"<TR> " +
				"<TD BGCOLOR=#3F57A8><IMG SRC='image/main/pixelblue.gif' WIDTH="+taboffset+" HEIGHT=1 ALT=''></TD> " +
				"<TD BGCOLOR=#3F57A8><IMG SRC='image/main/tabbottom.gif' WIDTH="+tabwidth+" HEIGHT=1 ALT=''></TD> " +
				"<TD BGCOLOR=#3F57A8><IMG SRC='image/main/pixelblue.gif' WIDTH="+tabright+" HEIGHT=1 ALT=''></TD> " +
			"</TR> " +
			"<TR> " +
				"<TD width="+totalwidth+" height=62 COLSPAN=3 BGCOLOR=#3F57A8 style='background-image: url(image/main/band.gif); background-repeat: repeat-x;' " +
					"align=center><span class='header'><a href='directory.html'>Directory of Sections</a>&nbsp; | &nbsp;<a href='topsellers.html'>Top Sellers</a>&nbsp; | &nbsp;<a href='criminals.html'>Directory of Criminals</a></span> " +
					"<form method='get' style='margin-bottom:0; margin-top:8;'><span class='logintext'>Enter your Frequent Shopper ID here to access your account: </span><input size=6> <input align=left type='button' value='Login' onclick='javascript:alert(\"Invalid ID\");'></form> " +
					"</TD> " +
			"</TR> " +
			"<TR> " +
				"<TD width="+totalwidth+" COLSPAN=3 BGCOLOR=#BCC8F3 align=center><b>Hello, Guest</b>.  We have <a href='topsellers.html'>recommendations</a> for you.  (If you're not Guest, click here.)</TD> " +
			"</TR> " +
		"</TABLE> " +
		"<br>" +
		"<TABLE WIDTH="+totalwidth+" BORDER=0 CELLPADDING=0 CELLSPACING=0 align=center><tr>" +
			"<td width="+colwidthleft+" valign=top>" +
				"<TABLE WIDTH="+colwidthleft+" BORDER=0 CELLPADDING=0 CELLSPACING=0 align=center> " +
					"<TR><TD BGCOLOR=#3F57A8><IMG SRC='image/main/colleft.gif' WIDTH=7 HEIGHT=18 ALT=''></td> " +
						"<TD BGCOLOR=#3F57A8 class='eyebrow' width="+(colwidthleft-14)+">BROWSE</td> " +
						"<TD BGCOLOR=#3F57A8 align=right><IMG SRC='image/main/colright.gif' WIDTH=7 HEIGHT=18 ALT=''></td></tr> " +
					"<tr><td colspan=3 style='border:solid 1px #708090; padding:6'>" +
					"<div class='sidebarhead' style='margin-bottom:6px;'>Crimes</div>" +
					"<table align=center cellpadding=0 cellspacing=0 border=0>" +
					"");


	for (i=0;i<numSections;i++) {
		document.write("<tr><td width=25><a href='catalog.html?" + i + "'><img src='image/sections/"+Sections[i].imgname+".gif' width=25 height=25 border=0></a></td>"+
				"<td>&nbsp;<a href='catalog.html?" + i + "'>" + Sections[i].name + "</a></td></tr>");
	}


	document.write("<tr><td colspan=2><br><div class='sidebarhead' style='margin-bottom:4px;'>Directories</div>" +
			"<b>&nbsp;&middot;&nbsp;</b> <a href='directory.html'>All Sections</a><br>" +
			"<b>&nbsp;&middot;&nbsp;</b> <a href='criminals.html'>All Criminals</a><br>" +
			
			"");
					
	document.write(		"</table></td></tr> " +
						
				"</table></td>" +

			"<td width=10><IMG SRC='image/main/pixelwhite.gif' WIDTH=10 HEIGHT=1 ALT=''></TD> " +
			"<td valign=top>"
		);
}



function writeBottom(rightcol) {
	if (writeBottom.arguments.length<1) { rightcol=false; }
	document.write(

			"</td>");
	if (rightcol) {
		document.write(
				"<td width=10><IMG SRC='image/main/pixelwhite.gif' WIDTH=10 HEIGHT=1 ALT=''></TD> " +

				"<td width="+colwidthright+" valign=top>" +
					"<TABLE WIDTH="+colwidthright+" BORDER=0 CELLPADDING=0 CELLSPACING=0 align=center> " +
						"<TR><TD BGCOLOR=#3F57A8><IMG SRC='image/main/colleft.gif' WIDTH=7 HEIGHT=18 ALT=''></td> " +
							"<TD BGCOLOR=#3F57A8 class='eyebrow' width="+(colwidthright-14)+">NEW CRIMINALS</td> " +
							"<TD BGCOLOR=#3F57A8 align=right><IMG SRC='image/main/colright.gif' WIDTH=7 HEIGHT=18 ALT=''></td></tr> " +
						"<tr><td colspan=3 style='border:solid 1px #708090; padding:6' align=center bgcolor=#ccccdd>" +
						"<a href='detail.html?" +EncodeProductNumber(14)+ "' class='titlefont'>" +
							"<img border=1 src='image/photost/"+Items[14].imagename+".jpg' width=75 height=100>" +
        				"<br>" +Items[14].name+ "</a>" +
        				"<br><br>" +
						"<a href='detail.html?" +EncodeProductNumber(9)+ "' class='titlefont'>" +
							"<img border=1 src='image/photost/"+Items[9].imagename+".jpg' width=75 height=100>" +
        				"<br>" +Items[9].name+ "</a>" +
        				"<br><br>" +
						"<a href='detail.html?" +EncodeProductNumber(6)+ "' class='titlefont'>" +
							"<img border=1 src='image/photost/"+Items[6].imagename+".jpg' width=75 height=100>" +
        				"<br>" +Items[6].name+ "</a>" +
						"</td></tr> " +

					"</table></td>");
	}
			
	document.write(
		
			"</tr></table>" +
		"<TABLE WIDTH="+totalwidth+" BORDER=0 CELLPADDING=0 CELLSPACING=0 align=center> " +
			"<tr><td><IMG SRC='image/main/pixelwhite.gif' WIDTH=1 HEIGHT=14 ALT=''></TD></tr>" +
			"<tr><td style='border:solid 1px #708090; padding:6' bgcolor=#FFBA30 align=center><b>Criminals4Hire.com - For All Your Criminal Needs</b></td></tr>" +
		
			"<tr><td><div align='right'><a href='#top' class='small'>Top of Page</a></div></td></tr>" +
		
			"<tr><td><div class='tiny' align=center>" +
			"<A HREF='about.html'>Conditions of Use</A> | " +
			"<A HREF='about.html'>Privacy Notice</A> &copy; 1996-2005, <a href='http://www.pervasivestudios.com'>Criminals4Hire.com, Inc. or its affiliates</a>" +
			"</div></td></tr>" +
		"</table><br><br>"
			
		);
}


function getWhiteCell(w,h) { return "<td width="+w+"><img src='image/main/pixelwhite.gif' width="+w+" height="+h+"></td>"; }
function getStar(i) { return "<img width=64 height=12 src='image/star/star" +i+ ".gif'>"; }

function getButtonAdd() { return "<img src='image/buttonadd.gif' width=172 height=40 border=0>"; }
function getButtonEmpty() { return "<img src='image/buttonempty.gif' width=150 height=40 border=0>"; }
function getButtonUpdate() { return "<img src='image/buttonadjust.gif' width=121 height=40 border=0>"; }
function getButtonCheckout() { return "<img src='image/buttoncheckout.gif' width=121 height=40 border=0>"; }


function getdividercell(colspan) { return "<td colspan=" +colspan+ " bgcolor=#708090><img src='image/main/pixelgrey.gif' width=1 height=1></td>"; }

function getdividerrow(colspan) {
	if (getdividerrow.arguments.length<1) { colspan=1; }
	return "<tr>" +getdividercell(colspan)+ "</tr>";
}


function writedividerrow(colspan) {
	if (writedividerrow.arguments.length<1) { colspan=1; }
	document.write(getdividerrow(colspan));
}







