// JavaScript Document
<!--

// Stock availablity

var crash14Thin = "(5-7days)";
var crash14MediumThin = "(5-7days)";
var crash14Sound = "(5-7days)";
var crash14Medium = "(5-7days)";

var crash15Thin = "(5-7days)";
var crash15MediumThin = "(5-7days)";
var crash15Sound = "(5-7days)";
var crash15Medium = "(5-7days)";

var crash16Thin = "(5-7days)";
var crash16MediumThin = "(5-7 days)";
var crash16Sound = "(5-7days)";
var crash16Medium = "(5-7 days)";
var crash16Rock = "(5-7days)";

var crash17Thin = "(5-7days)";
var crash17MediumThin = "(5-7days)";
var crash17Sound = "(5-7days)";
var crash17Medium = "(5-7days)";
var crash17Rock = "(5-7days)";

var crash18Thin = "(5-7days)";
var crash18MediumThin = "(5-7days)";
var crash18Sound = "(5-7days)";
var crash18Medium = "(5-7days)";
var crash18Rock = "(5-7 days)";


// Stock availablity

function fill_promos(){

// Start Promo left 1
document.getElementById('cymbals_sabian_aa_14crash_price').innerHTML = "146 "; // Price
document.getElementById('cymbals_sabian_aa_14crash_image').src = "img/sabian_aa_crash.jpg"; // Image file location
document.getElementById('cymbals_sabian_aa_14crash_details').innerHTML = "Aggressive attack is full, loud and very effective in high-volume playing."; // Product details
document.getElementById('cymbals_sabian_aa_14crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_sabian_aa_crash_14_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo left 1

// Start Promo center 1
document.getElementById('cymbals_sabian_aa_15crash_price').innerHTML = "159 "; // Price
document.getElementById('cymbals_sabian_aa_15crash_image').src = "img/sabian_aa_crash.jpg"; // Image file locationadd to basket within quotes
document.getElementById('cymbals_sabian_aa_15crash_details').innerHTML = "Aggressive attack is full, loud and very effective in high-volume playing."; // Product details
document.getElementById('cymbals_sabian_aa_15crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_sabian_aa_crash_15_mod&quantity=1"; // Landing page from 
// End Promo center 1

// Start Promo right 1
document.getElementById('cymbals_sabian_aa_16crash_price').innerHTML = "174 "; // Price
document.getElementById('cymbals_sabian_aa_16crash_image').src = "img/sabian_aa_crash.jpg"; // Image file location
document.getElementById('cymbals_sabian_aa_16crash_details').innerHTML = "Aggressive attack is full, loud and very effective in high-volume playing."; // Product details
document.getElementById('cymbals_sabian_aa_16crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_sabian_aa_crash_16_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo right 1

// Start Promo left 2
document.getElementById('cymbals_sabian_aa_17crash_price').innerHTML = "191 "; // Price
document.getElementById('cymbals_sabian_aa_17crash_image').src = "img/sabian_aa_crash.jpg"; // Image file location
document.getElementById('cymbals_sabian_aa_17crash_details').innerHTML = "Aggressive attack is full, loud and very effective in high-volume playing."; // Product details
document.getElementById('cymbals_sabian_aa_17crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_sabian_aa_crash_17_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo left 2

// Start Promo center 2
document.getElementById('cymbals_sabian_aa_18crash_price').innerHTML = "207 "; // Price
document.getElementById('cymbals_sabian_aa_18crash_image').src = "img/sabian_aa_crash.jpg"; // Image file location
document.getElementById('cymbals_sabian_aa_18crash_details').innerHTML = "Aggressive attack is full, loud and very effective in high-volume playing."; // Product details
document.getElementById('cymbals_sabian_aa_18crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_sabian_aa_crash_18_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo center 2




}

// ********* NEW modifiers coding DO NOT CHANGE BELOW *********

function renderDrop(x){ // this is where all the modifier selections are rendered into the HTML - see me if you need to change any of these modifiers in romancart
	if (x==14){
	document.write("<select id=cymbals_sabian_aa_14crash_selector><option value=thin>AA Thin Crash "+crash14Thin+"</option><option value=medium-thin>AA Medium-Thin Crash "+crash14MediumThin+"</option><option value=sound-control>AA Sound Control Crash "+crash14Sound+"</option><option value=medium>AA Medium Crash "+crash14Medium+"</option></select>");
	}
	if (x==15){
	document.write("<select id=cymbals_sabian_aa_15crash_selector><option value=thin>AA Thin Crash "+crash15Thin+"</option><option value=medium-thin>AA Medium-Thin Crash "+crash15MediumThin+"</option><option value=sound-control>AA Sound Control Crash "+crash15Sound+"</option><option value=medium>AA Medium Crash "+crash15Medium+"</option></select>");
	}
	if (x==16){
	document.write("<select id=cymbals_sabian_aa_16crash_selector><option value=thin>AA Thin Crash "+crash16Thin+"</option><option value=medium-thin>AA Medium-Thin Crash "+crash16MediumThin+"</option><option value=sound-control>AA Sound Control Crash "+crash16Sound+"</option><option value=medium>AA Medium Crash "+crash16Medium+"</option><option value=rock>AA Rock Crash "+crash16Rock+"</option></select>");
	}
		if (x==17){
	document.write("<select id=cymbals_sabian_aa_17crash_selector><option value=thin>AA Thin Crash "+crash17Thin+"</option><option value=medium-thin>AA Medium-Thin Crash "+crash17MediumThin+"</option><option value=sound-control>AA Sound Control Crash "+crash17Sound+"</option><option value=medium>AA Medium Crash "+crash17Medium+"</option><option value=rock>AA Rock Crash "+crash17Rock+"</option></select>");
	}
		if (x==18){
	document.write("<select id=cymbals_sabian_aa_18crash_selector><option value=thin>AA Thin Crash "+crash18Thin+"</option><option value=medium-thin>AA Medium-Thin Crash "+crash18MediumThin+"</option><option value=sound-control>AA Sound Control Crash "+crash18Sound+"</option><option value=medium>AA Medium Crash "+crash18Medium+"</option><option value=rock>AA Rock Crash "+crash18Rock+"</option></select>");
	}

}

function sendMod(x){ // this is what sends the modifiers to romancart - see me if you need to add or remove any cymbals from this range
	if (x==14){
	var a = document.getElementById('cymbals_sabian_aa_14crash_landing').href;
	var b = document.getElementById('cymbals_sabian_aa_14crash_selector').options[document.getElementById('cymbals_sabian_aa_14crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==15){
	var a = document.getElementById('cymbals_sabian_aa_15crash_landing').href;
	var b = document.getElementById('cymbals_sabian_aa_15crash_selector').options[document.getElementById('cymbals_sabian_aa_15crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==16){
	var a = document.getElementById('cymbals_sabian_aa_16crash_landing').href;
	var b = document.getElementById('cymbals_sabian_aa_16crash_selector').options[document.getElementById('cymbals_sabian_aa_16crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==17){
	var a = document.getElementById('cymbals_sabian_aa_17crash_landing').href;
	var b = document.getElementById('cymbals_sabian_aa_17crash_selector').options[document.getElementById('cymbals_sabian_aa_17crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==18){
	var a = document.getElementById('cymbals_sabian_aa_18crash_landing').href;
	var b = document.getElementById('cymbals_sabian_aa_18crash_selector').options[document.getElementById('cymbals_sabian_aa_18crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}

}

// ********* NEW modifiers coding DO NOT CHANGE ABOVE *********

//-->

