1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
| var ie = window.navigator.appName=='Microsoft Internet Explorer' ? true : false;
var el=[];
el[0]= document.createElement('div');
el[0].setAttribute('id', 'tooltip_panel');
el[0].setAttribute('style', 'position: absolute; z-index: 30; visibility:hidden; display:none;');
document.body.appendChild(el[0]);
el[1]= document.createElement('table');
el[1].setAttribute('border', '0');
el[1].setAttribute('cellspacing', '0');
el[1].setAttribute('cellpadding', '0');
el[0].appendChild(el[1]);
el[2]= document.createElement('tr');
el[1].appendChild(el[2]);
el[14]= document.createElement('td');
el[2].appendChild(el[14]);
el[3]= document.createElement('div');
if(args['img']) {
if(ie && args['bg_img_1'].toLowerCase().indexOf('.png')!= -1) {
el[3].setAttribute('style', 'background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+args['bg_img_1']+'",sizingMethod="scale"); width:'+args['width']+'px; height:'+args['height']+'px;');
}
else {
el[3].setAttribute('style', 'background-image:url('+args['bg_img_1']+'); width:'+args['width']+'px; height:'+args['height']+'px;');
}
}
else {
el[3].setAttribute('style', 'border-top:'+args['border']+'; border-left:'+args['border']+'; background-color:'+args['bg_color']+'; width:'+args['width']+'px; height:'+args['height']+'px;');
}
el[14].appendChild(el[3]);
el[15]= document.createElement('td');
el[2].appendChild(el[15]);
el[4]= document.createElement('div');
if(args['img']) {
if(ie && args['bg_img_2'].toLowerCase().indexOf('.png')!= -1) {
el[4].setAttribute('style', 'background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+args['bg_img_2']+'",sizingMethod="scale"); height:'+args['height']+'px;');
}
else {
el[4].setAttribute('style', 'background-image:url('+args['bg_img_2']+'); height:'+args['height']+'px;');
}
}
else {
el[4].setAttribute('style', 'border-top:'+args['border']+'; background-color:'+args['bg_color']+'; height:'+args['height']+'px;');
}
el[15].appendChild(el[4]);
el[16]= document.createElement('td');
el[2].appendChild(el[16]);
el[5]= document.createElement('div');
if(args['img']) {
if(ie && args['bg_img_3'].toLowerCase().indexOf('.png')!= -1) {
el[5].setAttribute('style', 'background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+args['bg_img_3']+'",sizingMethod="scale"); width:'+args['width']+'px; height:'+args['height']+'px;');
}
else {
el[5].setAttribute('style', 'background-image:url('+args['bg_img_3']+'); width:'+args['width']+'px; height:'+args['height']+'px;');
}
}
else {
el[5].setAttribute('style', 'border-top:'+args['border']+'; border-right:'+args['border']+'; background-color:'+args['bg_color']+'; width:'+args['width']+'px; height:'+args['height']+'px;');
}
el[16].appendChild(el[5]);
el[6]= document.createElement('tr');
el[1].appendChild(el[6]);
el[7]= document.createElement('td');
if(args['img']) {
if(ie && args['bg_img_4'].toLowerCase().indexOf('.png')!= -1) {
el[7].setAttribute('style', 'background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+args['bg_img_4']+'",sizingMethod="scale"); width:'+args['width']+'px;');
}
else {
el[7].setAttribute('style', 'background-image:url('+args['bg_img_4']+'); width:'+args['width']+'px;');
}
}
else {
el[7].setAttribute('style', 'border-left:'+args['border']+'; background-color:'+args['bg_color']+'; width:'+args['width']+'px;');
}
el[6].appendChild(el[7]);
el[17]= document.createElement('td');
el[6].appendChild(el[17]);
el[8]= document.createElement('div');
el[8].setAttribute('id', 'td_tooltip_txt');
el[8].setAttribute('style', 'font-family:Tahoma,Verdana,Arial,Times New Roman,Helvetica,sans-serif; font-size:'+args['font']+'px; background-color:'+args['bg_color']+';white-space:nowrap;');
el[17].appendChild(el[8]);
el[9]= document.createElement('td');
if(args['img']) {
if(ie && args['bg_img_5'].toLowerCase().indexOf('.png')!= -1) {
el[9].setAttribute('style', 'background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+args['bg_img_5']+'",sizingMethod="scale"); width:'+args['width']+'px;');
}
else {
el[9].setAttribute('style', 'background-image:url('+args['bg_img_5']+'); width:'+args['width']+'px;');
}
}
else {
el[9].setAttribute('style', 'border-right:'+args['border']+'; background-color:'+args['bg_color']+'; width:'+args['width']+'px;');
}
el[6].appendChild(el[9]);
el[10]= document.createElement('tr');
el[1].appendChild(el[10]);
el[18]= document.createElement('td');
el[10].appendChild(el[18]);
el[11]= document.createElement('div');
if(args['img']) {
if(ie && args['bg_img_6'].toLowerCase().indexOf('.png')!= -1) {
el[11].setAttribute('style', 'background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+args['bg_img_6']+'",sizingMethod="scale"); width:'+args['width']+'px; height:'+args['height']+'px;');
}
else {
el[11].setAttribute('style', 'background-image:url('+args['bg_img_6']+'); width:'+args['width']+'px; height:'+args['height']+'px;');
}
}
else {
el[11].setAttribute('style', 'border-bottom:'+args['border']+'; border-left:'+args['border']+'; background-color:'+args['bg_color']+'; width:'+args['width']+'px; height:'+args['height']+'px;');
}
el[18].appendChild(el[11]);
el[19]= document.createElement('td');
el[10].appendChild(el[19]);
el[12]= document.createElement('div');
if(args['img']) {
if(ie && args['bg_img_7'].toLowerCase().indexOf('.png')!= -1) {
el[12].setAttribute('style', 'background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+args['bg_img_7']+'",sizingMethod="scale"); height:'+args['height']+'px;');
}
else {
el[12].setAttribute('style', 'background-image:url('+args['bg_img_7']+'); height:'+args['height']+'px;');
}
}
else {
el[12].setAttribute('style', 'border-bottom:'+args['border']+'; background-color:'+args['bg_color']+'; height:'+args['height']+'px;');
}
el[19].appendChild(el[12]);
el[20]= document.createElement('td');
el[10].appendChild(el[20]);
el[13]= document.createElement('div');
if(args['img']) {
if(ie && args['bg_img_8'].toLowerCase().indexOf('.png')!= -1) {
el[13].setAttribute('style', 'background:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+args['bg_img_8']+'",sizingMethod="scale"); width:'+args['width']+'px; height:'+args['height']+'px;');
}
else {
el[13].setAttribute('style', 'background-image:url('+args['bg_img_8']+'); width:'+args['width']+'px; height:'+args['height']+'px;');
}
}
else {
el[13].setAttribute('style', 'border-bottom:'+args['border']+'; border-right:'+args['border']+'; background-color:'+args['bg_color']+'; width:'+args['width']+'px; height:'+args['height']+'px;');
}
el[20].appendChild(el[13]); |