<!--
//-- Copyright 2000 David Thomas, http://www.jewels.co.uk email:dave@jewels.co.uk

// W bend 

// Profit is the amount of profit you wish to calculate if cost price is used, set as "1" if not used. 
// Profit set in the file 44plain.js will affect all calculated prices for that price list.  

var goldprofit = 1.90
var platprofit = 1.75
var silverprofit = 3.00
metal = 1

if (metal == 1)
{
//  Important Note!! The varaiable metal=0 or metal=1 is set in nogold.js & yesgold.js files, and in 
//  price list items within the price list settings as the final setting. 
//  Important Note!! Metal Fluctuation control only applies to manufacturer price list items. 
//  Important Note!! Metal Fluctuation applies price control for all precious metals within each supplier 
//  in price lists you input "product description", "price", "metal type". 1=gold, 2=platinum, 3=silver  
//  You must use the files yesgold.js or nogold.js to set metal pricing functioning or non-functioning.
//  Supplier files such as 44fancy.js, 44plain.js, or 63.js overide default settings of the base precious
//  metal settings in nogold.js & yesgold.js, price lists do not use file types nogold00.js or yesgold10.js. 

var goldbaseused = 200
var platbaseused = 400
var silverbaseused = 4

var goldperamountup = 10
var goldperamountdown = 10
var platperamountup = 10
var platperamountdown = 10
var silverperamountup = 10
var silverperamountdown = 10

var goldpercentperamountup = 4
var goldpercentperamountdown = 4
var platpercentperamountup = 4
var platpercentperamountdown = 4
var silverpercentperamountup = 4
var silverpercentperamountdown = 4

// All configurable variables are above this line.

}  else {var percentup=0; var percentdown=0}


//No rightclick script
function click(){
if(event.button==2){
alert('No Access.')
}}
document.onmousedown=click

var onoff = 1

var category = new createArray(1);
color1 = "#ebcc94";
color2 = "#ebcc94";
category[1] = new Category("Please Select From this List");


function Category(name) {
 this.title = name;
 this.product = new createArray(1);
 this.product[0] = new Product("Please Select From List",0.00,1);
  }

// Input product description, price, metal type. 1=gold, 2=platinum, 3=silver   
 
category[1].product[1] = new Product("9ct yellow gold, 3mm Bend Shape",28.10,1)
category[1].product[2] = new Product("9ct yellow gold, 4mm Bend Shape",32.60,1)
category[1].product[3] = new Product("9ct white gold, 4mm Bend Shape",41.00,1)
category[1].product[4] = new Product("9ct white gold, 7mm Gents STRAIGHT",44.00,1)
category[1].product[5] = new Product("18ct yellow gold, 3mm Bend Shape",51.60,1)
category[1].product[6] = new Product("18ct yellow gold, 4mm Bend Shape",65.60,1)
category[1].product[7] = new Product("18ct white gold, 4mm Bend Shape",73.00,1)
category[1].product[8] = new Product("18ct white gold, 6mm Gents STRAIGHT",81.00,1)

//-->


















