2 var rslt
= navigator
.appVersion
.match(/MSIE (\d+\.\d+)/, '');
3 if (rslt
!= null ) var version
= Number(rslt
[1]);
6 window
.attachEvent("onload", hookit
);
10 var wrapper
= document
.getElementById('tawrapper');
11 if (!wrapper
) relativeforfloats();
15 // png alpha transparency fixes
19 var logoa
= document
.getElementById('portlet-logo').firstChild
;
20 var bg
= logoa
.currentStyle
.backgroundImage
;
21 if (bg
.match(/\.png/i) != null){
22 var mypng
= bg
.substring(5,bg
.length
-2);
23 logoa
.style
.backgroundImage
= "none";
24 logoa
.style
.filter
= "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng
+"', sizingMethod='image')";
29 // fix ie6 disappering float bug
30 function relativeforfloats() {
31 var bc
= document
.getElementById('bodyContent');
33 var tables
= bc
.getElementsByTagName('table');
34 var divs
= bc
.getElementsByTagName('div');
39 function setrelative (nodes
) {
41 while (i
< nodes
.length
) {
42 if(nodes
[i
].style
.float != ('none'|null) ||
43 nodes
[i
].align
!= (''|null|'none'))
44 nodes
[i
].style
.position
= 'relative';