// JavaScript Document
<!--

// Stock availablity


var ride20Dark = " (5-7days)";
var ride20Medium = " (IN STOCK)";
var ride20FlatTop = " (5-7days)";
var ride20Dry = " (5-7days)";
var ride20DryLight = " (5-7days)";
var ride20Session = " (5-7days)";
var ride20Hybrid = " (5-7 days)";

var ride22Regular = " (5-7days)";
var ride22Dark = " (5-7 days)";
var ride22HiDef = " (5-7days)";
var ride22Medium = " (5-7days)";


// Stock availablity

function fill_promos(){

// Start Promo 
document.getElementById('cymbals_zildjian_k_custom_20ride_price').innerHTML = "302 "; // Price
document.getElementById('cymbals_zildjian_k_custom_20ride_image').src = "img/zildjian_kcustom_ride.jpg"; // Image file location
document.getElementById('cymbals_zildjian_k_custom_20ride_details').innerHTML = ""; // Product details
document.getElementById('cymbals_zildjian_k_custom_20ride_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_k_custom_ride_20_mod&quantity=1"; // Landing page from add to basket within quotes
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_k_custom_22ride_price').innerHTML = "357 "; // Price
document.getElementById('cymbals_zildjian_k_custom_22ride_image').src = "img/zildjian_kcustom_ride.jpg"; // Image file location
document.getElementById('cymbals_zildjian_k_custom_22ride_details').innerHTML = ""; // Product details
document.getElementById('cymbals_zildjian_k_custom_22ride_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_k_custom_ride_22_mod&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==20){
	document.write("<select id=cymbals_zildjian_k_custom_20ride_selector><option value=dark>K Custom Dark Ride"+ride20Dark+"</option><option value=medium>K Custom Medium Ride"+ride20Medium+"</option><option value=flat-top>K Custom Flat-Top Ride"+ride20FlatTop+"</option><option value=dry>K Custom Dry Ride"+ride20Dry+"</option><option value=dry-light>K Custom Dry-Light Ride"+ride20DryLight+"</option><option value=session>K Custom Session Ride"+ride20Session+"</option><option value=hybrid>K Custom Hybrid Ride"+ride20Hybrid+"</option></select>");
	}
	if (x==22){
	document.write("<select id=cymbals_zildjian_k_custom_22ride_selector><option value=regular>K Custom Regular Ride"+ride22Regular+"</option><option value=dark>K Custom Dark Ride"+ride22Dark+"</option><option value=hi-def>K Custom Hi-Def Ride"+ride22HiDef+"</option><option value=medium>K Custom Medium Ride"+ride22Medium+"</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==20){
	var a = document.getElementById('cymbals_zildjian_k_custom_20ride_landing').href;
	var b = document.getElementById('cymbals_zildjian_k_custom_20ride_selector').options[document.getElementById('cymbals_zildjian_k_custom_20ride_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==22){
	var a = document.getElementById('cymbals_zildjian_k_custom_22ride_landing').href;
	var b = document.getElementById('cymbals_zildjian_k_custom_22ride_selector').options[document.getElementById('cymbals_zildjian_k_custom_22ride_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	
}

// ********* NEW modifiers coding DO NOT CHANGE ABOVE *********

//-->

