// JavaScript Document
<!--

// Stock availablity

var crash14medium = "(5-7 days)";

var crash15medium = "(5-7days)";

var crash16thin = "(5-7days)";
var crash16medium = "(5-7 days)";
var crash16powerful = "(5-7days)";

var crash17powerful = "(5-7 days)";
var crash17medium = "(5-7days)";

var crash18powerful = "(IN STOCK)";
var crash18medium = "(5-7 days)";



// Stock availablity

function fill_promos(){

// Start Promo left 1

document.getElementById('cymbals_meinl_classics_14crash_price').innerHTML = "66 "; // Price
document.getElementById('cymbals_meinl_classics_14crash_image').src = "img/meinl_cymbals/cymbals_meinl_classics_crash.jpg"; // Image file location
document.getElementById('cymbals_meinl_classics_14crash_details').innerHTML = "Broad frequency spectrum with medium sustain. Washy and bright."; // Product details
document.getElementById('cymbals_meinl_classics_14crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_meinl_classics_crash_14_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo left 1

// Start Promo middle 2

document.getElementById('cymbals_meinl_classics_15crash_price').innerHTML = "75 "; // Price
document.getElementById('cymbals_meinl_classics_15crash_image').src = "img/meinl_cymbals/cymbals_meinl_classics_crash.jpg"; // Image file location
document.getElementById('cymbals_meinl_classics_15crash_details').innerHTML = "Broad frequency spectrum with medium sustain. Washy and bright."; // Product details
document.getElementById('cymbals_meinl_classics_15crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_meinl_classics_crash_15_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo middle 2

// Start Promo right 3

document.getElementById('cymbals_meinl_classics_16crash_price').innerHTML = "85 "; // Price
document.getElementById('cymbals_meinl_classics_16crash_image').src = "img/meinl_cymbals/cymbals_meinl_classics_crash.jpg"; // Image file location
document.getElementById('cymbals_meinl_classics_16crash_details').innerHTML = "Broad frequency spectrum with medium sustain. Washy and bright."; // Product details
document.getElementById('cymbals_meinl_classics_16crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_meinl_classics_crash_16_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo right 3

// Start Promo left 1

document.getElementById('cymbals_meinl_classics_17crash_price').innerHTML = "96 "; // Price
document.getElementById('cymbals_meinl_classics_17crash_image').src = "img/meinl_cymbals/cymbals_meinl_classics_crash.jpg"; // Image file location
document.getElementById('cymbals_meinl_classics_17crash_details').innerHTML = "Broad frequency spectrum with medium sustain. Washy and bright."; // Product details
document.getElementById('cymbals_meinl_classics_17crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_meinl_classics_crash_17_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo left 1

// Start Promo middle 2

document.getElementById('cymbals_meinl_classics_18crash_price').innerHTML = "107 "; // Price
document.getElementById('cymbals_meinl_classics_18crash_image').src = "img/meinl_cymbals/cymbals_meinl_classics_crash.jpg"; // Image file location
document.getElementById('cymbals_meinl_classics_18crash_details').innerHTML = "Broad frequency spectrum with medium sustain. Washy and bright."; // Product details
document.getElementById('cymbals_meinl_classics_18crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_meinl_classics_crash_18_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo middle 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_meinl_classics_14crash_selector><option value=medium>Classics Medium Crash "+crash14medium+"</option></select>");
	}
  if (x==15){
	document.write("<select id=cymbals_meinl_classics_15crash_selector><option value=medium>Classics Medium Crash "+crash15medium+"</option></select>");
	}
  if (x==16){
	document.write("<select id=cymbals_meinl_classics_16crash_selector><option value=thin>Classics Thin Crash "+crash16thin+"</option><option value=medium>Classics Medium Crash "+crash16medium+"</option><option value=powerful>Classics Powerful Crash "+crash16powerful+"</option></select>");
	}
	if (x==17){
	document.write("<select id=cymbals_meinl_classics_17crash_selector><option value=medium>Classics Medium Crash "+crash17medium+"</option><option value=powerful>Classics Powerful Crash "+crash17powerful+"</option></select>");
	}
	if (x==18){
	document.write("<select id=cymbals_meinl_classics_18crash_selector><option value=medium>Classics Medium Crash "+crash18medium+"</option><option value=powerful>Classics Powerful Crash "+crash18powerful+"</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_meinl_classics_14crash_landing').href;
	var b = document.getElementById('cymbals_meinl_classics_14crash_selector').options[document.getElementById('cymbals_meinl_classics_14crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==15){
	var a = document.getElementById('cymbals_meinl_classics_15crash_landing').href;
	var b = document.getElementById('cymbals_meinl_classics_15crash_selector').options[document.getElementById('cymbals_meinl_classics_15crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==16){
	var a = document.getElementById('cymbals_meinl_classics_16crash_landing').href;
	var b = document.getElementById('cymbals_meinl_classics_16crash_selector').options[document.getElementById('cymbals_meinl_classics_16crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==17){
	var a = document.getElementById('cymbals_meinl_classics_17crash_landing').href;
	var b = document.getElementById('cymbals_meinl_classics_17crash_selector').options[document.getElementById('cymbals_meinl_classics_17crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==18){
	var a = document.getElementById('cymbals_meinl_classics_18crash_landing').href;
	var b = document.getElementById('cymbals_meinl_classics_18crash_selector').options[document.getElementById('cymbals_meinl_classics_18crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}

}

// ********* NEW modifiers coding DO NOT CHANGE ABOVE *********

//-->

