以下は、複数の URL アドレスを取得するための JS メソッドです
thisTLoc = top.location.href;
thisPLoc =parent.document.location;
thisTHost = top.location.hostname;
thisHost = location.hostname;
tmpHPage = thisHREF.split( "/" );
thisHPage = tmpHPage[ tmpHPage.length-1 ];
tmpUPage = thisURL.split( "/" );
thisUPage = tmpUPage[ tmpUPage .length-1 ];