function patchref(vv) { var rts = new String(document.location); var start = rts.indexOf (vv); if (start != -1) { rts = rts.substring (start); start = rts.indexOf ('='); rts = rts.substring (start+1); eind = rts.indexOf ('&'); if (eind == -1) { eind = rts.length; } rts = rts.replace (/\+/g, ' '); var rts = unescape (rts.substring (0, eind)); } else { rts = "" } return rts; } document.writeln('');