// JavaScript Document


// Stock availablity

var crash14Regular = "(5-7 days)";
var crash14Fast = "(5-7 days)";

var crash15Regular = "(5-7 days)";
var crash15Fast = "(5-7days)";
var crash15Projection = "(5-7days)";
var crash15Medium = "(5-7days)";
var crash15Rezo = "(5-7 days)";

var crash16Regular = "(5-7 days)";
var crash16Fast = "(5-7days)";
var crash16Projection = "(5-7 days)";
var crash16Medium = "(5-7days)";
var crash16Rezo = "(5-7 days)";

var crash17Regular = "(5-7 days)";
var crash17Fast = "(5-7days)";
var crash17Projection = "(5-7 days)";
var crash17Medium = "(5-7days)";
var crash17Rezo = "(5-7 days)";

var crash18Regular = "(5-7 days)";
var crash18Fast = "(5-7 days)";
var crash18Projection = "(5-7 days)";
var crash18Medium = "(5-7days)";
var crash18Rezo = "(5-7 days)";

var crash19Regular = "(5-7 days)";
var crash19Fast = "(5-7days)";
var crash19Projection = "(5-7days)";
var crash19Rezo = "(5-7 days)";

var crash20Regular = "(5-7days)";
var crash20Fast = "(5-7days)";
var crash20Projection = "(5-7days)";
var crash20Rezo = "(5-7 days)";



// Stock availablity


function fill_promos(){


// Start Promo 
document.getElementById('cymbals_zildjian_custom_crash_14_price').innerHTML = "155 "; // Price
document.getElementById('cymbals_zildjian_custom_crash_14_image').src = "img/zildjian_acustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_14_details').innerHTML = "Natural, bright, not too high, not too low. Speaks very quickly. Beautiful warm undertones."; // Product details
document.getElementById('cymbals_zildjian_custom_crash_14_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_crash_14_mod&quantity=1"; // Landing page 
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_custom_crash_15_price').innerHTML = "170 "; // Price
document.getElementById('cymbals_zildjian_custom_crash_15_image').src = "img/zildjian_acustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_15_details').innerHTML = "Natural, bright, not too high, not too low. Speaks very quickly. Beautiful warm undertones. "; // Product details
document.getElementById('cymbals_zildjian_custom_crash_15_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_crash_15_mod&quantity=1"; // Landing page
// End Promo 

// Start Promo
document.getElementById('cymbals_zildjian_custom_crash_16_price').innerHTML = "190 "; // Price
document.getElementById('cymbals_zildjian_custom_crash_16_image').src = "img/zildjian_acustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_16_details').innerHTML = " Natural, bright, not too high, not too low. Speaks very quickly. Beautiful warm undertones. "; // Product details
document.getElementById('cymbals_zildjian_custom_crash_16_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_crash_16_mod&quantity=1"; // Landing page 
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_custom_crash_17_price').innerHTML = "209 "; // Price
document.getElementById('cymbals_zildjian_custom_crash_17_image').src = "img/zildjian_acustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_17_details').innerHTML = " Natural, bright, not too high, not too low. Speaks very quickly. Beautiful warm undertones. "; // Product details
document.getElementById('cymbals_zildjian_custom_crash_17_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_crash_17_mod&quantity=1"; // Landing page 
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_custom_crash_18_price').innerHTML = "223 "; // Price
document.getElementById('cymbals_zildjian_custom_crash_18_image').src = "img/zildjian_acustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_18_details').innerHTML = "Natural, bright, not too high, not too low. Speaks very quickly. Beautiful warm undertones.  "; // Product details
document.getElementById('cymbals_zildjian_custom_crash_18_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_crash_18_mod&quantity=1"; // Landing page 
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_custom_crash_19_price').innerHTML = "242 "; // Price
document.getElementById('cymbals_zildjian_custom_crash_19_image').src = "img/zildjian_acustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_19_details').innerHTML = "Natural, bright, not too high, not too low. Speaks very quickly. Beautiful warm undertones. "; // Product details
document.getElementById('cymbals_zildjian_custom_crash_19_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_crash_19_mod&quantity=1"; // Landing page 
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_custom_crash_20_price').innerHTML = "255 "; // Price
document.getElementById('cymbals_zildjian_custom_crash_20_image').src = "img/zildjian_acustom_crash.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_20_details').innerHTML = " Natural, bright, not too high, not too low. Speaks very quickly. Beautiful warm undertones. "; // Product details
document.getElementById('cymbals_zildjian_custom_crash_20_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_crash_20_mod&quantity=1"; // Landing page 
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_custom_crash_14efx_price').innerHTML = "155"; // Price
document.getElementById('cymbals_zildjian_custom_crash_14efx_image').src = "img/zildjian_acustom_efx.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_14efx_details').innerHTML = "This special effects Crash cymbal has a unique set of laser generated 'cut outs' that allow it to produce a quick, dry and trashy sound used for accenting and punctuating. The brilliant finish makes this must have shimmer like any A Custom. The new smaller size is a great addition to your kit. With the 14 EFX, the paper thin weight and small size provides the option to be played alone or stacked."; // Product details
document.getElementById('cymbals_zildjian_custom_crash_14efx_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_efx_14&quantity=1"; // Landing page 
// End Promo 

// Start Promo 
document.getElementById('cymbals_zildjian_custom_crash_16efx_price').innerHTML = "190"; // Price
document.getElementById('cymbals_zildjian_custom_crash_16efx_image').src = "img/zildjian_acustom_efx.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_16efx_details').innerHTML = "This special effects crash cymbal has a unique set of laser generated 'cut outs' that allow it to produce a quick, dry and trashy sound used for accenting and punctuating. The brilliant finish makes this must have shimmer like any A Custom."; // Product details
document.getElementById('cymbals_zildjian_custom_crash_16efx_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_efx_16&quantity=1"; // Landing page 
// End Promo 


// Start Promo 
document.getElementById('cymbals_zildjian_custom_crash_18efx_price').innerHTML = "223"; // Price
document.getElementById('cymbals_zildjian_custom_crash_18efx_image').src = "img/zildjian_acustom_efx.jpg"; // Image file location
document.getElementById('cymbals_zildjian_custom_crash_18efx_details').innerHTML = "This special effects crash cymbal has a unique set of laser generated 'cut outs' that allow it to produce a quick, dry and trashy sound used for accenting and punctuating. The brilliant finish makes this must have shimmer like any A Custom."; // Product details
document.getElementById('cymbals_zildjian_custom_crash_18efx_landing').href = "http://www.romancart.com/cart.asp?storeid=20377&itemcode=cymbals_zildjian_a_custom_efx_18&quantity=1"; // Landing page 
// 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_custom_crash_14_selector><option value=regular>A Custom Regular Crash "+crash14Regular+"</option><option value=fast>A Custom Fast Crash "+crash14Fast+"</option></select>");
	}
		if (x==15){
	document.write("<select id=cymbals_zildjian_custom_crash_15_selector><option value=regular>A Custom Regular Crash "+crash15Regular+"</option><option value=fast>A Custom Fast Crash "+crash15Fast+"</option><option value=Rezo>A Custom Rezo Crash "+crash15Rezo+"</option></select>");
	}
		if (x==16){
	document.write("<select id=cymbals_zildjian_custom_crash_16_selector><option value=regular>A Custom Regular Crash "+crash16Regular+"</option><option value=fast>A Custom Fast Crash "+crash16Fast+"</option><option value=projection>A Custom Projection Crash "+crash16Projection+"</option><option value=Medium>A Custom Medium Crash "+crash16Medium+"</option><option value=Rezo>A Custom Rezo Crash "+crash16Rezo+"</option></select>");
	}
		if (x==17){
	document.write("<select id=cymbals_zildjian_custom_crash_17_selector><option value=regular>A Custom Regular Crash "+crash17Regular+"</option><option value=fast>A Custom Fast Crash "+crash17Fast+"</option><option value=projection>A Custom Projection Crash "+crash17Projection+"</option><option value=Medium>A Custom Medium Crash "+crash17Medium+"</option><option value=Rezo>A Custom Rezo Crash "+crash17Rezo+"</option></select>");
	}
		if (x==18){
	document.write("<select id=cymbals_zildjian_custom_crash_18_selector><option value=regular>A Custom Regular Crash "+crash18Regular+"</option><option value=fast>A Custom Fast Crash "+crash18Fast+"</option><option value=projection>A Custom Projection Crash "+crash18Projection+"</option><option value=Medium>A Custom Medium Crash "+crash18Medium+"</option><option value=Rezo>A Custom Rezo Crash "+crash18Rezo+"</option></select>");
	}
		if (x==19){
	document.write("<select id=cymbals_zildjian_custom_crash_19_selector><option value=regular>A Custom Regular Crash "+crash19Regular+"</option><option value=projection>A Custom Projection Crash "+crash19Projection+"</option><option value=Rezo>A Custom Rezo Crash "+crash19Rezo+"</option></select>");
	}
		if (x==20){
	document.write("<select id=cymbals_zildjian_custom_crash_20_selector><option value=regular>A Custom Regular Crash "+crash20Regular+"</option><option value=projection>A Custom Projection Crash "+crash20Projection+"</option><option value=Rezo>A Custom Rezo Crash "+crash20Rezo+"</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_custom_crash_14_landing').href;
	var b = document.getElementById('cymbals_zildjian_custom_crash_14_selector').options[document.getElementById('cymbals_zildjian_custom_crash_14_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==15){
	var a = document.getElementById('cymbals_zildjian_custom_crash_15_landing').href;
	var b = document.getElementById('cymbals_zildjian_custom_crash_15_selector').options[document.getElementById('cymbals_zildjian_custom_crash_15_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==16){
	var a = document.getElementById('cymbals_zildjian_custom_crash_16_landing').href;
	var b = document.getElementById('cymbals_zildjian_custom_crash_16_selector').options[document.getElementById('cymbals_zildjian_custom_crash_16_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==17){
	var a = document.getElementById('cymbals_zildjian_custom_crash_17_landing').href;
	var b = document.getElementById('cymbals_zildjian_custom_crash_17_selector').options[document.getElementById('cymbals_zildjian_custom_crash_17_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==18){
	var a = document.getElementById('cymbals_zildjian_custom_crash_18_landing').href;
	var b = document.getElementById('cymbals_zildjian_custom_crash_18_selector').options[document.getElementById('cymbals_zildjian_custom_crash_18_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==19){
	var a = document.getElementById('cymbals_zildjian_custom_crash_19_landing').href;
	var b = document.getElementById('cymbals_zildjian_custom_crash_19_selector').options[document.getElementById('cymbals_zildjian_custom_crash_19_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}
	if (x==20){
	var a = document.getElementById('cymbals_zildjian_custom_crash_20_landing').href;
	var b = document.getElementById('cymbals_zildjian_custom_crash_20_selector').options[document.getElementById('cymbals_zildjian_custom_crash_20_selector').selectedIndex].value;
	window.location = a + "&itemname2=" + b;
	}


}

// ********* NEW modifiers coding DO NOT CHANGE ABOVE *********


