Extended ModRewrite to onclick actions
fixed some problems