<!--
var SCHOOL_ID = 2;
var SHIP_CST = 0;
var LEJ_ACNT = "101106-801511-109105";   //LEJ account;

function GetProductInfo(sSty){
  aVal = new Array("","0","0","");  //Product Name, Price, Hemming Flag, Image name
//====================================================================================
// Boys
//====================================================================================
  if((sSty == "219302") || (sSty == "219304")){
    aVal[0] = "Boys' Short Sleeve Oxford Shirt";
    aVal[1] = 3200;
    aVal[3] = "mis219302";}
  else if(sSty == "051377"){
    aVal[0] = "Short Sleeve Solid Performance Interlock Polo Shirt";
    aVal[1] = 2900;
    aVal[3] = "mis051377";}
  else if((sSty == "231161") || (sSty == "231164")){
    aVal[0] = "Boys' Plain Front Stain & Wrinkle Resistant Chino Shorts";
    aVal[1] = 3000;
    aVal[3] = "mis231161";}
  else if((sSty == "219308") || (sSty == "219315")){
    aVal[0] = "Boys' Long Sleeve Oxford Shirt";
    aVal[1] = 3400;
    aVal[3] = "mis219315";}
  else if(sSty == "051356"){
    aVal[0] = "Long Sleeve Solid Performance Interlock Polo Shirt";
    aVal[1] = 3100;
    aVal[3] = "mis051356";}
  else if((sSty == "058427") || (sSty == "087356")){
    aVal[0] = "Plaid Necktie | worn for special occasions";
    aVal[1] = 2100;
    aVal[3] = "mis058427";}
  else if((sSty == "191125") || (sSty == "191127")){
    aVal[0] = "Boys' Plain Front Blended Chino Pants";
    aVal[1] = 3300;
    aVal[2] = (sSty=="191127")?1:0;
    aVal[3] = "mis191125";}
  else if((sSty == "223014") || (sSty == "223015")){
    aVal[0] = "Kids' Drifter Sweater Vest";
    aVal[1] = 4100;
    aVal[3] = "mis223014";}
  else if((sSty == "090368") || (sSty == "090369")){
    aVal[0] = "Boys' Hopsack Blazer";
    aVal[1] = 11000;
    aVal[3] = "mis090368";}
  else if((sSty == "051467") || (sSty == "051469")){
    aVal[0] = "Short Sleeve Solid Mesh Polo Shirt";
    aVal[1] = 2900;
    aVal[3] = "mis051467";}
  else if((sSty == "252116") || (sSty == "252117")){
    aVal[0] = "Zip-front Hooded Jacket";
    aVal[1] = 3600;
    aVal[3] = "mis252116";}
  else if((sSty == "315438") || (sSty == "315439")){
    aVal[0] = "Boys' Athletic Shorts";
    aVal[1] = 2100;
    aVal[3] = "mis315438";}
  else if((sSty == "322917") || (sSty == "322919")){
    aVal[0] = "Boys' Athletic Pants";
    aVal[1] = 3300;
    aVal[3] = "mis322917";}
  else if(sSty == "179500"){
    aVal[0] = "Solid Classmate Junior";
    aVal[1] = 4400;
    aVal[3] = "mis179500";}
  else if(sSty == "179501"){
    aVal[0] = "Solid Classmate Backpack";
    aVal[1] = 4900;
    aVal[3] = "mis179500";}
//====================================================================================
// Girls
//====================================================================================
  else if((sSty == "219321") || (sSty == "219322")){
    aVal[0] = "Girls' Short Sleeve Oxford Shirt";
    aVal[1] = 3200;
    aVal[3] = "mis219321";}
  else if(sSty == "230954"){
    aVal[0] = "Short Sleeve Feminine Fit Interlock Polo Shirt";
    aVal[1] = 2900;
    aVal[3] = "mis230954";}
  else if(sSty == "230957"){
    aVal[0] = "Long Sleeve Feminine Fit Interlock Polo Shirt";
    aVal[1] = 3100;
    aVal[3] = "mis230957";}
  else if(sSty == "051377"){
    aVal[0] = "Short Sleeve Solid Performance Interlock Polo Shirt";
    aVal[1] = 2900;
    aVal[3] = "mis051377";}
  else if((sSty == "250205") || (sSty == "250207")){
    aVal[0] = "Girls' Two-button Stretch Chino Skort";
    aVal[1] = 3300;
    aVal[3] = "mis250205";}
  else if((sSty == "219323") || (sSty == "219324") || (sSty == "306150")){
    aVal[0] = "Girls' Long Sleeve Oxford Shirt";
    aVal[1] = 3400;
    aVal[3] = "mis219323";}
  else if(sSty == "051356"){
    aVal[0] = "Long Sleeve Solid Performance Interlock Polo Shirt";
    aVal[1] = 3100;
    aVal[3] = "mis051356";}
  else if((sSty == "231116")||(sSty == "231118")){
    aVal[0] = "Girls' Plain Front Blended Chino Pants ";
    aVal[1] = 3300;
    aVal[2] = (sSty=="231118")?1:0;
    aVal[3] = "mis231116";}
  else if((sSty == "315289")||(sSty == "315296")){
    aVal[0] = "Kids' Button-front Drifter Cardigan";
    aVal[1] = 5600;
    aVal[3] = "mis315289";}
  else if((sSty == "219457") || (sSty == "219458")){
    aVal[0] = "Girls' Blazer | special occasions";
    aVal[1] = 11000;
    aVal[3] = "mis219457";}
  else if((sSty == "315426") || (sSty == "315427")){
    aVal[0] = "Girls' Athletic Shorts";
    aVal[1] = 2100;
    aVal[3] = "mis315426";}
  else if((sSty == "322913") || (sSty == "322916")){
    aVal[0] = "Girls' Athletic Pants";
    aVal[1] = 3300;
    aVal[3] = "mis322913";}
 else{
    aVal[0] = "";
    aVal[1] = 0;
    aVal[3] = "";}
return aVal;
}

function GetColorName(sClr){
  var sVal = "";
  switch(sClr){
  case "BLA":
    sVal = "Black";
    break;
  case "CBK":
    sVal = "Classic Black";
    break;
  case "CLN":
    sVal = "Classic Navy";
    break;
  case "CYC":
    sVal = "Classic Navy";
    break;
  case "DNA":
    sVal = "Dark Navy";
    break;
  case "DNV":
    sVal = "Deep Navy";
    break;
  case "EVE":
    sVal = "Evergreen";
    break;
  case "HNP":
    sVal = "Hunter / Classic Navy Plaid";
    break;
  case "KHA":
    sVal = "Khaki";
    break;
  case "TVY":
    sVal = "True Navy";
    break;
  case "WHI":
    sVal = "White";
    break;
  case "WOP":
    sVal = "Woodland Pine";
    break;
  case "YPS":
    sVal = "Classic Navy / Red Tartan";
    break;
  default:
    sVal = "";
    break;}
  return sVal;
}

//=========================================================
// Hemming Info Class
//=========================================================
function hempar(){
  this.nMin=0;
  this.nMax=0;
  this.nTotMin=56;
  this.nTotMax=83;
  this.gethempar = gethempar;
}
function gethempar(sSty,sSiz){
  if((sSty == "191127") || (sSty == "191128") || (sSty == "191129")){
    switch(sSiz){
    case "8":
      this.nMin=56;
      this.nMax=60;
      break;
    case "10":
      this.nMin=56;
      this.nMax=66;
      break;
    case "12":
      this.nMin=64;
      this.nMax=73;
      break;
    case "14":
      this.nMin=67;
      this.nMax=76;
      break;
    case "16":
      this.nMin=69;
      this.nMax=78;
      break;
    case "18":
      this.nMin=72;
      this.nMax=81;
      break;
    case "20":
      this.nMin=74;
      this.nMax=83;
      break;
    default:
      this.nMin=0;
      this.nMax=0;
      break;}}
  else if((sSty == "231118") || (sSty == "231119") || (sSty == "231120")){
    switch(sSiz){
    case "7":
      this.nMin=56;
      this.nMax=63;
      break;
    case "8":
      this.nMin=56;
      this.nMax=66;
      break;
    case "10":
      this.nMin=59;
      this.nMax=68;
      break;
    case "12":
      this.nMin=61;
      this.nMax=71;
      break;
    case "14":
      this.nMin=64;
      this.nMax=73;
      break;
    case "16":
      this.nMin=69;
      this.nMax=78;
      break;
    default:
      this.nMin=0;
      this.nMax=0;
      break;}}
}

//-->
