﻿window.GP = {
	paywith : 'barclays',
	player : '',
	sid : '',
	obj : {},
	redir : '',
	login : function(fromsignup) {
		dr('Logging in...', 'lmsg');
		var u = escape(dge('username').value), p = escape(dge('password').value);
		var after = "if (mat('-', a.text)) { location.href = (GP.redir || WD.location) ; } else dr('Login error - please try again.','lmsg');";
		if (u && p)
			new call('account.php', 'username=' + escape(u) + '&password='
					+ escape(p), after)
	},
	logout : function(si) {
		dr('Account Settings Page', 'acset');
		dr('Logging out...', 'lmsg');
		if (GP.sid)
			new call(
					'account.php',
					'logout=1',
					"c00k.set('gSiD','',-1);GP.player=GP.sid='';GP.obj={};"
							+ (si ? "location.href=(WD.location+'').replace(/\\?.*/,'');"
									: "GP.blank();GP.shoacc();"))
	},
	blank : function(em, news) {
		var cls = qw('momoney	chps	chem	inventory	prefs');
		for ( var i in cls)
			dr('', cls[i]);
	},
	newsd : false,
	cheml : function(em, news) {
		var er = '';
		if (!/^[\w\.\-]+@[\w\.\-]+\.\w{2,9}$/.test(em))
			er = 'Please enter a valid email address.';
		if (er)
			dr('E-mail settings changed.', 'emlmsg')
		else if (GP.obj.email != em || GP.newsd)
			new call('account.php', 'cheml=1&newem=' + escape(em) + '&news='
					+ escape(news), "if(mat('e',a.text)){dr(a.text,'emlmsg');}");
	},
	chsets : function(ob) {
		new call('account.php', 'status=' + (ob.chat ? 1 : 0) + (ob.sx ? 1 : 0)
				+ (ob.tone),
				"b=mat('ok',a.text);dr('<br>Preferences changed.','conceal');");
	},
	chpss : function(p1, p2) {
		var er = '';
		if (!p1)
			return;
		if (p1 != p2)
			er = 'passwords do not match. ';
		else if (p1.length < 5 || p1.length > 18)
			er = 'Password must be between 6 and 18 letters long. ';
		else if (/[^\w \.\,\$\^\*\(\)\-\+\/\?=!"%&@'#~<>]/.test(p1))
			er = 'Password must contain only normal keyboard characters. ';
		if (er)
			dr(er, 'chpsmsg');
		else
			new call(
					'account.php',
					'chps=1&password=' + escape(p1),
					"b=mat('ok',a.text);dr('Password '+(b?'':'not ')+'changed.','chpsmsg');if(b)heidi('chgps');");
	},
	tone : function(t, set) {
		var col = 'black';
		if (tof(set, 'b')) {
			dge('scol' + GP.obj.col).style.border = set && (t != GP.obj.col) ? 'white solid 3px'
					: 'black solid 3px';
			if (set)
				GP.obj.col = t;
			else if (t != GP.obj.col)
				col = 'white';
		} else
			col = 'green';
		dge('scol' + t).style.border = col + ' solid 3px';
	},
	fill : function(cols, sign) {
		if (!cols)
			return;
		var lynz = cols.split('\n');
		var gotz = [], nz = [ 'laston', 'expires', 'email', 'gems', 'sex',
				'col', 'chat', 'pref' ], cz = lynz[0].split('\t'), itemz = lynz[1]
				.split('\t');
		if (!cz[0])
			cz.shift();
		cz.shift();
		for ( var i in nz)
			GP.obj[nz[i]] = cz[i];
		if (sign)
			return;
		if (dge('newsY') && mat('N', GP.obj.pref))
			dge('newsY').checked = true;
		else
			dge('newsN').checked = true;
		var ch = GP.obj.chat == 'TRUE' ? dge('chatS') : dge('chatF');
		if (ch)
			ch.checked = true;
		var sx = GP.obj.sex == 'M' ? dge('sexM') : dge('sexF');
		if (sx)
			sx.checked = true;
		if (dge('scol' + GP.obj.col))
			dge('scol' + GP.obj.col).style.border = 'black solid 3px';
		for (i in itemz) {
			var its = itemz[i].split(' ');
			if (GP.items[its[0]])
				gotz.push(its[1] + '&times;' + GP.items[its[0]])
		}
		var ventor = '<h4>Orbs:</h4><p> &nbsp; ' + (GP.obj.gems || 0) + '</p><h4>Items:</h4><p> &nbsp; ';
		ventor += gotz.join(', ');
		if (dge('plremail'))
			dge('plremail').value = GP.obj.email || '';
		dr(ventor, 'invent');
	},
	currency : 'dollars',
	costs : {
		sterling : [ '&pound;', 3.95, 10.95, 19.95, 37.95 ],
		euros : [ '&euro;', 4.95, 12.95, 24.95, 49.95 ],
		dollars : [ '$', 5.25, 13.95, 26.95, 50.00 ]
	},
	setcurnc : function(creds) {
		if (GP.costs[creds])
			GP.currency = creds;
		var op, cr = GP.costs[GP.currency], mz = [ 0, 1, 3, 6, 12 ];
		for ( var i = 1; i < 5; i++) {
			op = dge('payfor').options[i];
			if (cr[i] == '999')
				op.innerHTML = mz[i] + ' Month' + (i == 1 ? '' : 's')
						+ ' (not avaiable yet)';
			else
				op.innerHTML = mz[i] + ' Month' + (i == 1 ? '' : 's') + ' ('
						+ cr[0] + cr[i] + ')';
		}
		op = dge('payforr').options[1];
		op.innerHTML = 'Every Month (' + cr[0] + cr[1] + ')';
		op = dge('payfor').selectedIndex || dge('payforr').selectedIndex;
		if (op)
			swapclass('pay4', GP.currency == 'sterling' ? 'db' : 'dn', 'd~w');
	},
	signin : function() { 
		var gt = GP.gametime();
		var currency = '<select onchange="GP.setcurnc(this.options[this.selectedIndex].value)" name="curnc" id="curnc"><option value="dollars">$ US Dollars<option value="sterling">&pound; Pounds Sterling<option value="euros">&euro; Euros</select>'
		dr('<h4>Player ' + GP.player.toUpperCase() + ': pay in ' + currency
				+ '</h4>' + gt, 'ismember');
				
		if ($_POST['currency'] == 'dollar')
		{
			GP.setcurnc('dollars');
			document.getElementById("curnc").selectedIndex = 0;
		}
		else if ($_POST['currency'] == 'pound')
		{
			GP.setcurnc('sterling');
			document.getElementById("curnc").selectedIndex = 1;
		}
		else if ($_POST['currency'] == 'euro')
		{
			GP.setcurnc('euros');
			document.getElementById("curnc").selectedIndex = 2;
		}
		else
			GP.setcurnc('dollars');
			
		document.getElementById("payfor").selectedIndex = parseInt($_POST['period']) + 1;	
		GP.chval(document.getElementById("payfor").value, false);		
		
		if (mat('unmetered', gt))
			dr(
					'Your gametime is automatically extended. To cancel recurring payments, visit the <a href="account.php">account page</a>.',
					'xtendr');
		// else dr('<br><input id="lo" class="dib fr" value="Cancel and Log Out"
		// type="button" onclick="GP.logout(1)">','sulo')
	},
	gametime : function() {
		var xp = GP.datesql(GP.obj.expires, 'nice');
		if (xp == '?') {
			GP.logout();
			return ''
		}
		if (GP.obj.expires == '2012-12-22 09:11:22')
			return '<h3>You have unmetered game time.</h3><br>';
		return '<h3>Your gameplay expires on ' + xp + '</h3><br>'
	},
	delete_account : function(sure) {
		if (!sure) {
			if (confirm('Are you sure you wish to terminate\nyour GardenParty World account?' + '\nPlayer: ' + GP.player
					.toUpperCase()))
				GP.delete_account(true);
			return

		}
		dr('Deleting your account...', 'prefs')
		new call(
				'account.php',
				'cancelplay=' + escape(GP.player) + '&sure=true',
				"dr(a.text,'lmsg');dr('<p><br>"
						+ GP.player
						+ " account has been deleted! We hope you enjoyed playing GardenParty World.</p>','prefs');c00k.reset();heidi('leavegp');");
	},
	unlose : function(dun) {
		var un = dge('username').value || '', em = dge('lemail').value || '';
		if (!dun) {
			dr('Please wait...', 'lmsg');
			if (un && em)
				return new call('account.php', 'lem=' + escape(em) + '&lun='
						+ escape(un.toUpperCase()),
						"dr(a.text,'lmsg');GP.unlose(true);");
			else
				dr('Error - did you fill everything in correctly?', 'lmsg');
		}
		dge('username').value = '';
		em = dge('lemail').value = '';
		return heidi('unlose');
	},
	stoprec : function(a) {
		if (a === true) {
			return new call(
					'account.php',
					'exp=confirm',
					"dr(mat('confirmed',a.text)?'Cancellation confirmed: you will no longer be charged.':'Transmission error - please try again in a few moments.','stib');");
		}
		if (a && a != 'error') {
			var xp = GP.datesql(a, 'nice', 1);
			// var dm=a.split('\t');dm.shift();dm.shift();var
			// xp=GP.datesql(dm[0],'nice',dm[1]-0);
			heidi('stoprec');
			return dr(
					'Your gameplay will expire on ' + xp + '.<br><br><div id="stib">' + '<input onclick="GP.stoprec(true)" type="button" value="Proceed and cancel payments"></div>',
					'expdate');
		}
		dr(
				'If you cancel recurring payments, your gameplay will run out.<br>' + '<div id="expdate">Calculating expiry date...</div>',
				'stoprinfo');
		return new call('account.php', 'exp=roll',
				"GP.stoprec(a.text||'error');");
	},
	shoacc : function(momoney) {
		if (GP.player) {
			// swapclass('chps','db','dn'); swapclass('inventory','db','dn');
			swapclass('leavegp', 'dib', 'dn');
			swapclass('loggery', 'dn', 'db');
			dr('Account Settings for ' + GP.player.toUpperCase(), 'acset');
			var tim = GP.gametime(), roll = tim.indexOf('unmetered') != -1;
			tim += (momoney
			// ?'<p>Gametime extension succeeded - '+momoney+'
			// month'+(momoney==1?'':'s')+' added!</p>'
			? '<p>Gametime extension ' + (momoney != -1 ? 'succeeded!'
					: 'failed :(') + '</p>'
					: '')
					+ (roll ? '<p><input id="stoprec" onclick="GP.stoprec()" type="button" value="Cancel recurring payments"></p><div id="stoprinfo"></div>'
							: '<p><a class="db" href="signup.php">Add more gametime</a></p>');
			dr(tim, 'momoney');
		} else {
			c00k.set('gSiD', 1);
			var ec = c00k.get('gSiD') ? '' : 'enable cookies and ';
			c00k.set('gSiD', '');
			dr('<b>Please ' + ec + 'log in to continue</b>', 'lmsg')
			// swapclass('chps','dn','db'); swapclass('inventory','dn','db');
			swapclass('leavegp', 'dn', 'dib');
			swapclass('loggery', 'db', 'dn');
		}
	},
	datesql : function(data, isql, mzup) {
		if (!data)
			return '?';
		var mz = [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug',
				'Sep', 'Oct', 'Nov', 'Dec' ];
		if (isql) {
			var d = new Date(), sqld = data.split(' '), ymd = sqld[0]
					.split('-'), hms = sqld[1].split(':');
			d.setFullYear(ymd[0]);
			d.setMonth(ymd[1] - 1);
			d.setDate(ymd[2]);
			d.setHours(hms[0]);
			d.setMinutes(hms[1]);
			d.setSeconds(hms[2]);
			if (mzup > 0)
				while (new Date() - d > 0)
					d.setMonth(d.getMonth() + mzup);
			if (isql == 'nice')
				return d.getDate() + ' ' + mz[d.getMonth()] + ' '
						+ d.getFullYear();
			return d;
		}
		return data.getFullYear()
				+ '-'
				+ pad(data.getMonth() + 1, 2, 0)
				+ '-'
				+ pad(data.getDate(), 2, 0)
				+ (isql === false ? data.getHours() + ':' + data.getMinutes()
						+ ':' + data.getSeconds() : '')
	},
	payTO : 0,
	payset : false,
	ok2go : function() {
		if (!dge('rollgood').checked && dge('payforr').selectedIndex != 0) {
			return false
		}
		return GP.payset
	},
	chval : function(v, r) {
		dr(v == '-choose-' ? '<br>Please choose an amount.'
				: '<br>Calculating...', 'paymsg');
		dge(r ? 'payfor' : 'payforr').selectedIndex = 0;
		if (!r)
			dge('rollgood').checked = false;
		clearTimeout(GP.payTO);
		GP.payTO = 0;
		GP.payset = false;
		swapclass('pay4', 'dn', 'd~w');
		swapclass('pay5', 'dn', 'd~w');
		GP.checkb4pay();
	},
	// place order in database, get form values from barclays/paypal
	checkb4pay : function(result) {
		if (!GP.player) {
			dr('<h4>Please log in first!</h4>', 'paymsg');
			return false
		}
		if (result === true) {
			GP.payset = true;
			result = ''
		}
		var r = dge('payforr').selectedIndex > 0 ? '&r=1' : '';
		if (result) {
			// transaction ID has been placed in the database
			var oid = '';
			if (/(\d{4})-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)/.test(result))
				oid = RegExp.$1 + RegExp.$2 + RegExp.$3 + RegExp.$4 + RegExp.$5
						+ RegExp.$6 + GP.player;
			dge('pay_time').value = result;
			if (GP.payTO || !oid) {
				clearTimeout(GP.payTO);
				GP.payTO = 0;
				return false;
			}
			var m = dge(r ? 'payforr' : 'payfor').value;
			if (dge('ppmd'))
				dge('ppmd').value = oid + ':' + m;
			new call(
					"signup.php",
					'shop=' + GP.paywith + "&getfrm=" + m + '&odd='
							+ escape(oid),
					"dge('epdqdata').value=(a.text||'').substr(a.text.indexOf('_')+1); GP.payTO=setTimeout('GP.offwego()',999);");
			if (GP.payset == true)
				dr('<br>Proceeding, please wait...', 'paymsg');
			else {
				swapclass('pay4', GP.currency == 'sterling' ? 'db' : 'dn',
						'd~w');
				swapclass('pay5', 'db', 'd~w'); // m==3?'dn':
				dr('', 'paymsg')
			}
			return false;
		}
		var am = dge(r ? 'payforr' : 'payfor').value - 0;
		if (am)
			new call('account.php', 'shop=' + GP.paywith + '&addmoz='
					+ escape(am) + r + '&currency=' + document.getElementById("curnc").value , "GP.checkb4pay(a.text);");
		else
			dr('', 'paymsg');
		return false;
	},
	tmprecpay : '',
	offwego : function() {
		clearTimeout(GP.payTO);
		GP.payTO = 0;
		if (GP.ok2go()) {
			var ppbuts = { // recurring, 1 month, 3, 6, 12
				sterling : [ 7289679, 7286150, 8439360, 7287705, 7287762 ],
				euros : [ 7441813, 7441707, 0, 7441751, 7441765 ],
				dollars : [ 7441658, 7441477, 8439381, 7441545, 7441571 ]
			};
			if (dge('rollgood').checked) {
				dr(GP.tmprecpay, 'recpay');
				var f = [ 0, 1 ]; // 6,12 not used for recurring
				dge('rintr').value = f[dge('payforr').selectedIndex];
				dge('hosted_button_id').value = ppbuts[GP.currency][0]; // 1
																		// month
																		// recurring
			} else if (dge('payfor').selectedIndex) {
				dge('hosted_button_id').value = ppbuts[GP.currency][dge('payfor').selectedIndex]
				dr('', 'recpay');
			}
			setTimeout("dr('','paymsg');", 1999);
			if (GP.paywith == 'barclays')
				return dge('payments').submit();
			dge('ppcustom').value = dge('epdqdata').value;
			if (GP.paywith == 'paypal')
				return dge('ppform').submit();
		} else if (GP.payset == true && !dge('rollgood').checked
				&& dge('payforr').selectedIndex != 0)
			dr(
					'<br>You have not indicated that you understand recurring payments.',
					'paymsg');
		return false
	},
	section : 'Playtime',
	accsections : [ 'Playtime', 'Password', 'E-Mail', 'Inventory',
			'Preferences' ],
	accnav : function(s) {
		var nav = [];
		if (s && GP.section != s)
			GP.section = s;
		else
			s = '';
		for ( var i in GP.accsections)
			nav
					.push(GP.accsections[i] == GP.section ? '<span class="bld wht">' + GP.accsections[i] + '</span>'
							: '\n<span class="und handy bld" '
									+ 'onmouseover="swapclass(this,\'yel\',\'und\');" '
									+ 'onmouseout="swapclass(this,\'und\',\'yel\');" '
									+ 'onmousedown="GP.accnav(\''
									+ GP.accsections[i] + '\')">'
									+ GP.accsections[i] + '</span>')
		dr(nav.join(' | '), 'lmsg');
		if (s) {
			swapclass('chgps', 'db', 'd~w');
			swapclass('momoney', s == 'Playtime' ? 'db' : 'dn', 'd~w');
			swapclass('chps', s == 'Password' ? 'db' : 'dn', 'd~w');
			swapclass('chem', s == 'E-Mail' ? 'db' : 'dn', 'd~w');
			swapclass('inventory', s == 'Inventory' ? 'db' : 'dn', 'd~w');
			swapclass('prefs', s == 'Preferences' ? 'db' : 'dn', 'd~w');
		}
	}
};

var us = '';
if (c00k.get('gSiD'))
	us = c00k.get('gSiD').split('-');

if (us[1]) {
	GP.player = us[0];
	GP.sid = us[1];
}
GP.items = {
	'0' : 'Lion Seed',
	'1' : 'Bee Seed',
	'2' : 'Squirrel Seed',
	'6' : 'Star Flowers',
	'7' : 'Pond',
	'10' : 'Lawn Nibbler',
	'11' : 'Conker',
	'12' : 'Bee Costume',
	'13' : 'Bear Seed',
	'14' : 'Bubble Seed',
	'15' : 'Squirrel Costume',
	'16' : 'Lion Costume',
	'17' : 'Bear Costume',
	'18' : 'Hop',
	'19' : 'Leap Frog',
	'20' : 'Plod',
	'21' : 'Scurry',
	'22' : 'Duck Seed',
	'23' : 'Space Seed',
	'24' : 'Hat Seed',
	'25' : 'Wig Seed',
	'26' : 'Faces Seed',
	'27' : 'Duck Costume',
	'28' : 'Space Suit',
	'29' : 'Polar Bear',
	'30' : 'Golden Lion',
	'31' : 'Black Squirrel',
	'33' : 'Devil Costume',
	'36' : 'Golden Spacesuit',
	'40' : 'Bunny Costume',
	'41' : 'Golden Egg',
	'42' : 'Panda Costume',
	'43' : 'Cool Panda',
	'101' : 'Top Hat',
	'102' : 'Shower Cap',
	'103' : 'Crown',
	'104' : 'Royal Crown',
	'105' : 'Jester Hat',
	'106' : 'Safari Hat',
	'107' : 'Pan',
	'108' : 'Wizard Hat',
	'109' : 'Wooly Hat',
	'110' : 'Cowboy Hat',
	'111' : 'Pirate Hat',
	'112' : 'Mohawk',
	'113' : 'Pretty Bow',
	'114' : 'Flame',
	'115' : 'Tight Curl',
	'116' : 'Bunches',
	'117' : 'Modern',
	'118' : 'Spikey',
	'119' : 'Beehive',
	'120' : 'Bob',
	'121' : 'Afro',
	'122' : 'Fez',
	'123' : 'Big Afro',
	'124' : 'Ascot Hat',
	'125' : 'Gardener Hat',
	'126' : 'Princess Hat',
	'127' : 'Star Hat',
	'128' : 'Bag',
	'129' : 'Witches Hat',
	'130' : 'Pumpkin Hat',
	'131' : 'Umbrella Hat',
	'132' : 'Moderator Hat',
	'133' : 'Fish Hat',
	'135' : 'Demon Horns',
	'136' : 'Halo',
	'137' : 'Hi-Top',
	'138' : 'Fringe',
	'139' : 'Whippy',
	'142' : 'Ranger Hat',
	'143' : 'Xmas Hat',
	'144' : 'Elf Hat',
	'145' : 'Dreadlocks',
	'146' : 'Headphones',
	'147' : 'Sombrero',
	'148' : 'Viking Helmet',
	'149' : 'Artist Hat',
	'150' : 'Dark Cowboy Hat',
	'151' : 'Bunny Ears',
	'201' : 'Cool Shades',
	'202' : 'Pink Glasses',
	'203' : 'Einstein',
	'204' : 'Eye Patch',
	'205' : 'Clown Nose',
	'206' : 'Short Beard',
	'207' : 'Zorro Mask',
	'208' : 'Reading Glasses',
	'209' : 'Brown Shades',
	'210' : 'Long Beard',
	'211' : 'Disco Shades',
	'212' : 'Skull Mask',
	'213' : 'Voodoo Mask',
	'214' : 'Santa Beard',
	'215' : 'Red Shades',
	'216' : 'Blue Retro',
	'217' : 'Red Retro',
	'218' : 'Black Retro',
	'501' : 'Roof',
	'502' : 'Wood Wall',
	'503' : 'Pine Floor',
	'504' : 'Blue Flowers',
	'505' : 'Pleasant Scene',
	'506' : 'Lush Roof',
	'507' : 'Windows',
	'508' : 'Rosewood Floor',
	'509' : 'Red Petals',
	'510' : 'Sunset',
	'511' : 'Plant',
	'512' : 'Table',
	'513' : 'Sunny Painting',
	'514' : 'Painting',
	'515' : 'Flower Painting',
	'516' : 'Fish Painting',
	'517' : 'Toadstool',
	'518' : 'Square Table',
	'519' : 'Lamp',
	'520' : 'Tiger Lamp',
	'521' : 'Stone Lamp',
	'522' : 'Kennel',
	'523' : 'Flowers',
	'524' : 'Chair',
	'525' : 'Stone Chair',
	'526' : 'Autumn Roof',
	'527' : 'Night Scene',
	'528' : 'Tropical Petals',
	'529' : 'Green Oak Floor',
	'530' : 'Wall-Cuckoo',
	'531' : 'Stand-Hat',
	'532' : 'Stand-Bird',
	'533' : 'Rug-Zebra',
	'534' : 'Music-Stereo',
	'535' : 'Music-Speakers',
	'536' : 'Music-Jukebox',
	'537' : 'Misc-Telescope',
	'538' : 'Lamp-Lava',
	'539' : 'Chair-Ball',
	'540' : 'Wardrobe',
	'541' : 'Left Window',
	'542' : 'Right Window',
	'543' : 'Flags and Balloons',
	'544' : 'Flags',
	'545' : 'Computer',
	'546' : 'Green Bean Bag',
	'547' : 'TV',
	'548' : 'Fridge',
	'549' : 'Stove',
	'550' : 'Lamp-Arco',
	'551' : 'Plant-Wave',
	'552' : 'Plant-Bomb',
	'553' : 'Table-Lily',
	'554' : 'Table-Shroom',
	'555' : 'Yellow Bean Bag',
	'556' : 'Orange Bean Bag',
	'557' : 'Blue Bean Bag',
	'558' : 'Christmas Tree A',
	'559' : 'Christmas Tree B',
	'560' : 'Christmas Tree C',
	'561' : 'Christmas Tree D',
	'562' : 'Christmas Tree E',
	'563' : 'Ginger Bread Man',
	'564' : 'Christmas Stocking',
	'565' : 'Snowflake',
	'566' : 'Candycane',
	'567' : 'Cactus Plant',
	'568' : 'Vintage Stereo',
	'569' : 'Gramaphone',
	'570' : 'Stump Stool',
	'571' : 'RedRockSofa',
	'572' : 'Triple Bush',
	'573' : 'Pod Plant',
	'574' : 'Armchair',
	'575' : 'Sedar Floor',
	'576' : 'Maple Floor',
	'577' : 'Coffee Machine',
	'578' : 'Striped Egg',
	'579' : 'Spotted Egg',
	'580' : 'Tea Pot',
	'581' : 'Juicer',
	'582' : 'Oven',
	'601' : 'Rug Seed',
	'602' : 'Table Seed',
	'603' : 'Sunny Painting',
	'604' : 'Chair Seed',
	'605' : 'Pethouse Seed',
	'607' : 'Houseplant Seed',
	'608' : 'Flower Painting',
	'609' : 'Fish Painting',
	'610' : 'ToadStool',
	'611' : 'Square Table',
	'612' : 'Turtle Lamp',
	'613' : 'Tiger Lamp',
	'614' : 'Stone Lamp',
	'615' : 'Flowers Seed',
	'616' : 'Stone Chair',
	'617' : 'Cuckoo Clock',
	'618' : 'Hat Stand',
	'619' : 'Bird Stand',
	'620' : 'Zebra Rug',
	'621' : 'Stereo',
	'622' : 'Speaker',
	'623' : 'Jukebox',
	'624' : 'Telescope',
	'625' : 'Lava Lamp',
	'626' : 'Round Chair',
	'627' : 'Wardrobe',
	'628' : 'Computer Seed',
	'629' : 'Beanbag Seed',
	'630' : 'Random Seed',
	'631' : 'Chairs Seed',
	'632' : 'Musicals Seed',
	'633' : 'Lamps Seed',
	'634' : 'Tables Seed',
	'635' : 'Pictures Seed',
	'636' : 'House Plants Seed',
	'637' : 'Stands Seed',
	'638' : 'Rugs Seed',
	'639' : 'Kitchen Seed',
	'640' : 'Foliage Seed',
	'641' : 'Wall Seed',
	'642' : 'Floor Seed',
	'643' : 'Background Seed',
	'644' : 'Roof Seed',
	'645' : 'Garden Plant Seed',
	'646' : 'Misc Prize Seed',
	'647' : 'Christmas Tree Seed',
	'648' : 'Snowman Seed',
	'800' : 'Golden Sun Fish',
	'801' : 'Blue Bubba Fish',
	'802' : 'Tiger-Lily Fish',
	'803' : 'Peachy Fish',
	'804' : 'Aquamak Fish',
	'805' : 'Golden Sun in fishtank',
	'806' : 'Blue Bubba in fishtank',
	'807' : 'Tiger-Lily in fishtank',
	'808' : 'Peachy in fishtank',
	'809' : 'Aquamak in fishtank',
	'900' : 'Gravestone 1',
	'901' : 'Gravestone 2',
	'902' : 'Gravestone 3',
	'903' : 'Statue of Onur',
	'904' : 'Valentine Card',
	'905' : 'Valentine Card',
	'906' : 'Valentine Card',
	'907' : 'Coffee Beans',
	'908' : 'Tea Leaf',
	'909' : 'Fruit',
	'910' : 'Chocolate'
};
