Function GetParam(key) If KS.IsNUL(Request.QueryString) Then GetParam="":Exit Function Dim PArr:Parr=Split(Replace(Request.QueryString,".html",""),",") Dim Pkey,Pval,i For I=0 To Ubound(Parr) if instr(Parr(i),"-")<>0 Then Pkey=Split(Parr(i),"-")(0) if lcase(key)=lcase(Pkey) Then Pval=Split(Parr(i),"-")(1) Exit For End If End If Next GetParam=Pval End Function