equal
deleted
inserted
replaced
32 thestring = string; |
32 thestring = string; |
33 return place; |
33 return place; |
34 } |
34 } |
35 if (checkIt('msie')) IE = true; |
35 if (checkIt('msie')) IE = true; |
36 else IE = false; |
36 else IE = false; |
|
37 |
|
38 var is_Opera = ( checkIt('opera') ) ? true : false; |
37 |
39 |
38 var KILL_SWITCH = false; |
40 var KILL_SWITCH = false; |
39 |
41 |
40 if ( IE ) |
42 if ( IE ) |
41 { |
43 { |
212 b = reqobj[i].substr( ( reqobj[i].indexOf(':') + 1 ) ); |
214 b = reqobj[i].substr( ( reqobj[i].indexOf(':') + 1 ) ); |
213 $_REQUEST[a] = b; |
215 $_REQUEST[a] = b; |
214 } |
216 } |
215 } |
217 } |
216 |
218 |
|
219 var onload_hooks = new Array(); |
|
220 |
|
221 function addOnloadHook(func) |
|
222 { |
|
223 if ( typeof ( func ) == 'function' ) |
|
224 { |
|
225 if ( typeof(onload_hooks.push) == 'function' ) |
|
226 { |
|
227 onload_hooks.push(func); |
|
228 } |
|
229 else |
|
230 { |
|
231 onload_hooks[onload_hooks.length] = func; |
|
232 } |
|
233 } |
|
234 } |
|
235 |
|
236 function runOnloadHooks(e) |
|
237 { |
|
238 var _errorTrapper = 0; |
|
239 for ( var _oLc = 0; _oLc < onload_hooks.length; _oLc++ ) |
|
240 { |
|
241 _errorTrapper++; |
|
242 if ( _errorTrapper >= 1000 ) |
|
243 break; |
|
244 var _f = onload_hooks[_oLc]; |
|
245 if ( typeof(_f) == 'function' ) |
|
246 { |
|
247 _f(e); |
|
248 } |
|
249 } |
|
250 } |
|
251 |
217 var head = document.getElementsByTagName('head')[0]; |
252 var head = document.getElementsByTagName('head')[0]; |
218 if ( !KILL_SWITCH ) |
253 if ( !KILL_SWITCH ) |
219 { |
254 { |
220 var script = document.createElement('script'); |
255 var script = document.createElement('script'); |
221 script.type="text/javascript"; |
256 script.type="text/javascript"; |
268 } |
303 } |
269 script.src=scriptPath+"/includes/clientside/static/"+thefiles[f]; |
304 script.src=scriptPath+"/includes/clientside/static/"+thefiles[f]; |
270 head.appendChild(script); |
305 head.appendChild(script); |
271 } |
306 } |
272 |
307 |
273 var onload_hooks = new Array(); |
|
274 |
|
275 function addOnloadHook(func) |
|
276 { |
|
277 if ( typeof ( func ) == 'function' ) |
|
278 { |
|
279 if ( typeof(onload_hooks.push) == 'function' ) |
|
280 { |
|
281 onload_hooks.push(func); |
|
282 } |
|
283 else |
|
284 { |
|
285 onload_hooks[onload_hooks.length] = func; |
|
286 } |
|
287 } |
|
288 } |
|
289 |
|
290 function runOnloadHooks(e) |
|
291 { |
|
292 var _errorTrapper = 0; |
|
293 for ( var _oLc = 0; _oLc < onload_hooks.length; _oLc++ ) |
|
294 { |
|
295 _errorTrapper++; |
|
296 if ( _errorTrapper >= 1000 ) |
|
297 break; |
|
298 var _f = onload_hooks[_oLc]; |
|
299 if ( typeof(_f) == 'function' ) |
|
300 { |
|
301 _f(e); |
|
302 } |
|
303 } |
|
304 } |
|
305 |
|
306 addOnloadHook(function() { |
308 addOnloadHook(function() { |
307 if ( $_REQUEST['do'] ) |
309 if ( $_REQUEST['do'] ) |
308 { |
310 { |
309 var act = $_REQUEST['do']; |
311 var act = $_REQUEST['do']; |
310 switch(act) |
312 switch(act) |