function form_jump(targ,selObj,restore){
 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
 if (restore) selObj.selectedIndex=0;
}

function smilie(emote) {
 document.forumform.text.value += emote;
 document.forumform.text.focus();
}

function okno(ctl,w,h) {
  nazwa=Math.round(Math.random()*1000);
  nazwaS=nazwa+"n";
  window.open(ctl, 'ff'+nazwaS, 'scrollbars=yes,location=0,resizable=yes,width='+w+',height='+h);
  return;
}

function dd(id) { 
	return document.getElementById(id); 
}

function topPhotoSwitch(photoId,newSrc){
	dd(photoId).src=newSrc;
}
