<!-- Begin

function StuffPresentasjon(){

STOP=START+10
currentside=STOP/10

if (STOP>tell){STOP=tell}
document.write("Page ");

restitems=tell
if (DenneSide=="ST"){lenke="stuff"}
if (DenneSide=="W"){lenke="walls"}
if (DenneSide=="F"){lenke="food"}
if (DenneSide=="S"){lenke="simsit"}
if (DenneSide=="A"){lenke="art"}
if (DenneSide=="C"){lenke="skins"}
if (DenneSide=="B"){lenke="floors"}
side=1
while (restitems>0){
	if (currentside!=side){ document.write('<a href=\"'+lenke+side+'.html\">');}
	document.write(side);
	if (currentside!=side){ document.write('</a>');}
	if (restitems>10){document.write(" | ");}
	side+=1;restitems-=10
	}

document.write('<table width=400 border=0>');
for (hovedtelle=START;hovedtelle<STOP;hovedtelle+=1){
	document.write('<tr><td></td><td><font face="Comic Sans MS","Arial" size=+0><a href=\"../07stuff/upload/'+FileName[hovedtelle]+'\">'+Name[hovedtelle]+'</a></font></td></tr>');
	document.write('<tr valign=top><td align=center>');
	document.write('<img align=center src=\"../07stuff/pic-ill/'+ItemID[hovedtelle]+"."+Picture[hovedtelle]+'\"></td>');
	document.write('<td><font face="arial" size=-2>'+Description[hovedtelle]+'<p><font size=-2>');
	if (DenneSide!="C"){ document.write("Cost: §"+Cost[hovedtelle]+'<br>'); }
	document.write("Uploaded: "+DateNew[hovedtelle]+'<br>');
	if (DenneSide=="C"){ document.write("Size: "); }
	var position= Qualities[hovedtelle].indexOf("FAT");
	if (position>-1){	document.write("large ");}
	var position= Qualities[hovedtelle].indexOf("FIT");
	if (position>-1){	document.write("medium ");}
	var position= Qualities[hovedtelle].indexOf("SKN");
	if (position>-1){	document.write("small ");}
	if (DenneSide=="C"){ document.write('<br>'+"Skin tone: "); }
	var position= Qualities[hovedtelle].indexOf("LGT");
	if (position>-1){	document.write("light ");}
	var position= Qualities[hovedtelle].indexOf("MED");
	if (position>-1){	document.write("medium ");}
	var position= Qualities[hovedtelle].indexOf("DRK");
	if (position>-1){	document.write("dark ");}
	if (DenneSide!="C"){ document.write("Room: "); }
	var position= Qualities[hovedtelle].indexOf("RKI");
	if (position>-1){	document.write("kitchen ");}
	var position= Qualities[hovedtelle].indexOf("RBE");
	if (position>-1){	document.write("bedroom ");}
	var position= Qualities[hovedtelle].indexOf("RBA");
	if (position>-1){	document.write("bathroom ");}
	var position= Qualities[hovedtelle].indexOf("RLI");
	if (position>-1){	document.write("livingroom ");}
	var position= Qualities[hovedtelle].indexOf("RDI");
	if (position>-1){	document.write("diningroom ");}
	var position= Qualities[hovedtelle].indexOf("RST");
	if (position>-1){	document.write("study ");}
	var position= Qualities[hovedtelle].indexOf("ROU");
	if (position>-1){	document.write("outdoor ");}
	var position= Qualities[hovedtelle].indexOf("RMI");
	if (position>-1){	document.write("misc ");}
	var position= Qualities[hovedtelle].indexOf("RDT");
	if (position>-1){	document.write("Downtown ");}
	var position= Qualities[hovedtelle].indexOf("ROT");
	if (position>-1){	document.write("OldTown ");}
	var position= Qualities[hovedtelle].indexOf("RVA");
	if (position>-1){	document.write("Vacation ");}
	var position= Qualities[hovedtelle].indexOf("RO");
	if (position>-1){	document.write(", score: "+Qualities[hovedtelle].slice(position+2,position+4)/1+'<br>');}

	var position= Qualities[hovedtelle].indexOf("FU");
	if (position>-1){	document.write("Fun: "+Qualities[hovedtelle].slice(position+2,position+4)/1+'<br>');}
	var position= Qualities[hovedtelle].indexOf("CO");
	if (position>-1){	document.write("Comfort: "+Qualities[hovedtelle].slice(position+2,position+4)/1+'<br>');}
	var position= Qualities[hovedtelle].indexOf("HU");
	if (position>-1){	document.write("Hunger: "+Qualities[hovedtelle].slice(position+2,position+4)/1+'<br>');}
	var position= Qualities[hovedtelle].indexOf("HY");
	if (position>-1){	document.write("Hygiene: "+Qualities[hovedtelle].slice(position+2,position+4)/1+'<br>');}
	var position= Qualities[hovedtelle].indexOf("BL");
	if (position>-1){	document.write("Bladder: "+Qualities[hovedtelle].slice(position+2,position+4)/1+'<br>');}
	var position= Qualities[hovedtelle].indexOf("EN");
	if (position>-1){	document.write("Energy: "+Qualities[hovedtelle].slice(position+2,position+4)/1+'<br>');}
	if (TestPic[hovedtelle]!="0"){document.write('<a href=\"testpic/'+TestPic[hovedtelle]+'\">'+"TEST"+'</a><br>')}
	if (Article[hovedtelle]!="0"){document.write('<a href=\"'+Article[hovedtelle]+'\">'+"Read more"+'</a><br>')}
	var position= Qualities[hovedtelle].indexOf("EPTS");
	if (position>-1){	document.write('<br>'+"[No expansion required]");}
	var position= Qualities[hovedtelle].indexOf("EPHD");
	if (position>-1){	document.write('<br>'+"[HD required]");}
	var position= Qualities[hovedtelle].indexOf("EPDL");
	if (position>-1){	document.write('<br>'+"[DL/LL required]");}
	var position= Qualities[hovedtelle].indexOf("EPLL");
	if (position>-1){	document.write('<br>'+"[DL/LL required]");}
	var position= Qualities[hovedtelle].indexOf("EPUL");
	if (position>-1){	document.write('<br>'+"[UL required]");}
//	document.write("Created by: "+CrDescription[hovedtelle]+'<p>');
	document.write('</font></font></td></tr>');
	document.write('<tr><td></td><td><img height=10 src=\"'+"../tom.gif"+'\"></td></tr>');
	}

document.write('</table>');

document.write("Page ");
restitems=tell
side=1
while (restitems>0){
	if (currentside!=side){ document.write('<a href=\"'+lenke+side+'.html\">');}
	document.write(side);
	if (currentside!=side){ document.write('</a>');}
	if (restitems>10){document.write(" | ");}
	side+=1;restitems-=10
	}

}

// End -->

