Index: /branches/version-2_13-dev/html/js/eccube.js
===================================================================
--- /branches/version-2_13-dev/html/js/eccube.js	(revision 23081)
+++ /branches/version-2_13-dev/html/js/eccube.js	(revision 23101)
@@ -31,30 +31,41 @@
     var eccube = window.eccube;
 
-    eccube.win01 = function(URL,Winname,Wwidth,Wheight){
-        var WIN;
-        WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=no,resizable=no,toolbar=no,location=no,directories=no,status=no");
-        WIN.focus();
-    };
-
-    eccube.win02 = function(URL,Winname,Wwidth,Wheight){
-        var WIN;
-        WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no");
-        WIN.focus();
-    };
-
-    eccube.win03 = function(URL,Winname,Wwidth,Wheight){
-        var WIN;
-        WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no");
-        WIN.focus();
-    };
-
-    eccube.winSubmit = function(URL,formName,Winname,Wwidth,Wheight){
-        var WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no");
-        document.forms[formName].target = Winname;
-        WIN.focus();
-    };
-
-    eccube.openWindow = function(URL,name,width,height) {
-        window.open(URL,name,"width="+width+",height="+height+",scrollbars=yes,resizable=no,toolbar=no,location=no,directories=no,status=no");
+    eccube.defaults = {
+        'formId':'form1',
+        "windowFeatures":{
+            'scrollbars':'yes',
+            'resizable':'yes',
+            'toolbar':'no',
+            'location':'no',
+            'directories':'no',
+            'status':'no',
+            'focus':true,
+            'formTarget':''
+        }
+    };
+
+    eccube.openWindow = function(URL,name,width,height,option) {
+        var features = "width="+width+",height="+height;
+        if (option === undefined) {
+            option = eccube.defaults.windowFeatures;
+        } else {
+            option = $.extend(eccube.defaults.windowFeatures, option);
+        }
+        features = features + ",scrollbars=" + option.scrollbars +
+                ",resizable=" + option.resizable +
+                ",toolbar=" + option.toolbar +
+                ",location=" + option.location +
+                ",directories=" + option.directories +
+                ",status=" + option.status;
+        if (option.hasOwnProperty('menubar')) {
+            features = features + ",menubar=" + option.menubar;
+        }
+        var WIN = window.open(URL,name,features);
+        if (option.formTarget !== "") {
+            document.forms[option.formTarget].target = name;
+        }
+        if (option.focus) {
+            WIN.focus();
+        }
     };
 
@@ -193,5 +204,5 @@
     eccube.setValue = function(key, val, form) {
         if (typeof form === 'undefined') {
-            form = 'form1';
+            form = eccube.defaults.formId;
         }
         var formElement = $("form#" + form);
@@ -206,5 +217,5 @@
     eccube.movePage = function(pageno, mode, form) {
         if (typeof form === 'undefined') {
-            form = 'form1';
+            form = eccube.defaults.formId;
         }
         var formElement = $("form#" + form);
@@ -218,5 +229,5 @@
     eccube.submitForm = function(form){
         if (typeof form === 'undefined') {
-            form = 'form1';
+            form = eccube.defaults.formId;
         }
         $("form#" + form).submit();
Index: /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/multiple.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/multiple.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/multiple.tpl	(revision 23101)
@@ -35,5 +35,5 @@
     <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
         <div class="btn_area_top">
-            <a rel="external" href="javascript:void(0);" class="btn_sub addbtn" onclick="eccube.win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;">新しいお届け先を追加</a>
+            <a rel="external" href="javascript:void(0);" class="btn_sub addbtn" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;">新しいお届け先を追加</a>
         </div>
     <!--{/if}-->
Index: /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/deliv.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/deliv.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/deliv.tpl	(revision 23101)
@@ -70,5 +70,5 @@
                                 </p>
                                 <ul class="edit">
-                                    <li><a rel="external" href="javascript:void(0);" onclick="eccube.win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->','new_deiv','600','640'); return false;" class="b_edit">編集</a></li>
+                                    <li><a rel="external" href="javascript:void(0);" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->','new_deiv','600','640'); return false;" class="b_edit">編集</a></li>
                                     <li><img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" width="21" height="20" alt="削除" onclick="eccube.setModeAndSubmit('delete', 'other_deliv_id', '<!--{$arrAddr[cnt].other_deliv_id}-->');" /></li>
                                 </ul>
@@ -85,5 +85,5 @@
                 <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
                     <div class="inner">
-                        <a rel="external" href="javascript:void(0);" onclick="eccube.win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;" class="btn_sub addbtn">新しいお届け先を追加</a>
+                        <a rel="external" href="javascript:void(0);" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;" class="btn_sub addbtn">新しいお届け先を追加</a>
                     </div>
                 <!--{/if}-->
Index: /branches/version-2_13-dev/data/Smarty/templates/sphone/mypage/delivery.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/sphone/mypage/delivery.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/sphone/mypage/delivery.tpl	(revision 23101)
@@ -64,5 +64,5 @@
 
                             <ul class="edit">
-                                <li><a href="#" onClick="eccube.win02('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;" class="b_edit deliv_edit" rel="external">編集</a></li>
+                                <li><a href="#" onClick="eccube.openWindow('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;" class="b_edit deliv_edit" rel="external">編集</a></li>
                                 <li><a href="#" onClick="eccube.setModeAndSubmit('delete','other_deliv_id','<!--{$arrOtherDeliv[cnt].other_deliv_id}-->'); return false;" class="deliv_delete" rel="external"><img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" class="pointer" width="21" height="20" alt="削除" /></a></li>
                             </ul>
@@ -135,5 +135,5 @@
                         $($(".delivBox span.name02").get(maxCnt)).text(delivery.name02);
                         //編集ボタンをセット
-                        $($(".delivBox a.deliv_edit").get(maxCnt)).attr("onClick", "eccube.win02('./delivery_addr.php?other_deliv_id=" + delivery.other_deliv_id + "','deliv_disp','600','640'); return false;");
+                        $($(".delivBox a.deliv_edit").get(maxCnt)).attr("onClick", "eccube.openWindow('./delivery_addr.php?other_deliv_id=" + delivery.other_deliv_id + "','deliv_disp','600','640'); return false;");
                         //削除ボタンをセット
                         $($(".delivBox a.deliv_delete").get(maxCnt)).attr("onClick", "eccube.setModeAndSubmit('delete','other_deliv_id','" + delivery.other_deliv_id + "'); return false;");
Index: /branches/version-2_13-dev/data/Smarty/templates/default/mypage/login.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/mypage/login.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/mypage/login.tpl	(revision 23101)
@@ -67,5 +67,5 @@
                 </div>
                 <p>
-                    ※パスワードを忘れた方は<a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="eccube.win01('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','460'); return false;" target="_blank">こちら</a>からパスワードの再発行を行ってください。<br />
+                    ※パスワードを忘れた方は<a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="eccube.openWindow('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','460',{scrollbars:'no',resizable:'no'}); return false;" target="_blank">こちら</a>からパスワードの再発行を行ってください。<br />
                     ※メールアドレスを忘れた方は、お手数ですが、<a href="<!--{$smarty.const.ROOT_URLPATH}-->contact/<!--{$smarty.const.DIR_INDEX_PATH}-->">お問い合わせページ</a>からお問い合わせください。
                 </p>
Index: /branches/version-2_13-dev/data/Smarty/templates/default/mypage/history.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/mypage/history.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/mypage/history.tpl	(revision 23101)
@@ -265,5 +265,5 @@
                 <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
                 <td class="alignC"><!--{$arrMAILTEMPLATE[$key]|h}--></td>
-                <td><a href="#" onclick="eccube.win02('./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a></td>
+                <td><a href="#" onclick="eccube.openWindow('./mail_view.php?send_id=<!--{$tpl_arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$tpl_arrMailHistory[cnt].subject|h}--></a></td>
             </tr>
             <!--{/section}-->
Index: /branches/version-2_13-dev/data/Smarty/templates/default/mypage/delivery.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/mypage/delivery.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/mypage/delivery.tpl	(revision 23101)
@@ -35,5 +35,5 @@
             <!--{if $tpl_login}-->
                 <p class="add_address">
-                    <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.win03('./delivery_addr.php','delivadd','600','640'); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','newadress');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg','newadress');" target="_blank"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg" alt="新しいお届け先を追加" border="0" name="newadress" /></a>
+                    <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.openWindow('./delivery_addr.php','delivadd','600','640',{menubar:'no'}); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','newadress');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg','newadress');" target="_blank"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg" alt="新しいお届け先を追加" border="0" name="newadress" /></a>
                 </p>
             <!--{/if}-->
@@ -71,5 +71,5 @@
                             </td>
                             <td class="alignC">
-                                <a href="./delivery_addr.php" onclick="eccube.win02('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;">変更</a>
+                                <a href="./delivery_addr.php" onclick="eccube.openWindow('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;">変更</a>
                             </td>
                             <td class="alignC">
Index: /branches/version-2_13-dev/data/Smarty/templates/default/shopping/deliv.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/shopping/deliv.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/shopping/deliv.tpl	(revision 23101)
@@ -46,5 +46,5 @@
         <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
             <p class="addbtn">
-                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','addition');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg','addition');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg" alt="新しいお届け先を追加する" name="addition" id="addition" /></a>
+                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','addition');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg','addition');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg" alt="新しいお届け先を追加する" name="addition" id="addition" /></a>
             </p>
         <!--{/if}-->
@@ -100,5 +100,5 @@
                         <td class="alignC">
                             <!--{if !$smarty.section.cnt.first}-->
-                                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->','new_deiv','600','640'); return false;">変更</a>
+                                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->','new_deiv','600','640'); return false;">変更</a>
                                 <!--{else}-->
                                     -
Index: /branches/version-2_13-dev/data/Smarty/templates/default/shopping/index.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/shopping/index.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/shopping/index.tpl	(revision 23101)
@@ -64,5 +64,5 @@
                 </div>
                 <p>
-                    ※パスワードを忘れた方は<a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="eccube.win01('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','460'); return false;" target="_blank">こちら</a>からパスワードの再発行を行ってください。<br />
+                    ※パスワードを忘れた方は<a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="eccube.openWindow('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','460',{scrollbars:'no',resizable:'no'}); return false;" target="_blank">こちら</a>からパスワードの再発行を行ってください。<br />
                     ※メールアドレスを忘れた方は、お手数ですが、<a href="<!--{$smarty.const.ROOT_URLPATH}-->contact/<!--{$smarty.const.DIR_INDEX_PATH}-->">お問い合わせページ</a>からお問い合わせください。
                 </p>
Index: /branches/version-2_13-dev/data/Smarty/templates/default/shopping/multiple.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/shopping/multiple.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/shopping/multiple.tpl	(revision 23101)
@@ -45,5 +45,5 @@
         <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
             <p class="addbtn">
-                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','addition');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg','addition');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg" alt="新しいお届け先を追加する" name="addition" id="addition" /></a>
+                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','addition');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg','addition');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg" alt="新しいお届け先を追加する" name="addition" id="addition" /></a>
             </p>
         <!--{/if}-->
Index: /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login_header.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login_header.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login_header.tpl	(revision 23101)
@@ -68,5 +68,5 @@
                             </li>
                             <li class="forgot">
-                                <a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="eccube.win01('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','400'); return false;" target="_blank">パスワードを忘れた方</a>
+                                <a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="eccube.openWindow('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','400',{scrollbars:'no',resizable:'no'}); return false;" target="_blank">パスワードを忘れた方</a>
                             </li>
                         </ul>
Index: /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl	(revision 23101)
@@ -57,5 +57,5 @@
                             <dd><input type="password" name="login_pass" class="box140" /></dd>
                             <dd class="mini">
-                            <a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="eccube.win01('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','400'); return false;" target="_blank">パスワードを忘れた方はこちら</a>
+                            <a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="eccube.openWindow('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','400',{scrollbars:'no',resizable:'no'}); return false;" target="_blank">パスワードを忘れた方はこちら</a>
                             </dd>
                         </dl>
Index: /branches/version-2_13-dev/data/Smarty/templates/default/products/detail.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/products/detail.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/products/detail.tpl	(revision 23101)
@@ -331,5 +331,5 @@
                     <!--★新規コメントを書き込む★-->
                     <a href="./review.php"
-                        onclick="eccube.win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','600','640'); return false;"
+                        onclick="eccube.openWindow('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','600','640'); return false;"
                         onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_comment_on.jpg','review');"
                         onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_comment.jpg','review');" target="_blank">
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/ownersstore/plugin.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/ownersstore/plugin.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/ownersstore/plugin.tpl	(revision 23101)
@@ -154,5 +154,5 @@
                     <td class="center plugin_img">
                         <!--{if $plugin.plugin_site_url != '' }-->
-                            <a href="?" onclick="eccube.win03('<!--{$plugin.plugin_site_url|h}-->','plugin_site_url','620','760'); return false;"><img src="<!--{$plugin.logo}-->" width="65" height="65" /></a>&nbsp;
+                            <a href="?" onclick="eccube.openWindow('<!--{$plugin.plugin_site_url|h}-->','plugin_site_url','620','760',{menubar:'no'}); return false;"><img src="<!--{$plugin.logo}-->" width="65" height="65" /></a>&nbsp;
                         <!--{else}-->
                             <img src="<!--{$plugin.logo}-->" width="65" height="65"/>
@@ -166,5 +166,5 @@
                                 <span class="plugin_name">
                                 <!--{if $plugin.plugin_site_url != '' }-->
-                                    <a href="?" onclick="eccube.win03('<!--{$plugin.plugin_site_url|h}-->','plugin_site_url','620','760'); return false;"><!--{$plugin.plugin_name|default:$plugin.plugin_code|h}--></a>&nbsp;
+                                    <a href="?" onclick="eccube.openWindow('<!--{$plugin.plugin_site_url|h}-->','plugin_site_url','620','760',{menubar:'no'}); return false;"><!--{$plugin.plugin_name|default:$plugin.plugin_code|h}--></a>&nbsp;
                                 <!--{else}-->
                                     <sapn><!--{$plugin.plugin_name|default:$plugin.plugin_code|h}-->&nbsp;</sapn>
@@ -177,5 +177,5 @@
                                     <!-- ▼author_site_urlが設定されている場合はリンクとして表示 -->
                                     <!--{if $plugin.author_site_url != '' }-->
-                                        <span>(by <a href="?" onclick="eccube.win03('<!--{$plugin.author_site_url|h}-->','author_site_url','620','760'); return false;"><!--{$plugin.author|default:'-'|h}--></a>)</span>
+                                        <span>(by <a href="?" onclick="eccube.openWindow('<!--{$plugin.author_site_url|h}-->','author_site_url','620','760',{menubar:'no'}); return false;"><!--{$plugin.author|default:'-'|h}--></a>)</span>
                                     <!--{else}-->
                                         <span>(by <!--{$plugin.author|default:'-'|h}-->)</span>
@@ -190,5 +190,5 @@
                                 <!-- 設定 -->
                                     <!--{if $plugin.config_flg == true && $plugin.status != $smarty.const.PLUGIN_STATUS_UPLOADED}-->
-                                        <a href="?" onclick="eccube.win02('../load_plugin_config.php?plugin_id=<!--{$plugin.plugin_id}-->', 'load', 615, 400);return false;">プラグイン設定</a>&nbsp;|&nbsp;
+                                        <a href="?" onclick="eccube.openWindow('../load_plugin_config.php?plugin_id=<!--{$plugin.plugin_id}-->', 'load', 615, 400);return false;">プラグイン設定</a>&nbsp;|&nbsp;
                                     <!--{else}-->
                                         <span>プラグイン設定&nbsp;|&nbsp;</span>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/ownersstore/products_list.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/ownersstore/products_list.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/ownersstore/products_list.tpl	(revision 23101)
@@ -74,5 +74,5 @@
                     <!--{if $product.installed_flg}-->
                         <span class="icon_confirm">
-                        <a href="#" onclick="eccube.win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 615, 400);return false;">
+                        <a href="#" onclick="eccube.openWindow('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 615, 400);return false;">
                             設定</a>
                         </span>
@@ -80,5 +80,5 @@
                         <div id='ownersstore_settings<!--{$product.product_id|h}-->' style="display:none">
                         <span class="icon_confirm">
-                        <a href="#" onclick="eccube.win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 615, 400);return false;">
+                        <a href="#" onclick="eccube.openWindow('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 615, 400);return false;">
                             設定</a>
                         </span>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/contents/recommend.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/contents/recommend.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/contents/recommend.tpl	(revision 23101)
@@ -60,5 +60,5 @@
 
     if ( flag ){
-        eccube.win03('./recommend_search.php?rank=' + rank,'search','615','600');
+        eccube.openWindow('./recommend_search.php?rank=' + rank,'search','615','600',{menubar:'no'});
     }
 }
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/products/product.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/products/product.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/products/product.tpl	(revision 23101)
@@ -437,5 +437,5 @@
                 <a name="<!--{$anckey}-->"></a>
                 <input type="hidden" name="<!--{$key}-->" value="<!--{$arrRecommend[$recommend_no].product_id|h}-->" />
-                <a class="btn-normal" href="javascript:;" name="change" onclick="selectAll('category_id'); eccube.win03('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '615', '500'); return false;">変更</a>
+                <a class="btn-normal" href="javascript:;" name="change" onclick="selectAll('category_id'); eccube.openWindow('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '615', '500', {menubar:'no'}); return false;">変更</a>
                 <!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}-->
                 <input type="checkbox" name="<!--{$key}-->" value="1" />削除<br />
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/products/upload_csv_category.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/products/upload_csv_category.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/products/upload_csv_category.tpl	(revision 23101)
@@ -24,5 +24,5 @@
 
 <!--★★メインコンテンツ★★-->
-<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data" onSubmit="eccube.winSubmit('','form1', 'upload', 500, 400)">
+<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data" onSubmit="eccube.openWindow('', 'upload', 500, 400, {formTarget:'form1', menubar:'no'})">
     <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
     <input type="hidden" name="mode" value="csv_upload" />
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/order/status.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/order/status.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/order/status.tpl	(revision 23101)
@@ -91,5 +91,5 @@
                     <td class="center"><input type="checkbox" name="move[]" value="<!--{$arrStatus[cnt].order_id}-->" ></td>
                     <td class="center"><!--{$arrORDERSTATUS[$status]}--></td>
-                    <td class="center"><a href="#" onclick="eccube.openWindow('./disp.php?order_id=<!--{$arrStatus[cnt].order_id}-->','order_disp','800','900'); return false;" ><!--{$arrStatus[cnt].order_id}--></a></td>
+                    <td class="center"><a href="#" onclick="eccube.openWindow('./disp.php?order_id=<!--{$arrStatus[cnt].order_id}-->','order_disp','800','900',{resizable:'no',focus:false}); return false;" ><!--{$arrStatus[cnt].order_id}--></a></td>
                     <td class="center"><!--{$arrStatus[cnt].create_date|sfDispDBDate}--></td>
                     <td><!--{$arrStatus[cnt].order_name01|h}--> <!--{$arrStatus[cnt].order_name02|h}--></td>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/order/edit.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/order/edit.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/order/edit.tpl	(revision 23101)
@@ -69,5 +69,5 @@
 
     function fnMultiple() {
-        eccube.win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/multiple.php', 'multiple', '600', '500');
+        eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/multiple.php', 'multiple', '600', '500', {menubar:'no'});
         document.form1.anchor_key.value = "shipping";
         document.form1.mode.value = "multiple";
@@ -127,5 +127,5 @@
             <tr>
                 <th>帳票出力</th>
-                <td><a class="btn-normal" href="javascript:;" onclick="eccube.win02('pdf.php?order_id=<!--{$arrForm.order_id.value|h}-->','pdf_input','615','650'); return false;">帳票出力</a></td>
+                <td><a class="btn-normal" href="javascript:;" onclick="eccube.openWindow('pdf.php?order_id=<!--{$arrForm.order_id.value|h}-->','pdf_input','615','650'); return false;">帳票出力</a></td>
             </tr>
             <!--{/if}-->
@@ -164,5 +164,5 @@
         <h2>注文者情報
             <!--{if $tpl_mode == 'add'}-->
-                <a class="btn-normal" href="javascript:;" name="address_input" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->customer/search_customer.php','search','600','650'); return false;">会員検索</a>
+                <a class="btn-normal" href="javascript:;" name="address_input" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->customer/search_customer.php','search','600','650',{resizable:'no',focus:false}); return false;">会員検索</a>
             <!--{/if}-->
         </h2>
@@ -321,5 +321,5 @@
             <a class="btn-normal" href="javascript:;" name="recalculate" onclick="eccube.setModeAndSubmit('recalculate','anchor_key','order_products');">計算結果の確認</a>
             <!--{if $arrForm.shipping_quantity.value <= 1}-->
-            <a class="btn-normal" href="javascript:;" name="add_product" onclick="eccube.win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?order_id=<!--{$arrForm.order_id.value|h}-->&amp;shipping_id=<!--{$top_shipping_id}-->', 'search', '615', '500'); return false;">商品の追加</a>
+            <a class="btn-normal" href="javascript:;" name="add_product" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?order_id=<!--{$arrForm.order_id.value|h}-->&amp;shipping_id=<!--{$top_shipping_id}-->', 'search', '615', '500', {menubar:'no'}); return false;">商品の追加</a>
             <!--{/if}-->
         </h2>
@@ -352,5 +352,5 @@
                     <br />
                     <!--{if $arrForm.shipping_quantity.value <= 1}-->
-                        <a class="btn-normal" href="javascript:;" name="change" onclick="eccube.win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?no=<!--{$product_index}-->&amp;order_id=<!--{$arrForm.order_id.value|h}-->&amp;shipping_id=<!--{$top_shipping_id}-->', 'search', '615', '500'); return false;">変更</a>
+                        <a class="btn-normal" href="javascript:;" name="change" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?no=<!--{$product_index}-->&amp;order_id=<!--{$arrForm.order_id.value|h}-->&amp;shipping_id=<!--{$top_shipping_id}-->', 'search', '615', '500', {menubar:'no'}); return false;">変更</a>
                         <!--{if count($arrForm.quantity.value) > 1}-->
                             <a class="btn-normal" href="javascript:;" name="delete" onclick="eccube.setValue('delete_no', <!--{$product_index}-->, 'form1'); eccube.setValue(select_shipping_id', '<!--{$top_shipping_id}-->', 'form1'); eccube.setModeAndSubmit('delete_product','anchor_key','order_products'); return false;">削除</a>
@@ -484,5 +484,5 @@
             <input type="hidden" name="<!--{$key}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key]|default:"0"|h}-->" id="<!--{$key}-->_<!--{$shipping_index}-->" />
             <!--{if $arrForm.shipping_quantity.value > 1}-->
-                <h2>届け先商品情報&nbsp;<a class="btn-normal" href="javascript:;" name="add_product" onclick="eccube.win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?order_id=<!--{$arrForm.order_id.value|h}-->&shipping_id=<!--{$shipping_index}-->', 'search', '615', '500'); return false;">商品の追加</a>
+                <h2>届け先商品情報&nbsp;<a class="btn-normal" href="javascript:;" name="add_product" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?order_id=<!--{$arrForm.order_id.value|h}-->&shipping_id=<!--{$shipping_index}-->', 'search', '615', '500', {menubar:'no'}); return false;">商品の追加</a>
                 </h2>
                 <!--{assign var=product_quantity value="shipping_product_quantity"}-->
@@ -517,5 +517,5 @@
                                     <!--{$arrShipping[$key1][$item_index]|h}-->/<!--{$arrShipping[$key2][$item_index]|default:"(なし)"|h}-->/<!--{$arrShipping[$key3][$item_index]|default:"(なし)"|h}-->
                                     <br />
-                                    <a class="btn-normal" href="javascript:;" name="change" onclick="eccube.win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?no=<!--{$item_index}-->&amp;order_id=<!--{$arrForm.order_id.value|h}-->&amp;shipping_id=<!--{$shipping_index}-->', 'search', '615', '500'); return false;">変更</a>
+                                    <a class="btn-normal" href="javascript:;" name="change" onclick="eccube.openWindow('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/product_select.php?no=<!--{$item_index}-->&amp;order_id=<!--{$arrForm.order_id.value|h}-->&amp;shipping_id=<!--{$shipping_index}-->', 'search', '615', '500', {menubar:'no'}); return false;">変更</a>
                                     <!--{if count($arrForm.quantity.value) > 1}-->
                                     <a class="btn-normal" href="javascript:;" name="delete" onclick="eccube.setValue('delete_no', <!--{$item_index}-->, 'form1'); eccube.setValue('select_shipping_id', <!--{$shipping_index}-->, 'form1'); eccube.setModeAndSubmit('delete_product','anchor_key','order_products'); return false;">削除</a>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/order/index.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/order/index.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/order/index.tpl	(revision 23101)
@@ -58,5 +58,5 @@
     function fnOpenPdfSettingPage(action){
         var fm = document.form1;
-        eccube.win02("about:blank", "pdf_input", "620","650");
+        eccube.openWindow("about:blank", "pdf_input", "620","650");
 
         // 退避
@@ -391,5 +391,5 @@
                                 <td class="center">
                                     <input type="checkbox" name="pdf_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" id="pdf_order_id_<!--{$arrResults[cnt].order_id}-->"/><label for="pdf_order_id_<!--{$arrResults[cnt].order_id}-->">一括出力</label><br />
-                                    <a href="./" onClick="eccube.win02('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','620','650'); return false;"><span class="icon_class">個別出力</span></a>
+                                    <a href="./" onClick="eccube.openWindow('pdf.php?order_id=<!--{$arrResults[cnt].order_id}-->','pdf_input','620','650'); return false;"><span class="icon_class">個別出力</span></a>
                                 </td>
                                 <td class="center"><a href="?" onclick="eccube.changeAction('<!--{$smarty.const.ADMIN_ORDER_EDIT_URLPATH}-->'); eccube.setModeAndSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</span></a></td>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/order/pdf_input.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/order/pdf_input.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/order/pdf_input.tpl	(revision 23101)
@@ -30,5 +30,5 @@
 
 function lfPopwinSubmit(formName) {
-    eccube.win02('about:blank','pdf','1000','900');
+    eccube.openWindow('about:blank','pdf','1000','900');
     document[formName].target = "pdf";
     document[formName].submit();
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/order/mail.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/order/mail.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/order/mail.tpl	(revision 23101)
@@ -51,5 +51,5 @@
                 <!--{assign var=key value="`$arrMailHistory[cnt].template_id`"}-->
                 <td><!--{$arrMAILTEMPLATE[$key]|h}--></td>
-                <td><a href="?" onclick="eccube.win02('./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$arrMailHistory[cnt].subject|h}--></a></td>
+                <td><a href="?" onclick="eccube.openWindow('./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$arrMailHistory[cnt].subject|h}--></a></td>
             </tr>
             <!--{/section}-->
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/mail/template.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/mail/template.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/mail/template.tpl	(revision 23101)
@@ -53,5 +53,5 @@
                 <td><a href="./template_input.php?mode=edit&amp;template_id=<!--{$arrTemplates[data].template_id}-->">編集</a></td>
                 <td><a href="#" onclick="fnDelete('?mode=delete&amp;id=<!--{$arrTemplates[data].template_id}-->'); return false;">削除</a></td>
-                <td><a href="#" onclick="eccube.win03('./preview.php?mode=template&amp;template_id=<!--{$arrTemplates[data].template_id}-->','preview','650','700'); return false;" target="_blank">プレビュー</a></td>
+                <td><a href="#" onclick="eccube.openWindow('./preview.php?mode=template&amp;template_id=<!--{$arrTemplates[data].template_id}-->','preview','650','700',{menubar:'no'}); return false;" target="_blank">プレビュー</a></td>
             </tr>
             <!--{/section}-->
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/mail/history.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/mail/history.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/mail/history.tpl	(revision 23101)
@@ -49,6 +49,6 @@
                     <td><!--{$arrDataList[cnt].end_date|sfDispDBDate|h}--></td>
                     <td class="left"><!--{$arrDataList[cnt].subject|h}--></td>
-                    <td><a href="javascript:;" onclick="eccube.win03('./preview.php?mode=history&amp;send_id=<!--{$arrDataList[cnt].send_id|h}-->', 'confirm', '720', '600'); return false;">確認</a></td>
-                    <td><a href="javascript:;" onclick="eccube.win03('./<!--{$smarty.const.DIR_INDEX_PATH}-->?mode=query&amp;send_id=<!--{$arrDataList[cnt].send_id|h}-->','query','615','800'); return false;">確認</a></td>
+                    <td><a href="javascript:;" onclick="eccube.openWindow('./preview.php?mode=history&amp;send_id=<!--{$arrDataList[cnt].send_id|h}-->', 'confirm', '720', '600', {menubar:'no'}); return false;">確認</a></td>
+                    <td><a href="javascript:;" onclick="eccube.openWindow('./<!--{$smarty.const.DIR_INDEX_PATH}-->?mode=query&amp;send_id=<!--{$arrDataList[cnt].send_id|h}-->','query','615','800',{menubar:'no'}); return false;">確認</a></td>
                     <td><!--{$arrDataList[cnt].count_all|h}--></td>
                     <td><!--{$arrDataList[cnt].count_sent|h}--></td>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/system/index.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/system/index.tpl	(revision 23066)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/system/index.tpl	(revision 23101)
@@ -33,5 +33,5 @@
 
         <div class="btn">
-            <a class="btn-action" href="javascript:;" onclick="eccube.win02('./input.php','input','620','450'); return false;"><span class="btn-next">メンバーを新規入力</span></a>
+            <a class="btn-action" href="javascript:;" onclick="eccube.openWindow('./input.php','input','620','450'); return false;"><span class="btn-next">メンバーを新規入力</span></a>
         </div>
         <!--▼メンバー一覧ここから-->
@@ -59,5 +59,5 @@
                 <td><!--{$list_data[data].department|h}--></td>
                 <!--{assign var="work" value=$list_data[data].work}--><td><!--{$arrWORK[$work]|h}--></td>
-                <td align="center"><a href="#" onclick="eccube.win02('./input.php?id=<!--{$list_data[data].member_id}-->&amp;pageno=<!--{$tpl_disppage}-->','member_edit','620','450'); return false;">編集</a></td>
+                <td align="center"><a href="#" onclick="eccube.openWindow('./input.php?id=<!--{$list_data[data].member_id}-->&amp;pageno=<!--{$tpl_disppage}-->','member_edit','620','450'); return false;">編集</a></td>
                 <td align="center"><!--{if $workmax > 1}--><a href="#" onclick="fnDeleteMember(<!--{$list_data[data].member_id}-->,<!--{$tpl_disppage}-->); return false;">削除</a><!--{else}-->-<!--{/if}--></td>
                 <td align="center">
