Change references to numeric child/parent IDs which can now be text
[contractdashboard.git] / cutenews / rte / palette.htm
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
<html>
<head>
        <title>Text Color</title>
        <script language="JavaScript" type="text/javascript">
        <!--
        function selectColor(color) {
                self.parent.setColor(color);
        }
        
        function InitColorPalette() {
                if (document.getElementsByTagName)
                        var x = document.getElementsByTagName('TD');
                else if (document.all)
                        var x = document.all.tags('TD');
                for (var i=0; i < x.length; i++) {
                        x[i].onmouseover = over;
                        x[i].onmouseout = out;
                        x[i].onclick = click;
                }
        }
        
        function over() {
                this.style.border = '1px dotted white';
        }
        
        function out() {
                this.style.border = '1px solid gray';
        }
        
        function click() {
                selectColor(this.id);
        }
        //-->
        </script>
</head>
<body bgcolor="white" onLoad="InitColorPalette()" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0">
<table width="150" height="100" cellpadding="0" cellspacing="1" border="1" align="center">
        <tr>
                <td id="#FFFFFF" bgcolor="#FFFFFF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFCCCC" bgcolor="#FFCCCC" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFCC99" bgcolor="#FFCC99" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFFF99" bgcolor="#FFFF99" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFFFCC" bgcolor="#FFFFCC" width="10" height="10"><img width="1" height="1"></td>
                <td id="#99FF99" bgcolor="#99FF99" width="10" height="10"><img width="1" height="1"></td>
                <td id="#99FFFF" bgcolor="#99FFFF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#CCFFFF" bgcolor="#CCFFFF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#CCCCFF" bgcolor="#CCCCFF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFCCFF" bgcolor="#FFCCFF" width="10" height="10"><img width="1" height="1"></td>
        </tr>
        <tr>
                <td id="#CCCCCC" bgcolor="#CCCCCC" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FF6666" bgcolor="#FF6666" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FF9966" bgcolor="#FF9966" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFFF66" bgcolor="#FFFF66" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFFF33" bgcolor="#FFFF33" width="10" height="10"><img width="1" height="1"></td>
                <td id="#66FF99" bgcolor="#66FF99" width="10" height="10"><img width="1" height="1"></td>
                <td id="#33FFFF" bgcolor="#33FFFF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#66FFFF" bgcolor="#66FFFF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#9999FF" bgcolor="#9999FF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FF99FF" bgcolor="#FF99FF" width="10" height="10"><img width="1" height="1"></td>
        </tr>
        <tr>
                <td id="#C0C0C0" bgcolor="#C0C0C0" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FF0000" bgcolor="#FF0000" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FF9900" bgcolor="#FF9900" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFCC66" bgcolor="#FFCC66" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFFF00" bgcolor="#FFFF00" width="10" height="10"><img width="1" height="1"></td>
                <td id="#33FF33" bgcolor="#33FF33" width="10" height="10"><img width="1" height="1"></td>
                <td id="#66CCCC" bgcolor="#66CCCC" width="10" height="10"><img width="1" height="1"></td>
                <td id="#33CCFF" bgcolor="#33CCFF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#6666CC" bgcolor="#6666CC" width="10" height="10"><img width="1" height="1"></td>
                <td id="#CC66CC" bgcolor="#CC66CC" width="10" height="10"><img width="1" height="1"></td>
        </tr>
        <tr>
                <td id="#999999" bgcolor="#999999" width="10" height="10"><img width="1" height="1"></td>
                <td id="#CC0000" bgcolor="#CC0000" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FF6600" bgcolor="#FF6600" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFCC33" bgcolor="#FFCC33" width="10" height="10"><img width="1" height="1"></td>
                <td id="#FFCC00" bgcolor="#FFCC00" width="10" height="10"><img width="1" height="1"></td>
                <td id="#33CC00" bgcolor="#33CC00" width="10" height="10"><img width="1" height="1"></td>
                <td id="#00CCCC" bgcolor="#00CCCC" width="10" height="10"><img width="1" height="1"></td>
                <td id="#3366FF" bgcolor="#3366FF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#6633FF" bgcolor="#6633FF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#CC33CC" bgcolor="#CC33CC" width="10" height="10"><img width="1" height="1"></td>
        </tr>
        <tr>
                <td id="#666666" bgcolor="#666666" width="10" height="10"><img width="1" height="1"></td>
                <td id="#990000" bgcolor="#990000" width="10" height="10"><img width="1" height="1"></td>
                <td id="#CC6600" bgcolor="#CC6600" width="10" height="10"><img width="1" height="1"></td>
                <td id="#CC9933" bgcolor="#CC9933" width="10" height="10"><img width="1" height="1"></td>
                <td id="#999900" bgcolor="#999900" width="10" height="10"><img width="1" height="1"></td>
                <td id="#009900" bgcolor="#009900" width="10" height="10"><img width="1" height="1"></td>
                <td id="#339999" bgcolor="#339999" width="10" height="10"><img width="1" height="1"></td>
                <td id="#3333FF" bgcolor="#3333FF" width="10" height="10"><img width="1" height="1"></td>
                <td id="#6600CC" bgcolor="#6600CC" width="10" height="10"><img width="1" height="1"></td>
                <td id="#993399" bgcolor="#993399" width="10" height="10"><img width="1" height="1"></td>
        </tr>
        <tr>
                <td id="#333333" bgcolor="#333333" width="10" height="10"><img width="1" height="1"></td>
                <td id="#660000" bgcolor="#660000" width="10" height="10"><