// JavaScript Document
// Sets cookie values. Expiration date is optional//

//*******************************************************
// Defualt values 

//default material index				
var defualtMaterialIndex=0;


//default edge index				
var defualtEdgeIndex=0;


// Installation price
var installPrice = 400;							

// conter width
var countertopWidth = 25;

//*******************************************************
// Material constants


function material(price1, price2, side1, side2, fileName,zoom1FileName)
{
	this.price1 = price1;
	this.price2 = price2;
	this.side1 = side1;
	this.side2 = side2;
	this.fileName = fileName;
	this.zoom1FileName = zoom1FileName;
}
var materialArray = new Array(
	new material(1185,1354,112,68,  "gialloantico_a.jpg", "gialloantico_b.jpg"), 
	new material(2161,2470,116,73, "bluepearl_a.jpg", "bluepearl_b.jpg"), 
	new material(1183,1352,114,70, "capaobonito_a.jpg", "capaobonito_b.jpg"), 
	new material(2026,2316,114,69, "giallomatisse_a.jpg", "giallomatisse_b.jpg"), 
	new material(1615,1846,114,69, "giallonapoleon_a.jpg", "giallonapoleon_b.jpg"), 
	new material(1615,1846,114,69, "gialloornamental_a.jpg", "gialloornamental_b.jpg"), 
	new material(1524,1742,114,69, "indianblack_a.jpg", "indianblack_b.jpg"), 
	new material(1753,2004,118,73, "kashmirgold_a.jpg", "kashmirgold_b.jpg"), 
	new material(1948,2226,118,73, "newgoldenbeach_a.jpg", "newgoldenbeach_b.jpg"), 
	new material(1304,1490,114,71, "peacockgreen_a.jpg", "peacockgreen_b.jpg"), 
	new material(1422,1626,115,74, "tanbrown_a.jpg", "tanbrown_b.jpg"), 
	new material(1254,1434,112,67, "tropicalgreen_a.jpg", "tropicalgreen_b.jpg") 
  );
								
//*****************************
// Edge work constants

function edge(price1, price2, name, fileName)
{
	this.price1 = price1;
	this.price2 = price2;
	this.name = name;
	this.fileName = fileName;
}
var edgeArray = new Array(
							new edge(16,18,"1/4 Bevel","edge1.jpg"), 
							new edge(17,19,"Half Bull Nose","edge2.jpg"),
							new edge(20,22,"Full Bull Nose","edge3.jpg"),
							
							new edge(15,17,"Pencil Edge","edge4.jpg"),
							new edge(17,19,"1/2 Bevel","edge5.jpg"),
							new edge(19,21,"Dual 1/4 Bevel","edge6.jpg"),
							
							new edge(32,34,"Ogee","edge7.jpg"),
							new edge(37,39,"Ogee Full Round","edge8.jpg"),
							new edge(48,50,"Cove Ogee","edge9.jpg"),
							
							new edge(30,30,"Double Bull Nose","edge10.jpg"),
							new edge(37,37,"Double Half Bull Nose","edge11.jpg"),
							new edge(25,25,"Double Pencil","edge12.jpg"),
							
							new edge(47,47,"Double Ogee Round","edge13.jpg"),
							new edge(27,27,"Double 1/4 Beavel","edge14.jpg"),
							new edge(42,42,"Double Ogee","edge15.jpg")
						 );



68
73
70
69
69
69
69
73
73
71
74
67
