3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the Revised BSD License.
6 This program is distributed in the hope that it will be useful,
7 but WITHOUT ANY WARRANTY; without even the implied warranty of
8 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 Revised BSD License for more details.
11 Copyright 2004-2011 iDB Support - http://idb.berlios.de/
12 Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
14 $FileInfo: javascript.php - Last Update: 12/07/2010 SVN 600 - Author: cooldude2k $
16 header("Content-Language: en");
17 header("Vary: Accept");
21 itm
= document
.getElementById(id
);
24 function toggletag(id
) {
26 itm
= document
.getElementById(id
);
27 if (itm
.style
.display
== "none") {
28 itm
.style
.display
= ""; }
30 itm
.style
.display
= "none"; } }
32 function bgchange(id
,color
) {
34 itm
= document
.getElementById(id
);
35 itm
.style
.backgroundColor
= ''+color+
''; }
37 function innerchange(tag
,text1
,text2
) {
39 usrname
= document
.getElementsByTagName(tag
);
40 for (var i
= 0; i
< usrname
.length
; i++
) {
41 if(usrname
[i
].innerHTML
==text1
) {
42 usrname
[i
].innerHTML
= text2
; } } }
44 function addsmiley(id
,code
) {
46 itm
= document
.getElementById(id
);
47 var pretext
= itm
.value
;
48 itm
.value
= pretext + code
; }
50 <?php
gzip_page($Settings['use_gzip']); ?
>