// JavaScript Document
<!--

// Stock availablity

var crash14Dark = " (5-7 days)";
var crash14Fast = " (5-7days)";

var crash15Dark = " (5-7 days)";
var crash15Fast = " (5-7days)";
var crash15Hybrid = " (5-7days)";

var crash16Dark = " (IN STOCK)";
var crash16Fast = " (5-7days)";
var crash16SessionCrash = " (5-7days)";
var crash16Hybrid = " (5-7days)";

var crash17Dark = " (5-7 days)";
var crash17Fast = " (5-7 days)";
var crash17Hybrid = " (5-7 days)";

var crash18Dark = " (IN STOCK)";
var crash18Fast = " (5-7days)";
var crash18SessionCrash = "(5-7days)";
var crash18Hybrid = " (5-7days)";

var crash19Dark = " (5-7days)";
var crash19Hybrid = " (5-7days)";


// Stock availablity


function fill_promos(){

// Start Promo 
document.getElementById('cymbals_zildjian_k_custom_14crash_price').innerHTML = "190 "; // Price
document.getElementById('cymbals_zildjian_k_custom_14crash_image').src = "img/zildjian_kcustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_k_custom_14crash_details').innerHTML = ""; // Product details
document.getElementById('cymbals_zildjian_k_custom_14crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_k_custom_crash_14_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_k_custom_15crash_price').innerHTML = "206 "; // Price
document.getElementById('cymbals_zildjian_k_custom_15crash_image').src = "img/zildjian_kcustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_k_custom_15crash_details').innerHTML = ""; // Product details
document.getElementById('cymbals_zildjian_k_custom_15crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_k_custom_crash_15_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_k_custom_16crash_price').innerHTML = "226 "; // Price
document.getElementById('cymbals_zildjian_k_custom_16crash_image').src = "img/zildjian_kcustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_k_custom_16crash_details').innerHTML = ""; // Product details
document.getElementById('cymbals_zildjian_k_custom_16crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_k_custom_crash_16_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo

// Start Promo 
document.getElementById('cymbals_zildjian_k_custom_17crash_price').innerHTML = "256 "; // Price
document.getElementById('cymbals_zildjian_k_custom_17crash_image').src = "img/zildjian_kcustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_k_custom_17crash_details').innerHTML = ""; // Product details
document.getElementById('cymbals_zildjian_k_custom_17crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_k_custom_crash_17_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo

// Start Promo 
document.getElementById('cymbals_zildjian_k_custom_18crash_price').innerHTML = "264 "; // Price
document.getElementById('cymbals_zildjian_k_custom_18crash_image').src = "img/zildjian_kcustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_k_custom_18crash_details').innerHTML = ""; // Product details
document.getElementById('cymbals_zildjian_k_custom_18crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_k_custom_crash_18_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo

// Start Promo 
document.getElementById('cymbals_zildjian_k_custom_19crash_price').innerHTML = "282 "; // Price
document.getElementById('cymbals_zildjian_k_custom_19crash_image').src = "img/zildjian_kcustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_k_custom_19crash_details').innerHTML = ""; // Product details
document.getElementById('cymbals_zildjian_k_custom_19crash_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_k_custom_crash_19&quantity=1"; // Landing page from add to basket within quotes
// End Promo


}

// ********* 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_zildjian_k_custom_14crash_selector><option value=dark>K Custom Dark Crash"+crash14Dark+"</option><option value=fast>K Custom Fast Crash"+crash14Fast+"</option></select>");
	}
	if (x==15){
	document.write("<select id=cymbals_zildjian_k_custom_15crash_selector><option value=dark>K Custom Dark Crash"+crash15Dark+"</option><option value=fast>K Custom Fast Crash"+crash15Fast+"</option><option value=hybrid>K Custom Hybrid Crash"+crash15Hybrid+"</option></select>");
	}
	if (x==16){
	document.write("<select id=cymbals_zildjian_k_custom_16crash_selector><option value=dark>K Custom Dark Crash"+crash16Dark+"</option><option value=fast>K Custom Fast Crash"+crash16Fast+"</option><option value=session>K Custom Session Crash"+crash16SessionCrash+"</option><option value=hybrid>K Custom Hybrid Crash"+crash16Hybrid+"</option></select>");
	}
	if (x==17){
	document.write("<select id=cymbals_zildjian_k_custom_17crash_selector><option value=dark>K Custom Dark Crash"+crash17Dark+"</option><option value=fast>K Custom Fast Crash"+crash17Fast+"</option><option value=hybrid>K Custom Hybrid Crash"+crash17Hybrid+"</option></select>");
	}
	if (x==18){
	document.write("<select id=cymbals_zildjian_k_custom_18crash_selector><option value=dark>K Custom Dark Crash"+crash18Dark+"</option><option value=fast>K Custom Fast Crash"+crash18Fast+"</option><option value=session>K Custom Session Crash"+crash18SessionCrash+"</option><option value=hybrid>K Custom Hybrid Crash"+crash18Hybrid+"</option>></select>");
	}
    if (x==19){
	document.write("<select id=cymbals_zildjian_k_custom_19crash_selector><option value=dark>K Custom Dark Crash"+crash19Dark+"</option><option value=hybrid>K Custom Hybrid Crash"+crash19Hybrid+"</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_zildjian_k_custom_14crash_landing').href;
	var b = document.getElementById('cymbals_zildjian_k_custom_14crash_selector').options[document.getElementById('cymbals_zildjian_k_custom_14crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==15){
	var a = document.getElementById('cymbals_zildjian_k_custom_15crash_landing').href;
	var b = document.getElementById('cymbals_zildjian_k_custom_15crash_selector').options[document.getElementById('cymbals_zildjian_k_custom_15crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==16){
	var a = document.getElementById('cymbals_zildjian_k_custom_16crash_landing').href;
	var b = document.getElementById('cymbals_zildjian_k_custom_16crash_selector').options[document.getElementById('cymbals_zildjian_k_custom_16crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==17){
	var a = document.getElementById('cymbals_zildjian_k_custom_17crash_landing').href;
	var b = document.getElementById('cymbals_zildjian_k_custom_17crash_selector').options[document.getElementById('cymbals_zildjian_k_custom_17crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==18){
	var a = document.getElementById('cymbals_zildjian_k_custom_18crash_landing').href;
	var b = document.getElementById('cymbals_zildjian_k_custom_18crash_selector').options[document.getElementById('cymbals_zildjian_k_custom_18crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==19){
	var a = document.getElementById('cymbals_zildjian_k_custom_19crash_landing').href;
	var b = document.getElementById('cymbals_zildjian_k_custom_19crash_selector').options[document.getElementById('cymbals_zildjian_k_custom_19crash_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}

}

// ********* NEW modifiers coding DO NOT CHANGE ABOVE *********

//-->

