Index: branches/ReklamaReorganizacja/BazaReklam/OrderDetails.cs
===================================================================
--- branches/ReklamaReorganizacja/BazaReklam/OrderDetails.cs (revision 658)
+++ branches/ReklamaReorganizacja/BazaReklam/OrderDetails.cs (revision 667)
@@ -1605,8 +1605,8 @@
             //set the module size
             sZERTextBox.Visible = SelectedModule.Width.HasValue;
-            sZERTextBox.Text = SelectedModule.Width.HasValue ? (SelectedModule.Width.Value * 10).ToString("#0") : 1.ToString();
+            sZERTextBox.Text = SelectedModule.Width.HasValue ? (SelectedModule.Width.Value).ToString("#0") : 1.ToString();
 
             wYSTextBox.Visible = SelectedModule.Height.HasValue;
-            wYSTextBox.Text = SelectedModule.Height.HasValue ? (SelectedModule.Height.Value * 10).ToString("#0") : 1.ToString();
+            wYSTextBox.Text = SelectedModule.Height.HasValue ? (SelectedModule.Height.Value).ToString("#0") : 1.ToString();
 
             bool readOnly = !AdHelper.EnableModuleCount(SelectedModule);
Index: branches/ReklamaReorganizacja/BazaReklam/Classes/Helpers/AdHelper.cs
===================================================================
--- branches/ReklamaReorganizacja/BazaReklam/Classes/Helpers/AdHelper.cs (revision 658)
+++ branches/ReklamaReorganizacja/BazaReklam/Classes/Helpers/AdHelper.cs (revision 667)
@@ -10,47 +10,6 @@
     }
 
-    //public struct ModuleCount
-    //{
-    //    public int Horizontal;
-    //    public int Vertical;
-    //}
-
-
     public class AdHelper
     {
-        ////TODO: get the initial ad size, margin size and max width height from db
-        //public static ModuleCount GetModuleCount(Module module, REKLAMADataSet.REKLAMARow reklama)
-        //{
-        //    int horizontal = 0;
-        //    int vertical = 0;
-
-        //    if (module.Section.Title.ShortName == "AMT")
-        //    {
-        //        if (module.Section.Name.ToUpper() == "ZOOM")
-        //        {
-        //            //max 5 x 6
-        //            horizontal = Convert.ToInt32((reklama.SZER + 3) / 48);
-        //            vertical = Convert.ToInt32((reklama.WYS + 3) / 53.33);
-        //        }
-        //        else
-        //        {
-        //            //max 8 x 8
-        //            horizontal = Convert.ToInt32((reklama.SZER + 3) / 30);
-        //            vertical = Convert.ToInt32((reklama.WYS + 3) / 40);
-        //        }
-        //    }
-        //    else if (module.Section.Title.ShortName == "GS")
-        //    {
-        //        //max 3 x 4
-        //        horizontal = Convert.ToInt32((reklama.SZER + 3) / 70);
-        //        vertical = Convert.ToInt32((reklama.WYS + 3) / 68);
-        //    }
-
-        //    ModuleCount moduleCount = new ModuleCount();
-        //    moduleCount.Horizontal = horizontal;
-        //    moduleCount.Vertical = vertical;
-        //    return moduleCount;
-        //}
-
         //TODO: get the initial ad size, margin size and max width height from db
         public static AdSize GetAdSize(int horizontal, int vertical, Module module)
@@ -60,6 +19,6 @@
             if (!EnableModuleCount(module))
             {
-                adSize.Width = Convert.ToInt32(module.Width * 10);
-                adSize.Height = Convert.ToInt32(module.Height * 10);
+                adSize.Width = Convert.ToInt32(module.Width);
+                adSize.Height = Convert.ToInt32(module.Height);
                 return adSize;
             }
Index: branches/ReklamaReorganizacja/BazaReklam/app.config
===================================================================
--- branches/ReklamaReorganizacja/BazaReklam/app.config (revision 665)
+++ branches/ReklamaReorganizacja/BazaReklam/app.config (revision 667)
@@ -8,5 +8,5 @@
   <connectionStrings>
     <clear />
-    <add name="BAZA_REKLAM" connectionString="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM;Persist Security Info=True"
+    <add name="BAZA_REKLAM_TEST" connectionString="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM_TEST;Persist Security Info=True"
       providerName="System.Data.SqlClient" />
   </connectionStrings>
