function Clarity_Change_List(){
var Clarity_Max_Description = new Array('Select','I 2','I 1','SI 2','SI 1','VS 2','VS 1','VVS 2','VVS 1','IF');
var Clarity_Max_value = new Array(99,2,4,8,9,10,11,12,13,14);

Hld_Selected_Clarity_Max_Index = document.DiamondsSearch.s_Clarity_Max.selectedIndex;
var Hld_Clarity_Max = document.DiamondsSearch.s_Clarity_Max[Hld_Selected_Clarity_Max_Index].value

with (document.DiamondsSearch.s_Clarity_Min){ 
var choice = options[selectedIndex].value;
}
Hld_Selected_Clarity_Min_Index = document.DiamondsSearch.s_Clarity_Min.selectedIndex;

choice = Clarity_Max_Description
document.DiamondsSearch.s_Clarity_Max.length = 0;
if (choice == "") { return; } else { choice = eval(choice);}
for (var i=Hld_Selected_Clarity_Min_Index;i<choice.length;i++){
  with (document.DiamondsSearch.s_Clarity_Max){
       options[length] = new Option(choice[i],Clarity_Max_value[i],false,false);
  }

}
for (var i = 0; i <document.DiamondsSearch.s_Clarity_Max.length; i++)  {
      if (document.DiamondsSearch.s_Clarity_Max.options[i].value ==  Hld_Clarity_Max) {
        document.DiamondsSearch.s_Clarity_Max.options[i].selected=true
      } 
   else {document.DiamondsSearch.s_Clarity_Max.options[i].selected=false
      } 
   }

if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape"))  { history.go(0); }
}

function Colour_Change_List(){
var Colour_Max_Description = new Array('Select','D','E','F','G','H','I','J','K','L');
var Colour_Max_value = new Array(99,1,2,3,4,5,7,8,9,10);

Hld_Selected_Colour_Max_Index = document.DiamondsSearch.s_Colour_Max.selectedIndex;
var Hld_Colour_Max = document.DiamondsSearch.s_Colour_Max[Hld_Selected_Colour_Max_Index].value

with (document.DiamondsSearch.s_Colour_Min){ 
var choice = options[selectedIndex].value;
}
Hld_Selected_Colour_Min_Index = document.DiamondsSearch.s_Colour_Min.selectedIndex;

choice = Colour_Max_Description
document.DiamondsSearch.s_Colour_Max.length = 0;
if (choice == "") { return; } else { choice = eval(choice);}
for (var i=Hld_Selected_Colour_Min_Index;i<choice.length;i++){
  with (document.DiamondsSearch.s_Colour_Max){
       options[length] = new Option(choice[i],Colour_Max_value[i],false,false);
  }

}
for (var i = 0; i <document.DiamondsSearch.s_Colour_Max.length; i++)  {
      if (document.DiamondsSearch.s_Colour_Max.options[i].value ==  Hld_Colour_Max) {
        document.DiamondsSearch.s_Colour_Max.options[i].selected=true
      } 
   else {document.DiamondsSearch.s_Colour_Max.options[i].selected=false
      } 
   }

if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape"))  { history.go(0); }
}

function Weight_Change_List(){
var Weight_Max_Description = new Array('Select','0.10','0.25','0.50','0.75','1.00','1.25','1.50','1.75','2.00','2.25','2.50','2.75','3.00','3.25','3.50','3.75','4.00');
var Weight_Max_value = new Array(99,'0.10','0.25','0.50','0.75','1.00','1.25','1.50','1.75','2.00','2.25','2.50','2.75','3.00','3.25','3.50','3.75','4.00');

Hld_Selected_Weight_Max_Index = document.DiamondsSearch.s_Weight_Max.selectedIndex;
var Hld_Weight_Max = document.DiamondsSearch.s_Weight_Max[Hld_Selected_Weight_Max_Index].value

with (document.DiamondsSearch.s_Weight_Min){ 
var choice = options[selectedIndex].value;
}
Hld_Selected_Weight_Min_Index = document.DiamondsSearch.s_Weight_Min.selectedIndex;

choice = Weight_Max_Description
document.DiamondsSearch.s_Weight_Max.length = 0;
if (choice == "") { return; } else { choice = eval(choice);}
for (var i=Hld_Selected_Weight_Min_Index;i<choice.length;i++){
  with (document.DiamondsSearch.s_Weight_Max){
       options[length] = new Option(choice[i],Weight_Max_value[i],false,false);
  }

}
for (var i = 0; i <document.DiamondsSearch.s_Weight_Max.length; i++)  {
      if (document.DiamondsSearch.s_Weight_Max.options[i].value ==  Hld_Weight_Max) {
        document.DiamondsSearch.s_Weight_Max.options[i].selected=true
      } 
   else {document.DiamondsSearch.s_Weight_Max.options[i].selected=false
      } 
   }

if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape"))  { history.go(0); }
}

function Make_Change_List(){
var Make_Max_Description = new Array('Select','Commercial','Poor','Fair','Medium','Good','Very Good','Excellent','Ideal');
var Make_Max_value = new Array(99,1,3,6,9,11,12,13,14);

Hld_Selected_Make_Max_Index = document.DiamondsSearch.s_Make_Max.selectedIndex;
var Hld_Make_Max = document.DiamondsSearch.s_Make_Max[Hld_Selected_Make_Max_Index].value

with (document.DiamondsSearch.s_Make_Min){ 
var choice = options[selectedIndex].value;
}
Hld_Selected_Make_Min_Index = document.DiamondsSearch.s_Make_Min.selectedIndex;

choice = Make_Max_Description
document.DiamondsSearch.s_Make_Max.length = 0;
if (choice == "") { return; } else { choice = eval(choice);}
for (var i=Hld_Selected_Make_Min_Index;i<choice.length;i++){
  with (document.DiamondsSearch.s_Make_Max){
       options[length] = new Option(choice[i],Make_Max_value[i],false,false);
  }

}
for (var i = 0; i <document.DiamondsSearch.s_Make_Max.length; i++)  {
      if (document.DiamondsSearch.s_Make_Max.options[i].value ==  Hld_Make_Max) {
        document.DiamondsSearch.s_Make_Max.options[i].selected=true
      } 
   else {document.DiamondsSearch.s_Make_Max.options[i].selected=false
      } 
   }

if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape"))  { history.go(0); }
}

function Load_Defaults() {
Clarity_Change_List();
Colour_Change_List();
Weight_Change_List();
Make_Change_List();

}

function openpopup(popurl){

winpops=window.open(popurl,"","width=300,height=450,")
}