User:Killr833/randomfunctions.js

function appendParam(url, paramname, paramcontent, amp){ if(amp=='yes') return url+'&'+encodeURIComponent(paramname)+'='+encodeURIComponent(paramcontent); else return url+'?'+encodeURIComponent(paramname)+'='+encodeURIComponent(paramcontent); }