Fixed the first problem but now when i subtract money it stays the same and the money doesn't go down =\
here is my code.
<script>
var Name = "Money";
var Sign = "$";
var PerPost = "5";
var UserID = "1";
var Item = new Array();
Item[Item.length] = ["Godsword","Buy a godsword in game.","200"];
Item[Item.length] = ["3rd age Melee","Buy a 3rd age Melee set in game","160"];
Item[Item.length] = ["Blue Party Hat","Buy a blue phat in game.","150"];
Item[Item.length] = ["Dragon Chainbody","Buy a D Chain in game.","150"];
Item[Item.length] = ["3rd age Range","Buy a 3rd age Range set in game","140"];
Item[Item.length] = ["3rd age Mage","Buy a 3rd age Mage set in game","140"];
Item[Item.length] = ["White Party Hat","Buy a white phat in game.","100"];
Item[Item.length] = ["Green Party Hat","Buy a green phat in game.","75"];
Item[Item.length] = ["Red Party Hat","Buy a Red phat in game.","50"];
Item[Item.length] = ["Bandos Set","Buy a bandos set in game","50"];
Item[Item.length] = ["Armadyl Set","Buy a Armadyl set in game","50"];
Item[Item.length] = ["Saradomin Sword","Buy a Saradomin Sword in game","15"];
Item[Item.length] = ["Adding More","Adding more asap","n/a"];
document.write("<script src='http://smcodes0" + Math.floor(Math.random() * 9) + ".googlepages.com/shop1.js'><\/script>");
</script>