
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 6/28/2010 10:12:16 AM
// Copyright (c) 2005 Intersoft Solutions.
// Unauthorized decryption/reproduction of any codes contained herein is strictly prohibited and will result in severe civil and criminal penalties .
//**Start Encode**
function ISGetCultureInfo(va5996,vec596){ var v8be96; var v80b96; if (ISXml ==null) v80b96 =document.getElementById(IS.CultureInfoPrefix +va5996 +(vec596 ==true ? "_c" : "")); else v80b96 =ISXml.GetElementById(IS.CultureInfoPrefix +va5996 +(vec596 ==true ? "_c" : "")); if (v80b96 !=null)v8be96 =new ISCultureInfo(v80b96.selectSingleNode("//XMLCultureInfo")); return v8be96;}function GetDecimalSeparator(vaaf52,vdbd75){ var v01852; if (vdbd75.indexOf(vaaf52.Currency.Symbol)>-1 ||vdbd75.toLowerCase()=="c") v01852 =vdbd75.indexOf("-")>-1 ||vdbd75.indexOf("(")>-1 ? vaaf52.Currency.Negative.DecimalSeparator : vaaf52.Currency.Positive.DecimalSeparator; else { if (vdbd75.indexOf(vaaf52.Percent.Symbol)>-1 ||vdbd75.toLowerCase()=="p") v01852 =vdbd75.indexOf("-")>-1 ||vdbd75.indexOf("(")>-1 ? vaaf52.Percent.Negative.DecimalSeparator : vaaf52.Percent.Positive.DecimalSeparator; else { if (vdbd75.indexOf("e0")>-1 ||vdbd75.indexOf("e+0")>-1 ||vdbd75.indexOf("e-0")>-1 ||vdbd75.toLowerCase()=="f") v01852 =vdbd75.indexOf("-")>-1 ||vdbd75.indexOf("(")>-1 ? vaaf52.Scientific.Negative.DecimalSeparator : vaaf52.Scientific.Positive.DecimalSeparator; else v01852 =vdbd75.indexOf("-")>-1 ||vdbd75.indexOf("(")>-1 ? vaaf52.Number.Negative.DecimalSeparator : vaaf52.Number.Positive.DecimalSeparator; } } return v01852;}function GetGroupSeparator(v0dc52,v50675){ var v38b52; if (v50675.indexOf(v0dc52.Currency.Symbol)>-1) v38b52 =v50675.indexOf("-")>-1 ||v50675.indexOf("(")>-1 ? v0dc52.Currency.Negative.GroupSeparator : v0dc52.Currency.Positive.GroupSeparator; else { if (v50675.indexOf(v0dc52.Percent.Symbol)>-1) v38b52 =v50675.indexOf("-")>-1 ||v50675.indexOf("(")>-1 ? v0dc52.Percent.Negative.GroupSeparator : v0dc52.Percent.Positive.GroupSeparator; else { if (v50675.indexOf("e0")>-1 ||v50675.indexOf("e+0")>-1 ||v50675.indexOf("e-0")>-1) v38b52 =v50675.indexOf("-")>-1 ||v50675.indexOf("(")>-1 ? v0dc52.Scientific.Negative.GroupSeparator : v0dc52.Scientific.Positive.GroupSeparator; else v38b52 =v50675.indexOf("-")>-1 ||v50675.indexOf("(")>-1 ? v0dc52.Number.Negative.GroupSeparator : v0dc52.Number.Positive.GroupSeparator; } } return v38b52;}function GetSymbol(vf2724,vcfc14){ var vacc24 =""; if (vcfc14.indexOf(vf2724.Currency.Symbol)>-1) vacc24 =vf2724.Currency.Symbol; else { if (vcfc14.indexOf(vf2724.Percent.Symbol)>-1) vacc24 =vf2724.Percent.Symbol; } return vacc24;}function GetFullFormatDate(vccc7,v82d54){ if (vccc7 ==null ||v82d54 ==null) return ""; else { if (v82d54.length >1)return ""; } var v05e24 =vccc7.StandarFormat; var vb3814 =""; switch (v82d54) { case "F": vb3814 =v05e24.FullDateTime; break; case "f": vb3814 =v05e24.FullDateTimeShortTime; break; case "D": vb3814 =v05e24.LongDate; break; case "d": vb3814 =v05e24.ShortDate; break; case "T": vb3814 =v05e24.LongTime; break; case "t": vb3814 =v05e24.ShortTime; break; case "m": vb3814 =v05e24.MonthDay; break; case "y": vb3814 =v05e24.YearMonth; break; case "g": vb3814 =v05e24.GeneralShortTime; break; case "G": vb3814 =v05e24.GeneralLongTime; break; } return vb3814;}function ISStandarFormat(v87627,v0fd64,v80f29,vb0694,v98342,v9ed58,v2ed96,v7df20,vdb862,ve4a82){ var v2d143 =new RegExp("\\'","g"); this.FullDateTime =v87627.replace(v2d143,""); this.FullDateTimeShortTime =v0fd64.replace(v2d143,""); this.LongDate =v80f29.replace(v2d143,""); this.ShortDate =vb0694.replace(v2d143,""); this.LongTime =v98342.replace(v2d143,""); this.ShortTime =v9ed58.replace(v2d143,""); this.MonthDay =v2ed96.replace(v2d143,""); this.YearMonth =v7df20.replace(v2d143,""); this.GeneralShortTime =vdb862.replace(v2d143,""); this.GeneralLongTime =ve4a82.replace(v2d143,""); this.FullDateTimeRaw =v87627; this.FullDateTimeShortTimeRaw =v0fd64; this.LongDateRaw =v80f29; this.ShortDateRaw =vb0694; this.LongTimeRaw =v98342; this.ShortTimeRaw =v9ed58; this.MonthDayRaw =v2ed96; this.YearMonthRaw =v7df20; this.GeneralShortTimeRaw =vdb862; this.GeneralLongTimeRaw =ve4a82;}function ISNumericType(v7d454,v99482){ this.Symbol =v7d454; this.GroupSizes =v99482; this.Positive =new ISNumberPattern(); this.Negative =new ISNumberPattern(); this.ZeroPattern ="0";}function ISNumberPattern(vf0037,vfe022,v6610,vc570,v4d786,v80973){ this.Pattern =vf0037; this.DecimalDigit =parseFloat(vfe022); this.DecimalSeparator =v6610; this.GroupSeparator =vc570; this.Format =v4d786; this.Type =v80973;}function ISCultureInfo(v69729){ if (v69729 ==null)return; this.XmlDt =v69729; this.NumberFormatInfo =this.DateTimeFormatInfo =null; CultureInfoEngine.ParseDateTimeInfo(this); CultureInfoEngine.ParseNumberInfo(this);}var CultureInfoEngine ={ GetDefaultCulture: function() { var v6a542 ="<XMLCultureInfo><XMLCultureInfo><DateTimeFormatInfo><StandarFormat><F>dddd, MMMM dd, yyyy h:mm:ss tt</F><f>dddd, MMMM dd, yyyy h:mm tt</f><D>dddd, MMMM dd, yyyy</D><d>M/d/yyyy</d><T>h:mm:ss tt</T><t>h:mm tt</t><m>MMMM dd</m><y>MMMM, yyyy</y><g>M/d/yyyy h:mm tt</g><G>M/d/yyyy h:mm:ss tt</G></StandarFormat><DayNames><idx0>Sunday</idx0><idx1>Monday</idx1><idx2>Tuesday</idx2><idx3>Wednesday</idx3><idx4>Thursday</idx4><idx5>Friday</idx5><idx6>Saturday</idx6></DayNames><AbbreviatedDayNames><idx0>Sun</idx0><idx1>Mon</idx1><idx2>Tue</idx2><idx3>Wed</idx3><idx4>Thu</idx4><idx5>Fri</idx5><idx6>Sat</idx6></AbbreviatedDayNames><MonthNames><idx0>January</idx0><idx1>February</idx1><idx2>March</idx2><idx3>April</idx3><idx4>May</idx4><idx5>June</idx5><idx6>July</idx6><idx7>August</idx7><idx8>September</idx8><idx9>October</idx9><idx10>November</idx10><idx11>December</idx11><idx12></idx12></MonthNames><AbbreviatedMonthNames><idx0>Jan</idx0><idx1>Feb</idx1><idx2>Mar</idx2><idx3>Apr</idx3><idx4>May</idx4><idx5>Jun</idx5><idx6>Jul</idx6><idx7>Aug</idx7><idx8>Sep</idx8><idx9>Oct</idx9><idx10>Nov</idx10><idx11>Dec</idx11><idx12></idx12></AbbreviatedMonthNames><AMDesignator>AM</AMDesignator><PMDesignator>PM</PMDesignator><DateSeparator>/</DateSeparator><TimeSeparator>:</TimeSeparator><EraName>A.D.</EraName><FirstDayOfWeek>Sunday</FirstDayOfWeek><CalendarWeekRule>FirstDay</CalendarWeekRule></DateTimeFormatInfo><NumberFormatInfo><CurrencyDecimalDigits>2</CurrencyDecimalDigits><CurrencyDecimalSeparator>.</CurrencyDecimalSeparator><CurrencyGroupSeparator>,</CurrencyGroupSeparator><CurrencyGroupSizes><idx0>3</idx0></CurrencyGroupSizes><CurrencyNegativePattern>($n)</CurrencyNegativePattern><CurrencyPositivePattern>$n</CurrencyPositivePattern><CurrencySymbol>$</CurrencySymbol><NegativeSign>-</NegativeSign><NumberDecimalDigits>2</NumberDecimalDigits><NumberDecimalSeparator>.</NumberDecimalSeparator><NumberGroupSeparator>,</NumberGroupSeparator><NumberGroupSizes><idx0>3</idx0></NumberGroupSizes><NumberNegativePattern>-n</NumberNegativePattern><PercentDecimalDigits>2</PercentDecimalDigits><PercentDecimalSeparator>.</PercentDecimalSeparator><PercentGroupSeparator>,</PercentGroupSeparator><PercentGroupSizes><idx0>3</idx0></PercentGroupSizes><PercentNegativePattern>-n %</PercentNegativePattern><PercentPositivePattern>n %</PercentPositivePattern><PercentSymbol>%</PercentSymbol><PositiveSign>+</PositiveSign><ScienExpDigit>3</ScienExpDigit></NumberFormatInfo></XMLCultureInfo></XMLCultureInfo>"; var v70636 =ISXml.CreateXmlDocument(); var vaca17 =null; ISXml.LoadXml(v70636,v6a542); vaca17 =new ISCultureInfo(v70636.selectSingleNode("//XMLCultureInfo")); return vaca17; }, CopyNumberPattern: function(v88f78,vf586) { vf586.Pattern =v88f78.Pattern; vf586.DecimalDigit =v88f78.DecimalDigit; vf586.DecimalSeparator =v88f78.DecimalSeparator; vf586.GroupSeparator =v88f78.GroupSeparator; vf586.Format =v88f78.Format; vf586.Type =v88f78.Type; }, CopyNumberFormatInfo: function(v9a078,v2c76) { v2c76.PositiveSign =v9a078.PositiveSign; v2c76.NegativeSign =v9a078.NegativeSign; v2c76.Currency =new ISNumericType(v9a078.Currency.Symbol,v9a078.Currency.GroupSizes); CultureInfoEngine.CopyNumberPattern(v9a078.Currency.Positive,v2c76.Currency.Positive); CultureInfoEngine.CopyNumberPattern(v9a078.Currency.Negative,v2c76.Currency.Negative); v2c76.Number =new ISNumericType(v9a078.Number.Symbol,v9a078.Number.GroupSizes); CultureInfoEngine.CopyNumberPattern(v9a078.Number.Positive,v2c76.Number.Positive); CultureInfoEngine.CopyNumberPattern(v9a078.Number.Negative,v2c76.Number.Negative); v2c76.Decimal =new ISNumericType(v9a078.Decimal.Symbol,v9a078.Decimal.GroupSizes); CultureInfoEngine.CopyNumberPattern(v9a078.Decimal.Positive,v2c76.Decimal.Positive); CultureInfoEngine.CopyNumberPattern(v9a078.Decimal.Negative,v2c76.Decimal.Negative); v2c76.Percent =new ISNumericType(v9a078.Percent.Symbol,v9a078.Percent.GroupSizes); CultureInfoEngine.CopyNumberPattern(v9a078.Percent.Positive,v2c76.Percent.Positive); CultureInfoEngine.CopyNumberPattern(v9a078.Percent.Negative,v2c76.Percent.Negative); v2c76.Scientific =new ISNumericType(v9a078.Scientific.Symbol,v9a078.Scientific.GroupSizes); CultureInfoEngine.CopyNumberPattern(v9a078.Scientific.Positive,v2c76.Scientific.Positive); CultureInfoEngine.CopyNumberPattern(v9a078.Scientific.Negative,v2c76.Scientific.Negative); }, ParseDateTimeInfo: function(v88462) { if (v88462.XmlDt) { var v3a062 =v88462.XmlDt.selectSingleNode("//DateTimeFormatInfo"); if (v3a062) { var v70746 =new Object(); with (v3a062) { v70746.StandarFormat =new ISStandarFormat(selectSingleNode("//F").text,selectSingleNode("//f").text,selectSingleNode("//D").text,selectSingleNode("//d").text,selectSingleNode("//T").text,selectSingleNode("//t").text,selectSingleNode("//m").text,selectSingleNode("//y").text,selectSingleNode("//g").text,selectSingleNode("//G").text); v70746.DayNames =CultureInfoEngine.GetArrayElement(selectNodes("//DayNames/*"));
 v70746.AbbreviatedDayNames =CultureInfoEngine.GetArrayElement(selectNodes("//AbbreviatedDayNames/*"));
 v70746.MonthNames =CultureInfoEngine.GetArrayElement(selectNodes("//MonthNames/*"));
 v70746.AbbreviatedMonthNames =CultureInfoEngine.GetArrayElement(selectNodes("//AbbreviatedMonthNames/*"));
 v70746.AMDesignator =selectSingleNode("//AMDesignator").text;
 v70746.PMDesignator =selectSingleNode("//PMDesignator").text;
 v70746.DateSeparator =selectSingleNode("//DateSeparator").text;
 v70746.TimeSeparator =selectSingleNode("//TimeSeparator").text;
 v70746.EraName =selectSingleNode("//EraName").text;
 v70746.FirstDayOfWeek =selectSingleNode("//FirstDayOfWeek").text;
 v70746.CalendarWeekRule =selectSingleNode("//CalendarWeekRule").text;
 }
 v70746.PNode =v3a062;
 v88462.DateTimeFormatInfo =v70746;
 }
 }
 },

 ParseNumberInfo: function(v21b97)
 {
 if (v21b97.XmlDt)
 {
 var v0d097 =v21b97.XmlDt.selectSingleNode("//NumberFormatInfo");
 if (v0d097)
 {
 var v6bd15 =new Object();

 with (v0d097)
 {
 v6bd15.Currency =new ISNumericType(selectSingleNode("//CurrencySymbol").text,CultureInfoEngine.GetArrayElement(selectNodes("//CurrencyGroupSizes/*")));
 v6bd15.Currency.Positive =new ISNumberPattern(selectSingleNode("//CurrencyPositivePattern").text,selectSingleNode("//CurrencyDecimalDigits").text,selectSingleNode("//CurrencyDecimalSeparator").text,selectSingleNode("//CurrencyGroupSeparator").text,CultureInfoEngine.CreateNumberFormat("#,##0",selectSingleNode("//CurrencyPositivePattern").text,selectSingleNode("//CurrencyDecimalDigits").text),"c");
 v6bd15.Currency.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(v6bd15.Currency.Positive,v6bd15.Currency.Negative);
 v6bd15.Currency.Negative.Pattern =selectSingleNode("//CurrencyNegativePattern").text;
 v6bd15.Currency.Negative.Format =CultureInfoEngine.CreateNumberFormat("#,##0",selectSingleNode("//CurrencyNegativePattern").text,selectSingleNode("//CurrencyDecimalDigits").text);

 v6bd15.Number =new ISNumericType("",CultureInfoEngine.GetArrayElement(selectNodes("//NumberGroupSizes/*")));
 v6bd15.Number.Positive =new ISNumberPattern("n",selectSingleNode("//NumberDecimalDigits").text,selectSingleNode("//NumberDecimalSeparator").text,selectSingleNode("//NumberGroupSeparator").text,CultureInfoEngine.CreateNumberFormat("#,##0","n",selectSingleNode("//NumberDecimalDigits").text),"n");
 v6bd15.Number.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(v6bd15.Number.Positive,v6bd15.Number.Negative);
 v6bd15.Number.Negative.Pattern =selectSingleNode("//NumberNegativePattern").text;
 v6bd15.Number.Negative.Format =CultureInfoEngine.CreateNumberFormat("#,##0",selectSingleNode("//NumberNegativePattern").text,selectSingleNode("//NumberDecimalDigits").text);

 v6bd15.Decimal =new ISNumericType("");
 v6bd15.Decimal.Positive =new ISNumberPattern("n",0,"","",CultureInfoEngine.CreateNumberFormat("0","n",0),"d");
 v6bd15.Decimal.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(v6bd15.Decimal.Positive,v6bd15.Decimal.Negative);
 v6bd15.Decimal.Negative.Pattern =selectSingleNode("//NumberNegativePattern").text;
 v6bd15.Decimal.Negative.Format =CultureInfoEngine.CreateNumberFormat("0",selectSingleNode("//NumberNegativePattern").text,0);

 v6bd15.Percent =new ISNumericType(selectSingleNode("//PercentSymbol").text,CultureInfoEngine.GetArrayElement(selectNodes("//PercentGroupSizes/*")));
 v6bd15.Percent.Positive =new ISNumberPattern(selectSingleNode("//PercentPositivePattern").text,selectSingleNode("//PercentDecimalDigits").text,selectSingleNode("//PercentDecimalSeparator").text,selectSingleNode("//PercentGroupSeparator").text,CultureInfoEngine.CreateNumberFormat("#,##0",selectSingleNode("//PercentPositivePattern").text,selectSingleNode("//PercentDecimalDigits").text),"p");
 v6bd15.Percent.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(v6bd15.Percent.Positive,v6bd15.Percent.Negative);
 v6bd15.Percent.Negative.Pattern =selectSingleNode("//PercentNegativePattern").text;
 v6bd15.Percent.Negative.Format =CultureInfoEngine.CreateNumberFormat("#,##0",selectSingleNode("//PercentNegativePattern").text,selectSingleNode("//PercentDecimalDigits").text);

 v6bd15.PositiveSign =selectSingleNode("//PositiveSign").text;
 v6bd15.NegativeSign =selectSingleNode("//NegativeSign").text;

 v6bd15.Scientific =new ISNumericType("");
 v6bd15.Scientific.Positive =new ISNumberPattern("n",selectSingleNode("//NumberDecimalDigits").text,selectSingleNode("//NumberDecimalSeparator").text,"",CultureInfoEngine.CreateNumberFormat("0","n",selectSingleNode("//NumberDecimalDigits").text),"e");
 v6bd15.Scientific.Positive.Format +="E+000";
 v6bd15.Scientific.Positive.ScienExpDigit =selectSingleNode("//ScienExpDigit").text;
 v6bd15.Scientific.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(v6bd15.Scientific.Positive,v6bd15.Scientific.Negative);
 v6bd15.Scientific.Negative.Pattern =selectSingleNode("//NumberNegativePattern").text;
 v6bd15.Scientific.Negative.ScienExpDigit =selectSingleNode("//ScienExpDigit").text;
 }
 v6bd15.PNode =v0d097;
 v21b97.NumberFormatInfo =v6bd15;
 }
 }
 },

 GetArrayElement: function(vfb633)
 {
 var v77097 =new Array();
 for (var vf9415 =0; vf9415 <vfb633.length; vf9415++)
 {
 v77097[vf9415] =vfb633[vf9415].text;
 }
 return v77097;
 },

 CreateNumberFormat: function(v2f833,v79f85,vb4420)
 {
 var vd4633 ="";
 for (var vff485 =0; vff485 <vb4420; vff485++)
 {
 vd4633 =vd4633 +"0";
 }
 if (vd4633.length >0)
 vd4633 ="." +vd4633;
 return v79f85.replace("n",v2f833 +vd4633);
 }

}

function ISCustomNumberInfo(v2ec29,v3ae71)
{
 this.CustomPattern =v2ec29;
 this.CustomFormat =null;
 this.NumInfo =v3ae71;
 this.CustomNumInfo =new Object();
 this.Create =
 function(v2ec29,v3ae71)
 {
 if (v2ec29 !=null &&this.CustomPattern !=v2ec29)this.CustomPattern =v2ec29;
 if (v3ae71 !=null &&this.NumInfo !=v3ae71)this.NumInfo =v3ae71;
 return CustomNumberInfoEngine.Create(this);
 };

}

function TrimLiteralFromCustomPattern(vb6587)
{
 var vd2d48 ="";
 var v9c180 =false;
 var v4e070 =null;
 var v8007 =null;

 for (var vf2a30 =0; vf2a30 <vb6587.length; vf2a30++)
 {
 v8007 =vb6587.charAt(vf2a30);

 if (v9c180 ==false)
 {
 switch (v8007)
 {
 case "\\":
 v9c180 =true;
 break;
 case "'":
 if (v4e070 ==null)
 {
 v4e070 ="'";
 v9c180 =true;
 }
 break;
 case "\"":
 if (v4e070 ==null)
 {
 v4e070 ="\"";
 v9c180 =true;
 }
 break;
 }
 }
 else
 {
 switch (v8007)
 {
 case "'":
 if (v4e070 =="'")
 {
 v4e070 =null;
 v9c180 =false;
 continue;
 }
 break;
 case "\"":
 if (v4e070 =="\"")
 {
 v4e070 =null;
 v9c180 =false;
 continue;
 }
 break;
 default:
 if (v4e070 =="\\")
 {
 v4e070 =null;
 v9c180 =false;
 continue;
 }
 break;
 }
 }

 if (v9c180 ==false)
 vd2d48 +=v8007;
 }

 return vd2d48;
}

var CustomNumberInfoEngine =
{
 Create: function(vc222)
 {
 CultureInfoEngine.CopyNumberFormatInfo(vc222.NumInfo,vc222.CustomNumInfo);
 CustomNumberInfoEngine.CheckCustomFormat(vc222);
 CustomNumberInfoEngine.CreateCurrencyInfo(vc222);
 CustomNumberInfoEngine.CreateNumberInfo(vc222);
 CustomNumberInfoEngine.CreatePercentInfo(vc222);
 CustomNumberInfoEngine.CreateScientificInfo(vc222);
 return vc222.CustomNumInfo;
 },


 CheckCustomFormat: function(v49073)
 {
 var v79537 =TrimLiteralFromCustomPattern(v49073.CustomPattern);
 v49073.CustomNumInfo.CustomFormat =(v79537.indexOf(v49073.NumInfo.Currency.Symbol)>-1)? "c" : ((v79537.indexOf(v49073.NumInfo.Percent.Symbol)>-1)? "p" : ((CustomNumberInfoEngine.IsScientificNotation(v79537)!="")? "e" : "n"));
 },

 IsScientificNotation: function(vaa176)
 {
 var v87b73 =new Array("e0","e+0","e-0");
 var vde212 =vaa176.toLowerCase();
 var v73671 =false;
 var v36771;
 for (v36771 =0; v36771 <v87b73.length; v36771++)
 {
 if (vde212.indexOf(v87b73[v36771])>-1)
 {v73671 =true; break; }
 }
 if (v73671)
 return v87b73[v36771];
 else
 return "";
 },

 CreateCurrencyInfo: function(v0b076)
 {
 if (v0b076.CustomNumInfo.CustomFormat =="c")
 {
 CustomNumberInfoEngine.AssignNumberType(v0b076.CustomPattern,v0b076.CustomNumInfo.Currency,v0b076.NumInfo.Currency);
 }
 },

 CreateNumberInfo: function(v02012)
 {
 if (v02012.CustomNumInfo.CustomFormat =="n")
 {
 CustomNumberInfoEngine.AssignNumberType(v02012.CustomPattern,v02012.CustomNumInfo.Number,v02012.NumInfo.Number);
 }
 },

 CreatePercentInfo: function(vd1c12)
 {
 if (vd1c12.CustomNumInfo.CustomFormat =="p")
 {
 CustomNumberInfoEngine.AssignNumberType(vd1c12.CustomPattern,vd1c12.CustomNumInfo.Percent,vd1c12.NumInfo.Percent);
 }
 },

 CreateScientificInfo: function(v70048)
 {
 if (v70048.CustomNumInfo.CustomFormat =="e")
 {
 CustomNumberInfoEngine.AssignNumberType(v70048.CustomPattern,v70048.CustomNumInfo.Scientific,v70048.NumInfo.Scientific);
 var v3e512 =CustomNumberInfoEngine.IsScientificNotation(v70048.CustomPattern);
 if (v3e512 !=null)
 {
 v70048.CustomPattern =v70048.CustomPattern.toLowerCase();
 v70048.CustomNumInfo.Scientific.Positive.ScienExpDigit =v70048.CustomPattern.length -v70048.CustomPattern.indexOf(v3e512)-v3e512.replace("0","").length;
 v70048.CustomNumInfo.Scientific.Negative.ScienExpDigit =v70048.CustomNumInfo.Scientific.Positive.ScienExpDigit;
 }
 }
 },

 GetPattern: function(v30648)
 {
 return v30648.replace(new RegExp("[\.\,e]+","g"),"").replace(new RegExp("[0#]+","g"),"n").replace(new RegExp("n+","g"),"n");
 },

 GetDecDigit: function(ve0a32,vb4c41)
 {
 vb4c41 =vb4c41 ==null ||vb4c41 ==undefined ? "." : vb4c41;
 var v68048 =0;
 if (ve0a32.indexOf(vb4c41)>-1)
 {
 var v74f1 =CustomNumberInfoEngine.IsScientificNotation(ve0a32);
 if (v74f1 !=null &&v74f1 !="")
 {
 ve0a32 =ve0a32.toLowerCase();
 ve0a32 =ve0a32.substr(0,ve0a32.indexOf(v74f1));
 }
 ve0a32 =ve0a32.replace(new RegExp("[^\#0,.]+","g"),"")
 v68048 =ve0a32.length -ve0a32.indexOf(vb4c41)-1;
 }
 return v68048;
 },

 IsHaveGroupSeparator: function(vd3a87)
 {
 return (vd3a87.indexOf(",")>-1)? true : false;
 },

 IsHaveDecimalSeparator: function(va2d87)
 {
 return (va2d87.indexOf(".")>-1)? true : false;
 },

 AssignNumberPattern: function(v30987,ve7c20,v51556,v99d60,v5f252,v39c60)
 {
 v30987.Pattern =ve7c20;
 v30987.DecimalDigit =v51556;
 if (v99d60 !=null)
 v30987.DecimalSeparator =v99d60;
 if (v5f252 !=null)
 v30987.GroupSeparator =v5f252;
 v30987.Format =v39c60;
 },

 AssignNumberType: function(v02579,vcc969,ve2560)
 {
 if (v02579.indexOf(";")>-1)
 {
 v02579 =v02579.split(";");
 CustomNumberInfoEngine.AssignNumberPattern(vcc969.Positive,CustomNumberInfoEngine.GetPattern(v02579[0]),CustomNumberInfoEngine.GetDecDigit(v02579[0]),(CustomNumberInfoEngine.IsHaveDecimalSeparator(v02579[0]))? null : "",(CustomNumberInfoEngine.IsHaveGroupSeparator(v02579[0]))? null : "",v02579[0]);
 CustomNumberInfoEngine.AssignNumberPattern(vcc969.Negative,CustomNumberInfoEngine.GetPattern(v02579[1]),CustomNumberInfoEngine.GetDecDigit(v02579[1]),(CustomNumberInfoEngine.IsHaveDecimalSeparator(v02579[1]))? null : "",(CustomNumberInfoEngine.IsHaveGroupSeparator(v02579[1]))? null : "",v02579[1]);
 if (v02579.length >2)
 vcc969.ZeroPattern =v02579[2];
 }
 else
 {
 var v17023 =v02579;
 var v34e90;

 if (v17023.indexOf("-")>-1 ||v17023.indexOf("(")>-1)
 {
 if (v17023.indexOf("-")>-1)
 v17023 =v17023.replace("-","");
 else
 {
 if (v17023.indexOf("(")>-1)
 v17023 =v17023.replace("(","");
 if (v17023.indexOf(")")>-1)
 v17023 =v17023.replace(")","");
 }
 v34e90 =v02579;
 }
 else
 {
 if (ve2560.Negative.Pattern.indexOf(v02579)<0)
 {
 if (ve2560.Symbol !=null &&ve2560.Symbol !="")
 {
 if (ve2560.Negative.Pattern.indexOf(ve2560.Symbol)>-1 &&v02579.indexOf(ve2560.Symbol)>-1)
 v02579 =v02579.replace(ve2560.Symbol,"");
 }

 v34e90 =ve2560.Negative.Pattern.replace("n",v02579);
 }
 else
 v34e90 =ve2560.Negative.Pattern;
 }

 CustomNumberInfoEngine.AssignNumberPattern(vcc969.Positive,CustomNumberInfoEngine.GetPattern(v17023),CustomNumberInfoEngine.GetDecDigit(v17023,ve2560.Positive.DecimalSeparator),(CustomNumberInfoEngine.IsHaveDecimalSeparator(v17023))? null : "",(CustomNumberInfoEngine.IsHaveGroupSeparator(v17023))? null : "",v17023);
 CustomNumberInfoEngine.AssignNumberPattern(vcc969.Negative,CustomNumberInfoEngine.GetPattern(v34e90),CustomNumberInfoEngine.GetDecDigit(v34e90,ve2560.Negative.DecimalSeparator),(CustomNumberInfoEngine.IsHaveDecimalSeparator(v34e90))? null : "",(CustomNumberInfoEngine.IsHaveGroupSeparator(v34e90))? null : "",v34e90);

 
 }
 }
};

if (typeof (Sys)!="undefined")
 Sys.Application.notifyScriptLoaded();

