>>205
後者の
imenu[i].href = imenu[i].href.replace(exp,'http://');

if( exp.test(imenu[i].href) )
imenu[i].href = imenu[i].href.replace(exp,'http://');