2 var rslt
= navigator
.appVersion
.match(/MSIE (\d+\.\d+)/, '');
3 if (rslt
!= null ) var version
= Number(rslt
[1]);
6 window
.attachEvent("onload", hookit
);
12 // png alpha transparency fixes
16 var logoa
= document
.getElementById('p-logo').firstChild
;
17 var bg
= logoa
.currentStyle
.backgroundImage
;
18 if (bg
.match(/\.png/i) != null){
19 var mypng
= bg
.substring(5,bg
.length
-2);
20 logoa
.style
.backgroundImage
= "none";
21 logoa
.style
.filter
= "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng
+"', sizingMethod='crop')";
26 // fix ie6 disappering float bug
27 function relativeforfloats() {
28 var bc
= document
.getElementById('bodyContent');
30 var tables
= bc
.getElementsByTagName('table');
31 var divs
= bc
.getElementsByTagName('div');
36 function setrelative (nodes
) {
38 while (i
< nodes
.length
) {
39 if(((nodes
[i
].style
.float && nodes
[i
].style
.float != ('none') ||
40 (nodes
[i
].align
&& nodes
[i
].align
!= ('none'))) &&
41 (!nodes
[i
].style
.position
|| nodes
[i
].style
.position
!= 'relative')))
43 nodes
[i
].style
.position
= 'relative';