  function on(mi)   { mi.style.backgroundColor='#AB0E50'; }
  function off(mi)  { mi.style.backgroundColor='#901448'; }

  function jump(o, x) { document.location.href = o+x.options[x.selectedIndex].value;  }

  function moresmiles() {
    ujkwin = window.open('smiles.php','smilewin','width=400,height=450,notoolbar,status=0');
    var xc =(screen.width - 400) / 2;
    var yc =(screen.height - 450) / 2;
    ujkwin.moveTo(xc, yc);
  }

  function deleteConfirm(kerdes, url) {
    if (confirm(kerdes)) { document.location.href = url; }
  }

  function kep(mit) {
    window.open('../kep.php?pic='+mit,'','width=100,height=100,toolbar=no,status=no,resizable=yes,scrollbars=yes');
  }

  function insertQuote() {
      var q = document.getElementById('divquote').innerHTML;
      tinyMCE.execCommand('mceFocus', false, 'txt');
      tinyMCE.execCommand('mceInsertContent', false, q);
  }
  
  function avatarupload(userid) {
    ujkwin = window.open('avatarupload.php?userid='+userid,'uploadwin','width=400,height=240,notoolbar,status=0');
    var xc =(screen.width - 400) / 2;
    var yc =(screen.height - 240) / 2;
    ujkwin.moveTo(xc, yc);
  }

