1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml" dir=
"{S_CONTENT_DIRECTION}" lang=
"{S_USER_LANG}" xml:
lang=
"{S_USER_LANG}">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset={S_CONTENT_ENCODING}" />
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css" />
6 <meta http-equiv=
"Content-Language" content=
"{S_USER_LANG}" />
7 <meta http-equiv=
"imagetoolbar" content=
"no" />
8 <title>{L_COLOUR_SWATCH}
</title>
10 <style type=
"text/css">
13 background-color: #404040;
18 border: solid
1px #333;
26 border-color: #333333;
38 <script type=
"text/javascript">
40 var r
= 0, g
= 0, b
= 0;
42 var numberList
= new Array(6);
50 document
.writeln('<table cellspacing="0" cellpadding="0" border="0">');
52 for (r
= 0; r
< 6; r
++)
54 document
.writeln('<tr>');
56 for (g
= 0; g
< 6; g
++)
58 for (b
= 0; b
< 6; b
++)
60 color
= String(numberList
[r
]) + String(numberList
[g
]) + String(numberList
[b
]);
61 document
.write('<td style="background-color: #' + color
+ ';" onmouseover="this.className=\'over\'" onmouseout="this.className=\'out\'">');
62 document
.write('<a href="#" onclick="cell(\'' + color
+ '\'); return false;"><img src="{T_IMAGES_PATH}spacer.gif" width="15" height="12" alt="#' + color
+ '" title="#' + color
+ '" \/><\/a>');
63 document
.writeln('<\/td>');
66 document
.writeln('<\/tr>');
68 document
.writeln('<\/table>');
72 opener
.document
.forms
["{OPENER}"].{NAME
}.value
= color
;