/*

Products Database

Copyright Gordon Taylor Music Ltd.

*/

var gt = {
	products: {
		guitars: {
			Epiphone: [
				['Semi Hollow Dot','549','Red','','DSCF4211'],
				['SG Special','289','Black, White','','DSCF4212'],
				['SG Special','249','Red','','DSCF4214'],
				['Les Paul 100','349','Black, Sun-burst','','DSCF4218'],
				['Les Paul Studio','349','Black','','DSCF4216'],
				['Les Paul Standard','769','Brown','','DSCF4221'],
				['Les Paul Standard','599','Sun-Burst','','DSCF4225'],
				['Les Paul Lynyrd Skynyrd Special 30th Anniversary','699','Gold','','DSCF4222'],
				['Explorer','699','Yellow','','DSCF4223'],
 				['Les Paul Special II', '229', 'Sun-Burst, Tobacco-Burst, Wine Red, Black','','DSCF4226'],
				['Fat 2 10s', '159','Tobacco Burst','','DSCF4227'],
				['Les Paul Special II(Lefty)','249','Tobacco Burst','','DSCF4226']
				],

			Kramer: [
				['Focus','159','Red','','DSCF4228'],
				['Pacer','159','Black','','DSCF4230']
				],

			Hammer: [
				['Slammer','139','Black','','DSCF4229'],
				]
		},

		basses: {
			Epiphone: [
				['Embassy Special IV','249','Red, Black','','DSCF4233'],
				['Embassy Standard IV','399','Black','','DSCF4235'],
				['Embassy Special V(5 String)','479','Black','','DSCF4238']
				],

			BeaverCreek: [
				['Acoustic Bass','495','Natural','','DSCF4239']
				]
		},

		acoustics: {
			Epiphone: [
				['Dove','399','Natural','','DSCF4244'],
				['AJ','219','Natural','','DSCF4241'],
				['DR','249','Natural','','DSCF4242']
				],

			Ovation: [
				['Celebrity','499','Natural, Red','','']
				],

			Jasmine: [
				['S-45k','249','Natural','','']
				],

			BeaverCreek: [
				['BCTD101L','229','Natural','','DSCF4249']
				],

			Montana: [
				['EM-105CCS','179','Red Flame','','DSCF4250'],
				['MT-D103-SB','499','Black, Red Burst','','DSCF4253']
				],

			Renaissance: [
				['RG','269','Black, Red Burst, Natural','','DSCF4255'],
				['RG','179','Natural','',''],
				['7/8th Size RG7560','159','Blue, Black, Black/Red Burst, Natural','','DSCF4258']
				],

			Valencia: [
				['CG160T','89','Red, Natural','','DSCF4256']
				],

			Torino: [
				['C61T','139','Natural','','DSCF4260']
				]
		},

		Amps: {
			Laney: [
				['LX12','99','','DSCF4315'],
				['LX20R','170','','DSCF4320'],
				['LX35R','225','','DSCF4320'],
				['LX65R','329','',''],
				['LX200','225','',''],
				['LX350','275','',''],
				['TFX3','699','Regular Price: $1,049.00','DSCF4324'],
				['MXD120 Twin','579','Regular Price: $999.00','DSCF4322'],
				['LC 50II','999','Regular Price: $1,295.00','']
				],

			Traynor: [
				['DG10','99','','DSCF4319'],
				['DG15R','159','','DSCF4316'],
				['Custom Special 150','999','','DSCF4318'],
				['Custom Valve 20','899','','DSCF4325']
 			]
		},

		BassAmps: {
			Laney: [
				['RB1','144','','DSCF4328']
			],

			Yorkville: [
				['100B','499','Regular Price: $549.00','DSCF4326'],
				['200B','599','Regular Price $649.00','DSCF4327']
			],

			Traynor: [
				['Bass Mate 10','95','',''],
				['Bass Mate 25','139','','DSCF4329'] 
			],

		},

		orchestral: {
			RoyBenson: [
				['Flute - FL202E','339',''],
				['Clarinet - CB217','329',''],
				['Trumpet - TR202','339',''],
				['Alto Saxophone - AS101','729','']
			]
		},

		drums: {
			CB: [
				['SP Series','549','Green, Black','Regular Price: $649.00<br />Full Drum Package',''],
				['CB Junior','369','Red, Black','Regular Price: $449.00<br />Child\'s introductory kit','']
			],

			Premier: [
				['Club Fusion Kit','769','Blue','Regular Price: $1,069.00','']
			]
		},

		pianos: {
			Yamaha: [
				['DGX-630','1099',''],
				['E213','149',''],
				['E313','219',''],
				['E413','319',''],
				['DGX-220','419','']
				]
		},

	},

	printProducts: function() {
		var content = document.getElementById("contentBox");
		for(var i in this.products) {
			if(arguments[0] == i) {
				brands = this.products[i];
				for(r in brands) { 
					var all = brands[r];
					if(all.length != 0) {
						document.write("<span style='font-size: 12pt'>" + r + "</span><span style='border-bottom: #ad0000 1px dashed; width: 90%'></span><br />");
						for(a in all) {
							document.write('<table cellspacing="0" cellpadding="0"><tr><td style="padding-left: 3px"><a href="/images/gear/'+ all[a][4] + '.jpg" target="_blank"><img style="border: #ad0000 3px solid" src="http://i417.photobucket.com/albums/pp258/gordontaylormusic/'+ all[a][4] + '.jpg" width="115.2" height="153.6" /></a></td><td style="vertical-align: top; padding-left: 3px"><b><span style="font-size: 11pt">' + all[a][0] + ' - $' + all[a][1] + '.00</b></span><span style="border-bottom: #ad0000 1px dashed; width: 90%"></span><br />' + all[a][3] + '<br /> Comes in: ' + all[a][2] + '</td></tr></table><span style="border-bottom: #ad0000 1px dashed; width: 90%"></span><br /><br />');
						}
					}	
				}
			}
		}
	},

	printAmps: function() {
		var content = document.getElementById("contentBox");
		for(var i in this.products) {
			if(arguments[0] == i) {
				brands = this.products[i];
				for(r in brands) { 
					var all = brands[r];
					if(all.length != 0) {
						document.write("<span style='font-size: 12pt'>" + r + "</span><span style='border-bottom: #ad0000 1px dashed; width: 90%'></span><br />");
						for(a in all) {
							document.write('<table cellspacing="0" cellpadding="0"><tr><td style="padding-left: 3px"><a href="/images/gear/'+ all[a][3] + '.jpg" target="_blank"><img style="border: #ad0000 3px solid" src="http://i417.photobucket.com/albums/pp258/gordontaylormusic/'+ all[a][3] + '.jpg" width="115.2" height="153.6" /></a></td><td style="vertical-align: top; padding-left: 3px"><b><span style="font-size: 11pt">' + all[a][0] + ' - $' + all[a][1] + '.00</b></span><span style="border-bottom: #ad0000 1px dashed; width: 90%"></span><br />' + all[a][2] + '</td></tr></table><span style="border-bottom: #ad0000 1px dashed; width: 90%"></span><br /><br />');
						}
					}	
				}
			}
		}
	},

	printOther: function() {
		var content = document.getElementById("contentBox");
		for(var i in this.products) {
			if(arguments[0] == i) {
				brands = this.products[i];
				for(r in brands) { 
					var all = brands[r];
					if(all.length != 0) {
						document.write("<span style='font-size: 12pt'>" + r + "</span><span style='border-bottom: #ad0000 1px dashed; width: 90%'></span><br />");
						for(a in all) {
							document.write('<table cellspacing="0" cellpadding="0"><tr><td style="vertical-align: top; padding-left: 3px"><b><span style="font-size: 11pt">' + all[a][0] + ' - $' + all[a][1] + '.00</b></span><span style="border-bottom: #ad0000 1px dashed; width: 90%"></span><br />' + all[a][2] + '</td></tr></table><span style="border-bottom: #ad0000 1px dashed; width: 90%"></span><br /><br />');
						}
					}	
				}
			}
		}
	}
}
