var l = location, basepath = '/'; 
if (l.pathname != basepath) l.replace(basepath+'#:ax:flax:'+ l.pathname + (l.search || '') +'&ax=1');
