if( typeof window['ScalePrice'] == 'undefined') { DynaLoad(_path + 'jscript/object/js_obj_scale_price','ScalePrice'); }


function ObjVariant() {
//alert('ObjVariant in');
 this.arrName    = new Array();
 this.arrFeature = new Array();
 this.featSep    = "|";
 this.featValSep = '_';
 this.ImgPath    = "";
 this.arrImage   = new Array();
 this.arrDelTime = new Array();
 this.objSPrice  = new ScalePrice();
 this.Weight     = 500;
 this.ShipCat    = "VKATI";

 this.hasFeatures = function hasFeatures() {
   return ( this.arrFeature[0][0] != "" );
 }

 // -------------------------------------------
 // setDelTime(_itemID)
 // -------------------------------------------
 this.setDelTime = function setDelTime(_idx, _val) {
   this.arrDelTime[_idx] = unescape(_val);
 }

 // -------------------------------------------
 // setName(_itemID)
 // -------------------------------------------
 this.setImage = function setImage(_idx, _val) {
   this.arrImage[_idx] = unescape(this.ImgPath + _val);
 }

 // -------------------------------------------
 // setName(_itemID)
 // -------------------------------------------
 this.setName = function setName(_idx, _val) {
   this.arrName[_idx] = unescape(_val);
 }

 //alert('ObjVariant out');
 return this;
}
