
jQuery.flash = {
	
	update:function(url) {
		$('#products-flash')[0].update(url);
	}
	
};


$().ready(function() {
	var data = "a%3A1%3A%7Bs%3A3%3A%22xml%22%3Bs%3A85%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fassets%2Fxml%2Fproducts%2Fflash%2Fgallery.php%3Fcategory_id%3D1%22%3B%7D";
	var flash;

	flash = new SWFObject("http://www.ruthless-toothless.com/assets/swf/products.swf", 'products-flash', 995, 508, '8', '#000000');
	flash.addParam('allowScriptAccess', 'always');
	flash.addParam('allowFullScreen', 'true');
	flash.addParam('wmode', 'transparent');
	flash.addVariable('data', data);
	flash.write($('#products .flash')[0]);

	data = "a%3A1%3A%7Bi%3A0%3Ba%3A8%3A%7Bs%3A11%3A%22category_id%22%3Bs%3A1%3A%221%22%3Bs%3A13%3A%22collection_id%22%3Bs%3A1%3A%221%22%3Bs%3A5%3A%22title%22%3Bs%3A16%3A%22iPhone+3G+%26+3Gs+%22%3Bs%3A9%3A%22permalink%22%3Bs%3A13%3A%22iphone-3g-3gs%22%3Bs%3A8%3A%22position%22%3Bs%3A1%3A%221%22%3Bs%3A3%3A%22url%22%3Bs%3A57%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fproducts%2F%2Fiphone-3g-3gs%22%3Bs%3A8%3A%22products%22%3Ba%3A5%3A%7Bi%3A0%3Ba%3A13%3A%7Bs%3A10%3A%22product_id%22%3Bs%3A1%3A%221%22%3Bs%3A11%3A%22category_id%22%3Bs%3A1%3A%221%22%3Bs%3A5%3A%22title%22%3Bs%3A21%3A%22Toothians+Phone+Cover%22%3Bs%3A5%3A%22price%22%3Bs%3A5%3A%2220.00%22%3Bs%3A3%3A%22url%22%3Bs%3A98%3A%22https%3A%2F%2Fstore.ruthless-toothless.com%2Faccessories%2Fphone-covers%2Fpre-order-toothian-iphone-cover.html%22%3Bs%3A9%3A%22thumbnail%22%3Bs%3A74%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-Toothians4.png%22%3Bs%3A15%3A%22thumbnail_width%22%3Bs%3A2%3A%2287%22%3Bs%3A16%3A%22thumbnail_height%22%3Bs%3A3%3A%22160%22%3Bs%3A5%3A%22image%22%3Bs%3A74%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-Toothians3.png%22%3Bs%3A11%3A%22image_width%22%3Bs%3A3%3A%22272%22%3Bs%3A12%3A%22image_height%22%3Bs%3A3%3A%22500%22%3Bs%3A9%3A%22permalink%22%3Bs%3A21%3A%22toothians-phone-cover%22%3Bs%3A8%3A%22position%22%3Bs%3A1%3A%221%22%3B%7Di%3A1%3Ba%3A13%3A%7Bs%3A10%3A%22product_id%22%3Bs%3A1%3A%222%22%3Bs%3A11%3A%22category_id%22%3Bs%3A1%3A%221%22%3Bs%3A5%3A%22title%22%3Bs%3A17%3A%22Maiko+Phone+Cover%22%3Bs%3A5%3A%22price%22%3Bs%3A5%3A%2220.00%22%3Bs%3A3%3A%22url%22%3Bs%3A95%3A%22https%3A%2F%2Fstore.ruthless-toothless.com%2Faccessories%2Fphone-covers%2Fpre-order-maiko-iphone-cover.html%22%3Bs%3A9%3A%22thumbnail%22%3Bs%3A70%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-Maiko4.png%22%3Bs%3A15%3A%22thumbnail_width%22%3Bs%3A2%3A%2287%22%3Bs%3A16%3A%22thumbnail_height%22%3Bs%3A3%3A%22160%22%3Bs%3A5%3A%22image%22%3Bs%3A70%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-Maiko3.png%22%3Bs%3A11%3A%22image_width%22%3Bs%3A3%3A%22272%22%3Bs%3A12%3A%22image_height%22%3Bs%3A3%3A%22500%22%3Bs%3A9%3A%22permalink%22%3Bs%3A17%3A%22maiko-phone-cover%22%3Bs%3A8%3A%22position%22%3Bs%3A1%3A%222%22%3B%7Di%3A2%3Ba%3A13%3A%7Bs%3A10%3A%22product_id%22%3Bs%3A1%3A%225%22%3Bs%3A11%3A%22category_id%22%3Bs%3A1%3A%221%22%3Bs%3A5%3A%22title%22%3Bs%3A19%3A%22KoiFish+Phone+Cover%22%3Bs%3A5%3A%22price%22%3Bs%3A5%3A%2220.00%22%3Bs%3A3%3A%22url%22%3Bs%3A88%3A%22https%3A%2F%2Fstore.ruthless-toothless.com%2Faccessories%2Fphone-covers%2Fbaby-koi-iphone-cover.html%22%3Bs%3A9%3A%22thumbnail%22%3Bs%3A72%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-KoiFIsh5.png%22%3Bs%3A15%3A%22thumbnail_width%22%3Bs%3A2%3A%2287%22%3Bs%3A16%3A%22thumbnail_height%22%3Bs%3A3%3A%22160%22%3Bs%3A5%3A%22image%22%3Bs%3A72%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-KoiFIsh3.png%22%3Bs%3A11%3A%22image_width%22%3Bs%3A3%3A%22272%22%3Bs%3A12%3A%22image_height%22%3Bs%3A3%3A%22500%22%3Bs%3A9%3A%22permalink%22%3Bs%3A19%3A%22koifish-phone-cover%22%3Bs%3A8%3A%22position%22%3Bs%3A1%3A%223%22%3B%7Di%3A3%3Ba%3A13%3A%7Bs%3A10%3A%22product_id%22%3Bs%3A1%3A%226%22%3Bs%3A11%3A%22category_id%22%3Bs%3A1%3A%221%22%3Bs%3A5%3A%22title%22%3Bs%3A27%3A%22Skull+N%27+Bones+iPhone+Cover%22%3Bs%3A5%3A%22price%22%3Bs%3A5%3A%2220.00%22%3Bs%3A3%3A%22url%22%3Bs%3A95%3A%22https%3A%2F%2Fstore.ruthless-toothless.com%2Faccessories%2Fphone-covers%2Fpre-order-skull-iphone-cover.html%22%3Bs%3A9%3A%22thumbnail%22%3Bs%3A77%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-SkullsNBones4.png%22%3Bs%3A15%3A%22thumbnail_width%22%3Bs%3A2%3A%2287%22%3Bs%3A16%3A%22thumbnail_height%22%3Bs%3A3%3A%22160%22%3Bs%3A5%3A%22image%22%3Bs%3A77%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-SkullsNBones3.png%22%3Bs%3A11%3A%22image_width%22%3Bs%3A3%3A%22272%22%3Bs%3A12%3A%22image_height%22%3Bs%3A3%3A%22500%22%3Bs%3A9%3A%22permalink%22%3Bs%3A26%3A%22skull-n-bones-iphone-cover%22%3Bs%3A8%3A%22position%22%3Bs%3A1%3A%224%22%3B%7Di%3A4%3Ba%3A13%3A%7Bs%3A10%3A%22product_id%22%3Bs%3A1%3A%227%22%3Bs%3A11%3A%22category_id%22%3Bs%3A1%3A%221%22%3Bs%3A5%3A%22title%22%3Bs%3A19%3A%22Rinjin+iPhone+Cover%22%3Bs%3A5%3A%22price%22%3Bs%3A5%3A%2220.00%22%3Bs%3A3%3A%22url%22%3Bs%3A86%3A%22https%3A%2F%2Fstore.ruthless-toothless.com%2Faccessories%2Fphone-covers%2Frinjin-iphone-cover.html%22%3Bs%3A9%3A%22thumbnail%22%3Bs%3A71%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-Rinjin4.png%22%3Bs%3A15%3A%22thumbnail_width%22%3Bs%3A2%3A%2287%22%3Bs%3A16%3A%22thumbnail_height%22%3Bs%3A3%3A%22160%22%3Bs%3A5%3A%22image%22%3Bs%3A71%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fadmin%2F..%2Fassets%2Fmedia%2FiP2-Rinjin3.png%22%3Bs%3A11%3A%22image_width%22%3Bs%3A3%3A%22272%22%3Bs%3A12%3A%22image_height%22%3Bs%3A3%3A%22500%22%3Bs%3A9%3A%22permalink%22%3Bs%3A19%3A%22rinjin-iphone-cover%22%3Bs%3A8%3A%22position%22%3Bs%3A1%3A%225%22%3B%7D%7Ds%3A3%3A%22xml%22%3Bs%3A85%3A%22http%3A%2F%2Fwww.ruthless-toothless.com%2Fassets%2Fxml%2Fproducts%2Fflash%2Fgallery.php%3Fcategory_id%3D1%22%3B%7D%7D";

	flash = new SWFObject("http://www.ruthless-toothless.com/assets/swf/products-categories.swf", 'products-categories', 963, 262, '8', '#181818');
	flash.addParam('allowScriptAccess', 'always');
	flash.addParam('allowFullScreen', 'true');
	flash.addParam('wmode', 'transparent');
	flash.addVariable('data', data);
	flash.write($('#products .categories')[0]);
});