
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 7/28/2011 10:52:18 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(v27843,v1cc67){ var v25c43; var v7a167; if (ISXml ==null) v7a167 =document.getElementById(IS.CultureInfoPrefix +v27843 +(v1cc67 ==true ? "_c" : "")); else v7a167 =ISXml.GetElementById(IS.CultureInfoPrefix +v27843 +(v1cc67 ==true ? "_c" : "")); if (v7a167 !=null)v25c43 =new ISCultureInfo(v7a167.selectSingleNode("//XMLCultureInfo")); return v25c43;}function GetDecimalSeparator(v40798,vfbc46){ var v2a598; if (vfbc46.indexOf(v40798.Currency.Symbol)>-1 ||vfbc46.toLowerCase()=="c") v2a598 =vfbc46.indexOf("-")>-1 ||vfbc46.indexOf("(")>-1 ? v40798.Currency.Negative.DecimalSeparator : v40798.Currency.Positive.DecimalSeparator; else { if (vfbc46.indexOf(v40798.Percent.Symbol)>-1 ||vfbc46.toLowerCase()=="p") v2a598 =vfbc46.indexOf("-")>-1 ||vfbc46.indexOf("(")>-1 ? v40798.Percent.Negative.DecimalSeparator : v40798.Percent.Positive.DecimalSeparator; else { if (vfbc46.indexOf("e0")>-1 ||vfbc46.indexOf("e+0")>-1 ||vfbc46.indexOf("e-0")>-1 ||vfbc46.toLowerCase()=="f") v2a598 =vfbc46.indexOf("-")>-1 ||vfbc46.indexOf("(")>-1 ? v40798.Scientific.Negative.DecimalSeparator : v40798.Scientific.Positive.DecimalSeparator; else v2a598 =vfbc46.indexOf("-")>-1 ||vfbc46.indexOf("(")>-1 ? v40798.Number.Negative.DecimalSeparator : v40798.Number.Positive.DecimalSeparator; } } return v2a598;}function GetGroupSeparator(v2aa34,v2c716){ var v70b34; if (v2c716.indexOf(v2aa34.Currency.Symbol)>-1) v70b34 =v2c716.indexOf("-")>-1 ||v2c716.indexOf("(")>-1 ? v2aa34.Currency.Negative.GroupSeparator : v2aa34.Currency.Positive.GroupSeparator; else { if (v2c716.indexOf(v2aa34.Percent.Symbol)>-1) v70b34 =v2c716.indexOf("-")>-1 ||v2c716.indexOf("(")>-1 ? v2aa34.Percent.Negative.GroupSeparator : v2aa34.Percent.Positive.GroupSeparator; else { if (v2c716.indexOf("e0")>-1 ||v2c716.indexOf("e+0")>-1 ||v2c716.indexOf("e-0")>-1) v70b34 =v2c716.indexOf("-")>-1 ||v2c716.indexOf("(")>-1 ? v2aa34.Scientific.Negative.GroupSeparator : v2aa34.Scientific.Positive.GroupSeparator; else v70b34 =v2c716.indexOf("-")>-1 ||v2c716.indexOf("(")>-1 ? v2aa34.Number.Negative.GroupSeparator : v2aa34.Number.Positive.GroupSeparator; } } return v70b34;}function GetSymbol(vb8e70,v1c685){ var v6d370 =""; if (v1c685.indexOf(vb8e70.Currency.Symbol)>-1) v6d370 =vb8e70.Currency.Symbol; else { if (v1c685.indexOf(vb8e70.Percent.Symbol)>-1) v6d370 =vb8e70.Percent.Symbol; } return v6d370;}function GetFullFormatDate(vbd170,vaec85){ if (vbd170 ==null ||vaec85 ==null) return ""; else { if (vaec85.length >1)return ""; } var v8a170 =vbd170.StandarFormat; var v0db85 =""; switch (vaec85) { case "F": v0db85 =v8a170.FullDateTime; break; case "f": v0db85 =v8a170.FullDateTimeShortTime; break; case "D": v0db85 =v8a170.LongDate; break; case "d": v0db85 =v8a170.ShortDate; break; case "T": v0db85 =v8a170.LongTime; break; case "t": v0db85 =v8a170.ShortTime; break; case "m": v0db85 =v8a170.MonthDay; break; case "y": v0db85 =v8a170.YearMonth; break; case "g": v0db85 =v8a170.GeneralShortTime; break; case "G": v0db85 =v8a170.GeneralLongTime; break; } return v0db85;}function ISStandarFormat(v65254,vcb425,vb045,v6d821,vf2224,v1c387,v1d353,v6a079,v20915,v75196){ var v5d970 =new RegExp("\\'","g"); this.FullDateTime =v65254.replace(v5d970,""); this.FullDateTimeShortTime =vcb425.replace(v5d970,""); this.LongDate =vb045.replace(v5d970,""); this.ShortDate =v6d821.replace(v5d970,""); this.LongTime =vf2224.replace(v5d970,""); this.ShortTime =v1c387.replace(v5d970,""); this.MonthDay =v1d353.replace(v5d970,""); this.YearMonth =v6a079.replace(v5d970,""); this.GeneralShortTime =v20915.replace(v5d970,""); this.GeneralLongTime =v75196.replace(v5d970,""); this.FullDateTimeRaw =v65254; this.FullDateTimeShortTimeRaw =vcb425; this.LongDateRaw =vb045; this.ShortDateRaw =v6d821; this.LongTimeRaw =vf2224; this.ShortTimeRaw =v1c387; this.MonthDayRaw =v1d353; this.YearMonthRaw =v6a079; this.GeneralShortTimeRaw =v20915; this.GeneralLongTimeRaw =v75196;}function ISNumericType(veee73,vd4d35){ this.Symbol =veee73; this.GroupSizes =vd4d35; this.Positive =new ISNumberPattern(); this.Negative =new ISNumberPattern(); this.ZeroPattern ="0";}function ISNumberPattern(v4bd9,v0be4,vfab91,vdff25,v08b46,veab94){ this.Pattern =v4bd9; this.DecimalDigit =parseFloat(v0be4); this.DecimalSeparator =vfab91; this.GroupSeparator =vdff25; this.Format =v08b46; this.Type =veab94;}function ISCultureInfo(vd6064){ if (vd6064 ==null)return; this.XmlDt =vd6064; this.NumberFormatInfo =this.DateTimeFormatInfo =null; CultureInfoEngine.ParseDateTimeInfo(this); CultureInfoEngine.ParseNumberInfo(this);}var CultureInfoEngine ={ GetDefaultCulture: function() { var v99044 ="<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 v38b49 =ISXml.CreateXmlDocument(); var va2e70 =null; ISXml.LoadXml(v38b49,v99044); va2e70 =new ISCultureInfo(v38b49.selectSingleNode("//XMLCultureInfo")); return va2e70; }, CopyNumberPattern: function(v28864,v6bc59) { v6bc59.Pattern =v28864.Pattern; v6bc59.DecimalDigit =v28864.DecimalDigit; v6bc59.DecimalSeparator =v28864.DecimalSeparator; v6bc59.GroupSeparator =v28864.GroupSeparator; v6bc59.Format =v28864.Format; v6bc59.Type =v28864.Type; }, CopyNumberFormatInfo: function(v6850,v12e28) { v12e28.PositiveSign =v6850.PositiveSign; v12e28.NegativeSign =v6850.NegativeSign; v12e28.Currency =new ISNumericType(v6850.Currency.Symbol,v6850.Currency.GroupSizes); CultureInfoEngine.CopyNumberPattern(v6850.Currency.Positive,v12e28.Currency.Positive); CultureInfoEngine.CopyNumberPattern(v6850.Currency.Negative,v12e28.Currency.Negative); v12e28.Number =new ISNumericType(v6850.Number.Symbol,v6850.Number.GroupSizes); CultureInfoEngine.CopyNumberPattern(v6850.Number.Positive,v12e28.Number.Positive); CultureInfoEngine.CopyNumberPattern(v6850.Number.Negative,v12e28.Number.Negative); v12e28.Decimal =new ISNumericType(v6850.Decimal.Symbol,v6850.Decimal.GroupSizes); CultureInfoEngine.CopyNumberPattern(v6850.Decimal.Positive,v12e28.Decimal.Positive); CultureInfoEngine.CopyNumberPattern(v6850.Decimal.Negative,v12e28.Decimal.Negative); v12e28.Percent =new ISNumericType(v6850.Percent.Symbol,v6850.Percent.GroupSizes); CultureInfoEngine.CopyNumberPattern(v6850.Percent.Positive,v12e28.Percent.Positive); CultureInfoEngine.CopyNumberPattern(v6850.Percent.Negative,v12e28.Percent.Negative); v12e28.Scientific =new ISNumericType(v6850.Scientific.Symbol,v6850.Scientific.GroupSizes); CultureInfoEngine.CopyNumberPattern(v6850.Scientific.Positive,v12e28.Scientific.Positive); CultureInfoEngine.CopyNumberPattern(v6850.Scientific.Negative,v12e28.Scientific.Negative); }, ParseDateTimeInfo: function(veab19) { if (veab19.XmlDt) { var vec983 =veab19.XmlDt.selectSingleNode("//DateTimeFormatInfo"); if (vec983) { var vf3a68 =new Object(); with (vec983) { vf3a68.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); vf3a68.DayNames =CultureInfoEngine.GetArrayElement(selectNodes("//DayNames/*"));
 vf3a68.AbbreviatedDayNames =CultureInfoEngine.GetArrayElement(selectNodes("//AbbreviatedDayNames/*"));
 vf3a68.MonthNames =CultureInfoEngine.GetArrayElement(selectNodes("//MonthNames/*"));
 vf3a68.AbbreviatedMonthNames =CultureInfoEngine.GetArrayElement(selectNodes("//AbbreviatedMonthNames/*"));
 vf3a68.AMDesignator =selectSingleNode("//AMDesignator").text;
 vf3a68.PMDesignator =selectSingleNode("//PMDesignator").text;
 vf3a68.DateSeparator =selectSingleNode("//DateSeparator").text;
 vf3a68.TimeSeparator =selectSingleNode("//TimeSeparator").text;
 vf3a68.EraName =selectSingleNode("//EraName").text;
 vf3a68.FirstDayOfWeek =selectSingleNode("//FirstDayOfWeek").text;
 vf3a68.CalendarWeekRule =selectSingleNode("//CalendarWeekRule").text;
 }
 vf3a68.PNode =vec983;
 veab19.DateTimeFormatInfo =vf3a68;
 }
 }
 },

 ParseNumberInfo: function(vb1a55)
 {
 if (vb1a55.XmlDt)
 {
 var vd2755 =vb1a55.XmlDt.selectSingleNode("//NumberFormatInfo");
 if (vd2755)
 {
 var vc3f7 =new Object();

 with (vd2755)
 {
 vc3f7.Currency =new ISNumericType(selectSingleNode("//CurrencySymbol").text,CultureInfoEngine.GetArrayElement(selectNodes("//CurrencyGroupSizes/*")));
 vc3f7.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");
 vc3f7.Currency.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(vc3f7.Currency.Positive,vc3f7.Currency.Negative);
 vc3f7.Currency.Negative.Pattern =selectSingleNode("//CurrencyNegativePattern").text;
 vc3f7.Currency.Negative.Format =CultureInfoEngine.CreateNumberFormat("#,##0",selectSingleNode("//CurrencyNegativePattern").text,selectSingleNode("//CurrencyDecimalDigits").text);

 vc3f7.Number =new ISNumericType("",CultureInfoEngine.GetArrayElement(selectNodes("//NumberGroupSizes/*")));
 vc3f7.Number.Positive =new ISNumberPattern("n",selectSingleNode("//NumberDecimalDigits").text,selectSingleNode("//NumberDecimalSeparator").text,selectSingleNode("//NumberGroupSeparator").text,CultureInfoEngine.CreateNumberFormat("#,##0","n",selectSingleNode("//NumberDecimalDigits").text),"n");
 vc3f7.Number.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(vc3f7.Number.Positive,vc3f7.Number.Negative);
 vc3f7.Number.Negative.Pattern =selectSingleNode("//NumberNegativePattern").text;
 vc3f7.Number.Negative.Format =CultureInfoEngine.CreateNumberFormat("#,##0",selectSingleNode("//NumberNegativePattern").text,selectSingleNode("//NumberDecimalDigits").text);

 vc3f7.Decimal =new ISNumericType("");
 vc3f7.Decimal.Positive =new ISNumberPattern("n",0,"","",CultureInfoEngine.CreateNumberFormat("0","n",0),"d");
 vc3f7.Decimal.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(vc3f7.Decimal.Positive,vc3f7.Decimal.Negative);
 vc3f7.Decimal.Negative.Pattern =selectSingleNode("//NumberNegativePattern").text;
 vc3f7.Decimal.Negative.Format =CultureInfoEngine.CreateNumberFormat("0",selectSingleNode("//NumberNegativePattern").text,0);

 vc3f7.Percent =new ISNumericType(selectSingleNode("//PercentSymbol").text,CultureInfoEngine.GetArrayElement(selectNodes("//PercentGroupSizes/*")));
 vc3f7.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");
 vc3f7.Percent.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(vc3f7.Percent.Positive,vc3f7.Percent.Negative);
 vc3f7.Percent.Negative.Pattern =selectSingleNode("//PercentNegativePattern").text;
 vc3f7.Percent.Negative.Format =CultureInfoEngine.CreateNumberFormat("#,##0",selectSingleNode("//PercentNegativePattern").text,selectSingleNode("//PercentDecimalDigits").text);

 vc3f7.PositiveSign =selectSingleNode("//PositiveSign").text;
 vc3f7.NegativeSign =selectSingleNode("//NegativeSign").text;

 vc3f7.Scientific =new ISNumericType("");
 vc3f7.Scientific.Positive =new ISNumberPattern("n",selectSingleNode("//NumberDecimalDigits").text,selectSingleNode("//NumberDecimalSeparator").text,"",CultureInfoEngine.CreateNumberFormat("0","n",selectSingleNode("//NumberDecimalDigits").text),"e");
 vc3f7.Scientific.Positive.Format +="E+000";
 vc3f7.Scientific.Positive.ScienExpDigit =selectSingleNode("//ScienExpDigit").text;
 vc3f7.Scientific.Negative =new ISNumberPattern();
 CultureInfoEngine.CopyNumberPattern(vc3f7.Scientific.Positive,vc3f7.Scientific.Negative);
 vc3f7.Scientific.Negative.Pattern =selectSingleNode("//NumberNegativePattern").text;
 vc3f7.Scientific.Negative.ScienExpDigit =selectSingleNode("//ScienExpDigit").text;
 }
 vc3f7.PNode =vd2755;
 vb1a55.NumberFormatInfo =vc3f7;
 }
 }
 },

 GetArrayElement: function(v05c11)
 {
 var v6d375 =new Array();
 for (var v9d017 =0; v9d017 <v05c11.length; v9d017++)
 {
 v6d375[v9d017] =v05c11[v9d017].text;
 }
 return v6d375;
 },

 CreateNumberFormat: function(v33730,v72496,v2fe92)
 {
 var vb5e94 ="";
 for (var v62726 =0; v62726 <v2fe92; v62726++)
 {
 vb5e94 =vb5e94 +"0";
 }
 if (vb5e94.length >0)
 vb5e94 ="." +vb5e94;
 return v72496.replace("n",v33730 +vb5e94);
 }

}

function ISCustomNumberInfo(v80764,v86f83)
{
 this.CustomPattern =v80764;
 this.CustomFormat =null;
 this.NumInfo =v86f83;
 this.CustomNumInfo =new Object();
 this.Create =
 function(v80764,v86f83)
 {
 if (v80764 !=null &&this.CustomPattern !=v80764)this.CustomPattern =v80764;
 if (v86f83 !=null &&this.NumInfo !=v86f83)this.NumInfo =v86f83;
 return CustomNumberInfoEngine.Create(this);
 };

}

function TrimLiteralFromCustomPattern(v09931)
{
 var v8bd0 ="";
 var v12453 =false;
 var v2af94 =null;
 var v44769 =null;

 for (var v38791 =0; v38791 <v09931.length; v38791++)
 {
 v44769 =v09931.charAt(v38791);

 if (v12453 ==false)
 {
 switch (v44769)
 {
 case "\\":
 v12453 =true;
 break;
 case "'":
 if (v2af94 ==null)
 {
 v2af94 ="'";
 v12453 =true;
 }
 break;
 case "\"":
 if (v2af94 ==null)
 {
 v2af94 ="\"";
 v12453 =true;
 }
 break;
 }
 }
 else
 {
 switch (v44769)
 {
 case "'":
 if (v2af94 =="'")
 {
 v2af94 =null;
 v12453 =false;
 continue;
 }
 break;
 case "\"":
 if (v2af94 =="\"")
 {
 v2af94 =null;
 v12453 =false;
 continue;
 }
 break;
 default:
 if (v2af94 =="\\")
 {
 v2af94 =null;
 v12453 =false;
 continue;
 }
 break;
 }
 }

 if (v12453 ==false)
 v8bd0 +=v44769;
 }

 return v8bd0;
}

var CustomNumberInfoEngine =
{
 Create: function(vf4929)
 {
 CultureInfoEngine.CopyNumberFormatInfo(vf4929.NumInfo,vf4929.CustomNumInfo);
 CustomNumberInfoEngine.CheckCustomFormat(vf4929);
 CustomNumberInfoEngine.CreateCurrencyInfo(vf4929);
 CustomNumberInfoEngine.CreateNumberInfo(vf4929);
 CustomNumberInfoEngine.CreatePercentInfo(vf4929);
 CustomNumberInfoEngine.CreateScientificInfo(vf4929);
 return vf4929.CustomNumInfo;
 },


 CheckCustomFormat: function(v82d65)
 {
 var vae629 =TrimLiteralFromCustomPattern(v82d65.CustomPattern);
 v82d65.CustomNumInfo.CustomFormat =(vae629.indexOf(v82d65.NumInfo.Currency.Symbol)>-1)? "c" : ((vae629.indexOf(v82d65.NumInfo.Percent.Symbol)>-1)? "p" : ((CustomNumberInfoEngine.IsScientificNotation(vae629)!="")? "e" : "n"));
 },

 IsScientificNotation: function(v8814)
 {
 var v2cb65 =new Array("e0","e+0","e-0");
 var v77a85 =v8814.toLowerCase();
 var vec287 =false;
 var v5b482;
 for (v5b482 =0; v5b482 <v2cb65.length; v5b482++)
 {
 if (v77a85.indexOf(v2cb65[v5b482])>-1)
 {vec287 =true; break; }
 }
 if (vec287)
 return v2cb65[v5b482];
 else
 return "";
 },

 CreateCurrencyInfo: function(v32d40)
 {
 if (v32d40.CustomNumInfo.CustomFormat =="c")
 {
 CustomNumberInfoEngine.AssignNumberType(v32d40.CustomPattern,v32d40.CustomNumInfo.Currency,v32d40.NumInfo.Currency);
 }
 },

 CreateNumberInfo: function(v08140)
 {
 if (v08140.CustomNumInfo.CustomFormat =="n")
 {
 CustomNumberInfoEngine.AssignNumberType(v08140.CustomPattern,v08140.CustomNumInfo.Number,v08140.NumInfo.Number);
 }
 },

 CreatePercentInfo: function(v05f40)
 {
 if (v05f40.CustomNumInfo.CustomFormat =="p")
 {
 CustomNumberInfoEngine.AssignNumberType(v05f40.CustomPattern,v05f40.CustomNumInfo.Percent,v05f40.NumInfo.Percent);
 }
 },

 CreateScientificInfo: function(v1dc40)
 {
 if (v1dc40.CustomNumInfo.CustomFormat =="e")
 {
 CustomNumberInfoEngine.AssignNumberType(v1dc40.CustomPattern,v1dc40.CustomNumInfo.Scientific,v1dc40.NumInfo.Scientific);
 var vda740 =CustomNumberInfoEngine.IsScientificNotation(v1dc40.CustomPattern);
 if (vda740 !=null)
 {
 v1dc40.CustomPattern =v1dc40.CustomPattern.toLowerCase();
 v1dc40.CustomNumInfo.Scientific.Positive.ScienExpDigit =v1dc40.CustomPattern.length -v1dc40.CustomPattern.indexOf(vda740)-vda740.replace("0","").length;
 v1dc40.CustomNumInfo.Scientific.Negative.ScienExpDigit =v1dc40.CustomNumInfo.Scientific.Positive.ScienExpDigit;
 }
 }
 },

 GetPattern: function(v44740)
 {
 return v44740.replace(new RegExp("[\.\,e]+","g"),"").replace(new RegExp("[0#]+","g"),"n").replace(new RegExp("n+","g"),"n");
 },

 GetDecDigit: function(vf2976,v8d743)
 {
 v8d743 =v8d743 ==null ||v8d743 ==undefined ? "." : v8d743;
 var vf2e40 =0;
 if (vf2976.indexOf(v8d743)>-1)
 {
 var v16274 =CustomNumberInfoEngine.IsScientificNotation(vf2976);
 if (v16274 !=null &&v16274 !="")
 {
 vf2976 =vf2976.toLowerCase();
 vf2976 =vf2976.substr(0,vf2976.indexOf(v16274));
 }
 vf2976 =vf2976.replace(new RegExp("[^\#0,.]+","g"),"")
 vf2e40 =vf2976.length -vf2976.indexOf(v8d743)-1;
 }
 return vf2e40;
 },

 IsHaveGroupSeparator: function(v93860)
 {
 return (v93860.indexOf(",")>-1)? true : false;
 },

 IsHaveDecimalSeparator: function(vcce60)
 {
 return (vcce60.indexOf(".")>-1)? true : false;
 },

 AssignNumberPattern: function(v71860,v37083,v0346,v2cc9,vc6436,v65350)
 {
 v71860.Pattern =v37083;
 v71860.DecimalDigit =v0346;
 if (v2cc9 !=null)
 v71860.DecimalSeparator =v2cc9;
 if (vc6436 !=null)
 v71860.GroupSeparator =vc6436;
 v71860.Format =v65350;
 },

 AssignNumberType: function(vf3315,va7562,v1e591)
 {
 if (vf3315.indexOf(";")>-1)
 {
 vf3315 =vf3315.split(";");
 CustomNumberInfoEngine.AssignNumberPattern(va7562.Positive,CustomNumberInfoEngine.GetPattern(vf3315[0]),CustomNumberInfoEngine.GetDecDigit(vf3315[0]),(CustomNumberInfoEngine.IsHaveDecimalSeparator(vf3315[0]))? null : "",(CustomNumberInfoEngine.IsHaveGroupSeparator(vf3315[0]))? null : "",vf3315[0]);
 CustomNumberInfoEngine.AssignNumberPattern(va7562.Negative,CustomNumberInfoEngine.GetPattern(vf3315[1]),CustomNumberInfoEngine.GetDecDigit(vf3315[1]),(CustomNumberInfoEngine.IsHaveDecimalSeparator(vf3315[1]))? null : "",(CustomNumberInfoEngine.IsHaveGroupSeparator(vf3315[1]))? null : "",vf3315[1]);
 if (vf3315.length >2)
 va7562.ZeroPattern =vf3315[2];
 }
 else
 {
 var v8ce96 =vf3315;
 var vefc53;

 if (v8ce96.indexOf("-")>-1 ||v8ce96.indexOf("(")>-1)
 {
 if (v8ce96.indexOf("-")>-1)
 v8ce96 =v8ce96.replace("-","");
 else
 {
 if (v8ce96.indexOf("(")>-1)
 v8ce96 =v8ce96.replace("(","");
 if (v8ce96.indexOf(")")>-1)
 v8ce96 =v8ce96.replace(")","");
 }
 vefc53 =vf3315;
 }
 else
 {
 if (v1e591.Negative.Pattern.indexOf(vf3315)<0)
 {
 if (v1e591.Symbol !=null &&v1e591.Symbol !="")
 {
 if (v1e591.Negative.Pattern.indexOf(v1e591.Symbol)>-1 &&vf3315.indexOf(v1e591.Symbol)>-1)
 vf3315 =vf3315.replace(v1e591.Symbol,"");
 }

 vefc53 =v1e591.Negative.Pattern.replace("n",vf3315);
 }
 else
 vefc53 =v1e591.Negative.Pattern;
 }

 CustomNumberInfoEngine.AssignNumberPattern(va7562.Positive,CustomNumberInfoEngine.GetPattern(v8ce96),CustomNumberInfoEngine.GetDecDigit(v8ce96,v1e591.Positive.DecimalSeparator),(CustomNumberInfoEngine.IsHaveDecimalSeparator(v8ce96))? null : "",(CustomNumberInfoEngine.IsHaveGroupSeparator(v8ce96))? null : "",v8ce96);
 CustomNumberInfoEngine.AssignNumberPattern(va7562.Negative,CustomNumberInfoEngine.GetPattern(vefc53),CustomNumberInfoEngine.GetDecDigit(vefc53,v1e591.Negative.DecimalSeparator),(CustomNumberInfoEngine.IsHaveDecimalSeparator(vefc53))? null : "",(CustomNumberInfoEngine.IsHaveGroupSeparator(vefc53))? null : "",vefc53);

 
 }
 }
};

if (typeof (Sys)!="undefined")
 Sys.Application.notifyScriptLoaded();


