Diff of /index.php [c30011] .. [1c18df] Maximize Restore

  Switch to unified view

a/index.php b/index.php
...
...
88
    </div> 
88
    </div> 
89
    <div id="pos2" class="rotation" style="left: 435px">
89
    <div id="pos2" class="rotation" style="left: 435px">
90
    <img src="images/banners/pos-2-opt-0.jpg" height="79px" width="93px"/>
90
    <img src="images/banners/pos-2-opt-0.jpg" height="79px" width="93px"/>
91
    <img src="images/banners/pos-2-opt-1.jpg" height="79px" width="93px"/>
91
    <img src="images/banners/pos-2-opt-1.jpg" height="79px" width="93px"/>
92
    <img src="images/banners/pos-2-opt-2.jpg" height="79px" width="93px"/>
92
    <img src="images/banners/pos-2-opt-2.jpg" height="79px" width="93px"/>
93
    </div> 
93
    </div>
94
    <div id="pos3" class="rotation" style="left: 555px">
94
    <div id="pos4" class="rotation" style="left: 555px">
95
  <img src="images/banners/pos-3-opt-0.jpg" height="79px" width="107px"/>
96
  <img src="images/banners/pos-3-opt-1.jpg" height="79px" width="107px"/>
97
  </div> 
98
  <div id="pos4" class="rotation" style="left: 685px">
99
    <img src="images/banners/pos-4-opt-0.jpg" height="79px" width="110px"/>
95
    <img src="images/banners/pos-4-opt-0.jpg" height="79px" width="110px"/>
100
    <img src="images/banners/pos-4-opt-1.jpg" height="79px" width="110px"/>
96
    <img src="images/banners/pos-4-opt-1.jpg" height="79px" width="110px"/>
101
    </div> 
97
    </div> 
98
    <div id="cse-search-form" style="position: absolute; top: 20px; left: 700px">Loading</div>
102
  </div> 
99
  </div> 
103
  <!-- END BANNER -->
100
  <!-- END BANNER -->
104
101
105
  <!-- SIDE BAR -->
102
  <!-- SIDE BAR -->
106
  <div class="sidebar-container">
103
  <div class="sidebar-container">
...
...
110
  
107
  
111
  <!-- END GOOGLE SEARCH -->
108
  <!-- END GOOGLE SEARCH -->
112
  <table id="cse-container">
109
  <table id="cse-container">
113
    <tr>
110
    <tr>
114
     <td id="cse"></td>
111
     <td id="cse"></td>
115
     <td id="cse-search-form">Loading</td>
116
    </tr>
112
    </tr>
117
  </table>
113
  </table>
118
  <script src="http://www.google.com/jsapi" type="text/javascript"></script>
114
  <script src="http://www.google.com/jsapi" type="text/javascript"></script>
119
  <script type="text/javascript">
115
  <script type="text/javascript">
120
  google.load('search', '1', {language : 'en'});
116
  google.load('search', '1', {language : 'en'});
...
...
156
    // 
152
    // 
157
    
153
    
158
    // Change a random part of the banner.
154
    // Change a random part of the banner.
159
    function changeBanner() {
155
    function changeBanner() {
160
        var rand = Math.random();
156
        var rand = Math.random();
161
        if (0.00 < rand && rand < 0.25) $('.banner #pos1').cycle('next');
157
        if (0.00 < rand && rand < 0.33) $('.banner #pos1').cycle('next');
162
        if (0.25 < rand && rand < 0.50) $('.banner #pos2').cycle('next');
158
        if (0.33 < rand && rand < 0.66) $('.banner #pos2').cycle('next');
163
      if (0.50 < rand && rand < 0.75) $('.banner #pos3').cycle('next');
164
        if (0.75 < rand && rand < 1.00) $('.banner #pos4').cycle('next');
159
        if (0.66 < rand && rand < 1.00) $('.banner #pos4').cycle('next');
165
    }
160
    }
166
    
161
    
167
    // Change the banner every 5 seconds forever.
162
    // Change the banner every 5 seconds forever.
168
    function rotateBanner() {
163
    function rotateBanner() {
169
        changeBanner();
164
        changeBanner();