OSDN Git Service

Small update. :o
[idb/iDB.git.git] / javascript.js
index 1be3440..9f1ab8c 100644 (file)
@@ -7,10 +7,10 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     Revised BSD License for more details.
 
-    Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
-    Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
+    Copyright 2004-2011 iDB Support - http://idb.berlios.de/
+    Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/
 
-    $FileInfo: javascript.js - Last Update: 05/09/2007 SVN 1 - Author: cooldude2k $
+    $FileInfo: javascript.js - Last Update: 12/07/2010 SVN 600 - Author: cooldude2k $
 */
 function getid(id) {
 var itm;
@@ -36,3 +36,9 @@ usrname = document.getElementsByTagName(tag);
 for (var i = 0; i < usrname.length; i++) {
 if(usrname[i].innerHTML==text1) {
 usrname[i].innerHTML = text2; } } }
+
+function addsmiley(id,code) {
+var itm;
+itm = document.getElementById(id);
+var pretext = itm.value;
+itm.value = pretext + code; }
\ No newline at end of file