>>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://');