Index: /branches/version-2_13_0/test/selenium/backend/products/rank/TestCase_Admin_ProductsRank_rank_up
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/products/rank/TestCase_Admin_ProductsRank_rank_up	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/products/rank/TestCase_Admin_ProductsRank_rank_up	(revision 23103)
@@ -28,5 +28,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnModeSubmit('up','product_id', '5'); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setModeAndSubmit('up','product_id', '5'); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/products/rank/TestCase_Admin_ProductsRank_rank_down
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/products/rank/TestCase_Admin_ProductsRank_rank_down	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/products/rank/TestCase_Admin_ProductsRank_rank_down	(revision 23103)
@@ -33,5 +33,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnModeSubmit('down','product_id', '5'); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setModeAndSubmit('down','product_id', '5'); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/products/product/TestCase_Admin_ProductsProduct_regist
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/products/product/TestCase_Admin_ProductsProduct_regist	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/products/product/TestCase_Admin_ProductsProduct_regist	(revision 23103)
@@ -83,5 +83,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', 'main_list_image'); return false;&quot;]</td>
+	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', 'main_list_image'); return false;&quot;]</td>
 	<td></td>
 </tr>
@@ -93,5 +93,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', 'main_image'); return false;&quot;]</td>
+	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', 'main_image'); return false;&quot;]</td>
 	<td></td>
 </tr>
@@ -103,5 +103,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', 'main_large_image'); return false;&quot;]</td>
+	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', 'main_large_image'); return false;&quot;]</td>
 	<td></td>
 </tr>
@@ -123,5 +123,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', 'main_list_image'); return false;&quot;]</td>
+	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', 'main_list_image'); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/products/product/TestCase_Admin_ProductsProductClass_regist_class1_2
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/products/product/TestCase_Admin_ProductsProductClass_regist_class1_2	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/products/product/TestCase_Admin_ProductsProductClass_regist_class1_2	(revision 23103)
@@ -23,5 +23,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnChangeAction('./product_class.php'); fnModeSubmit('pre_edit', 'product_id', 3); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.changeAction('./product_class.php'); eccube.setModeAndSubmit('pre_edit', 'product_id', 3); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/products/product/TestCase_Admin_ProductsProduct_regist_download_product
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/products/product/TestCase_Admin_ProductsProduct_regist_download_product	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/products/product/TestCase_Admin_ProductsProduct_regist_download_product	(revision 23103)
@@ -138,5 +138,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', 'main_large_image'); return false;&quot;]</td>
+	<td>//a[@name='btn' and @onclick=&quot;selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', 'main_large_image'); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/products/class/TestCase_Admin_ProductsClassCategory_edit
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/products/class/TestCase_Admin_ProductsClassCategory_edit	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/products/class/TestCase_Admin_ProductsClassCategory_edit	(revision 23103)
@@ -38,5 +38,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnModeSubmit('pre_edit','classcategory_id', 8); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setModeAndSubmit('pre_edit','classcategory_id', 8); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_disp_dir
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_disp_dir	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_disp_dir	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnSetFormVal('form1', 'tree_select_file', 'C:/workspace/eccube/html/user_data/test');fnSelectFile('select_file6', '#808080');fnModeSubmit('move','',''); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setValue('tree_select_file', 'C:/workspace/eccube/html/user_data/test', 'form1');fnSelectFile('select_file6', '#808080');eccube.setModeAndSubmit('move','',''); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_disp_file
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_disp_file	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_disp_file	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnSetFormVal('form1', 'select_file', 'C:/workspace/eccube/html/user_data/test.txt');fnSelectFile('select_file8', '#808080');fnModeSubmit('view','',''); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setValue('select_file', 'C:/workspace/eccube/html/user_data/test.txt', 'form1');fnSelectFile('select_file8', '#808080');eccube.setModeAndSubmit('view','',''); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_delete_dir
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_delete_dir	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_delete_dir	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>click</td>
-	<td>//a[@onclick=&quot;fnSetFormVal('form1', 'select_file', 'C:/workspace/eccube/html/user_data/test');fnSelectFile('select_file6', '#808080');setTreeStatus('tree_status');fnModeSubmit('delete','',''); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setValue('select_file', 'C:/workspace/eccube/html/user_data/test', 'form1');fnSelectFile('select_file6', '#808080');setTreeStatus('tree_status');eccube.setModeAndSubmit('delete','',''); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_delete_file
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_delete_file	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_delete_file	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>click</td>
-	<td>//a[@onclick=&quot;fnSetFormVal('form1', 'select_file', 'C:/workspace/eccube/html/user_data/test.txt');fnSelectFile('select_file8', '#808080');setTreeStatus('tree_status');fnModeSubmit('delete','',''); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setValue('select_file', 'C:/workspace/eccube/html/user_data/test.txt', 'form1');fnSelectFile('select_file8', '#808080');setTreeStatus('tree_status');eccube.setModeAndSubmit('delete','',''); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_download
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_download	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/contents/TestCase_Admin_ContentsFileManager_download	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnSetFormVal('form1', 'select_file', 'C:/workspace/eccube/html/user_data/test.txt');fnSelectFile('select_file8', '#808080');setTreeStatus('tree_status');fnModeSubmit('download','',''); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setValue('select_file', 'C:/workspace/eccube/html/user_data/test.txt', 'form1');fnSelectFile('select_file8', '#808080');setTreeStatus('tree_status');eccube.setModeAndSubmit('download','',''); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/basis/holiday/TestCase_Admin_BasisHoliday_rank_up
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/basis/holiday/TestCase_Admin_BasisHoliday_rank_up	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/basis/holiday/TestCase_Admin_BasisHoliday_rank_up	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnModeSubmit('up', 'holiday_id', 1); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setModeAndSubmit('up', 'holiday_id', 1); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/basis/holiday/TestCase_Admin_BasisHoliday_rank_down
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/basis/holiday/TestCase_Admin_BasisHoliday_rank_down	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/basis/holiday/TestCase_Admin_BasisHoliday_rank_down	(revision 23103)
@@ -23,5 +23,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnModeSubmit('down', 'holiday_id', 1); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setModeAndSubmit('down', 'holiday_id', 1); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/basis/kiyaku/TestCase_Admin_BasisKiyaku_rank_up
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/basis/kiyaku/TestCase_Admin_BasisKiyaku_rank_up	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/basis/kiyaku/TestCase_Admin_BasisKiyaku_rank_up	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnModeSubmit('up', 'kiyaku_id', 1); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setModeAndSubmit('up', 'kiyaku_id', 1); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/basis/kiyaku/TestCase_Admin_BasisKiyaku_rank_down
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/basis/kiyaku/TestCase_Admin_BasisKiyaku_rank_down	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/basis/kiyaku/TestCase_Admin_BasisKiyaku_rank_down	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnModeSubmit('down', 'kiyaku_id', 1); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setModeAndSubmit('down', 'kiyaku_id', 1); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/basis/payment/TestCase_Admin_BasisPayment_rank_up
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/basis/payment/TestCase_Admin_BasisPayment_rank_up	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/basis/payment/TestCase_Admin_BasisPayment_rank_up	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnModeSubmit('up','payment_id', 1); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setModeAndSubmit('up','payment_id', 1); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/backend/basis/payment/TestCase_Admin_BasisPayment_rank_down
===================================================================
--- /branches/version-2_13_0/test/selenium/backend/basis/payment/TestCase_Admin_BasisPayment_rank_down	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/backend/basis/payment/TestCase_Admin_BasisPayment_rank_down	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//a[@onclick=&quot;fnModeSubmit('down','payment_id', 1); return false;&quot;]</td>
+	<td>//a[@onclick=&quot;eccube.setModeAndSubmit('down','payment_id', 1); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/test/selenium/front/TestCase_Front_logout
===================================================================
--- /branches/version-2_13_0/test/selenium/front/TestCase_Front_logout	(revision 23071)
+++ /branches/version-2_13_0/test/selenium/front/TestCase_Front_logout	(revision 23103)
@@ -18,5 +18,5 @@
 <tr>
 	<td>clickAndWait</td>
-	<td>//input[@type='image' and @onclick=&quot;fnFormModeSubmit('login_form', 'logout', '', ''); return false;&quot;]</td>
+	<td>//input[@type='image' and @onclick=&quot;eccube.fnFormModeSubmit('login_form', 'logout', '', ''); return false;&quot;]</td>
 	<td></td>
 </tr>
Index: /branches/version-2_13_0/html/user_data/packages/admin/js/admin.js
===================================================================
--- /branches/version-2_13_0/html/user_data/packages/admin/js/admin.js	(revision 23071)
+++ /branches/version-2_13_0/html/user_data/packages/admin/js/admin.js	(revision 23103)
@@ -21,18 +21,8 @@
  */
 
-//親ウィンドウのページを変更する。
-function fnUpdateParent(url) {
-    // 親ウィンドウの存在確認
-    if(fnIsopener()) {
-        window.opener.location.href = url;
-    } else {
-        window.close();
-    }
-}
-
 // 親ウィンドウをポストさせる。
 function fnSubmitParent() {
     // 親ウィンドウの存在確認
-    if(fnIsopener()) {
+    if(eccube.isOpener()) {
         window.opener.document.form1.submit();
     } else {
@@ -160,8 +150,4 @@
 }
 
-function fnSetFormValue(name, val) {
-    document.form1[name].value = val;
-}
-
 function fnListCheck(list) {
     len = list.length;
@@ -202,8 +188,8 @@
             );
         if(document.form1['stock_unlimited'].checked) {
-            fnChangeDisabled(list, icolor);
+            eccube.changeDisabled(list, icolor);
             document.form1['stock'].value = "";
         } else {
-            fnChangeDisabled(list, '');
+            eccube.changeDisabled(list, '');
         }
     }
@@ -334,9 +320,9 @@
             );
         if(document.form1[elem2].checked) {
-            fnChangeDisabled(list, icolor);
+            eccube.changeDisabled(list, icolor);
             document.form1[elem1].value = "";
         } else {
-            fnChangeDisabled(list, '');
-        }
-    }
-}
+            eccube.changeDisabled(list, '');
+        }
+    }
+}
Index: /branches/version-2_13_0/html/user_data/packages/admin/js/breadcrumbs.js
===================================================================
--- /branches/version-2_13_0/html/user_data/packages/admin/js/breadcrumbs.js	(revision 23071)
+++ /branches/version-2_13_0/html/user_data/packages/admin/js/breadcrumbs.js	(revision 23103)
@@ -27,5 +27,5 @@
              bread_crumbs: '',
              start_node: '<span>ホーム</span>',
-             anchor_node: '<a onclick="fnModeSubmit(\'tree\', \'parent_category_id\', '
+             anchor_node: '<a onclick="eccube.setModeAndSubmit(\'tree\', \'parent_category_id\', '
                  + '{category_id}); return false" href="javascript:;" />',
              delimiter_node: '<span>&nbsp;&gt;&nbsp;</span>'
Index: /branches/version-2_13_0/html/user_data/packages/admin/js/file_manager.js
===================================================================
--- /branches/version-2_13_0/html/user_data/packages/admin/js/file_manager.js	(revision 23071)
+++ /branches/version-2_13_0/html/user_data/packages/admin/js/file_manager.js	(revision 23103)
@@ -182,5 +182,5 @@
     } else {
         // Download
-        fnModeSubmit('download','','');
+        eccube.setModeAndSubmit('download','','');
     }
 }
@@ -193,5 +193,5 @@
     setTreeStatus(treeStatusHidden);
     // submit
-    fnModeSubmit(modeHidden,'','');
+    eccube.setModeAndSubmit(modeHidden,'','');
 }
 
Index: /branches/version-2_13_0/html/user_data/packages/sphone/js/eccube_sphone.js
===================================================================
--- /branches/version-2_13_0/html/user_data/packages/sphone/js/eccube_sphone.js	(revision 23071)
+++ /branches/version-2_13_0/html/user_data/packages/sphone/js/eccube_sphone.js	(revision 23103)
@@ -21,122 +21,100 @@
  */
 
-function setTopButton(topURL) {
-    if(!topURL){
-        topURL = "/";
+(function( window, undefined ){
+
+    // 名前空間の重複を防ぐ
+    if (window.eccube === undefined) {
+        window.eccube = {};
     }
-    var buttonText = "TOPへ";
-    var buttonId = "btn-top";
 
-    //ボタンの生成・設定
-    var btn = document.createElement('div');
-    var a = document.createElement('a');
-    btn.id = buttonId;
-    btn.onclick = function(){location=topURL;};
-    a.href = topURL;
-    a.innerText = buttonText;
+    var eccube = window.eccube;
 
-    /* 背景色の設定 ---------------------*/
-    //最初の見出しの背景色を取得、設定
-    var obj = document.getElementsByTagName('h2')[0];
-    var col = document.defaultView.getComputedStyle(obj,null).getPropertyValue('background-color');
-    btn.style.backgroundColor = col;
+    eccube.smartRollover = function() {
+        if (document.getElementsByTagName) {
+            var images = document.getElementsByTagName("img");
 
-    //省略表示用テキストの生成
-    var spn = document.createElement('span');
-    spn.innerText = obj.innerText;
-    obj.innerText = "";
-    spn.style.display = "inline-block";
-    spn.style.maxWidth = "50%";
-    spn.style.overflow = "hidden";
-    spn.style.textOverflow = "ellipsis";
-    obj.appendChild(spn);
-
-    //ボタンを追加
-    btn.appendChild(a);
-    document.getElementsByTagName('body')[0].appendChild(btn);;
-}
-
-function smartRollover() {
-    if (document.getElementsByTagName) {
-        var images = document.getElementsByTagName("img");
-
-        for (var i=0; i < images.length; i++) {
-            if (images[i].getAttribute("src").match("_off.")) {
-                images[i].onmouseover = function() {
-                    this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));
-                }
-                images[i].onmouseout = function() {
-                    this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));
+            for (var i=0; i < images.length; i++) {
+                if (images[i].getAttribute("src").match("_off.")) {
+                    images[i].onmouseover = function() {
+                        this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));
+                    };
+                    images[i].onmouseout = function() {
+                        this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));
+                    };
                 }
             }
         }
+    };
+
+    if (window.addEventListener) {
+        window.addEventListener("load", eccube.smartRollover, false);
+    } else if (window.attachEvent) {
+        window.attachEvent("onload", eccube.smartRollover);
     }
-}
 
-if (window.addEventListener) {
-    window.addEventListener("load", smartRollover, false);
-} else if (window.attachEvent) {
-    window.attachEvent("onload", smartRollover);
-}
+    /*------------------------------------------
+     お気に入りを登録する
+     ------------------------------------------*/
+    eccube.addFavoriteSphone = function(favoriteProductId) {
+        $.mobile.showPageLoadingMsg();
+        //送信データを準備
+        var postData = {};
+        var form = $("#form1");
+        form.find(':input').each(function(){
+            postData[$(this).attr('name')] = $(this).val();
+        });
+        postData["mode"] = "add_favorite_sphone";
+        postData["favorite_product_id"] = favoriteProductId;
 
-/*------------------------------------------
- お気に入りを登録する
- ------------------------------------------*/
-function fnAddFavoriteSphone(favoriteProductId) {
-    $.mobile.showPageLoadingMsg();
-    //送信データを準備
-    var postData = {};
-    $("#form1").find(':input').each(function(){
-        postData[$(this).attr('name')] = $(this).val();
+        $.ajax({
+            type: "POST",
+            url: form.attr('action'),
+            data: postData,
+            cache: false,
+            dataType: "text",
+            error: function(XMLHttpRequest, textStatus, errorThrown){
+                alert(textStatus);
+                $.mobile.hidePageLoadingMsg();
+            },
+            success: function(result){
+                if (result == "true") {
+                    alert("お気に入りに登録しました");
+                    $(".btn_favorite").html("<p>お気に入り登録済み</p>");
+                } else {
+                    alert("お気に入りの登録に失敗しました");
+                }
+                $.mobile.hidePageLoadingMsg();
+            }
+        });
+    };
+
+    // グローバルに使用できるようにする
+    window.eccube = eccube;
+
+    /*------------------------------------------
+     初期化
+     ------------------------------------------*/
+    $(function(){
+        //level?クラスを持つノード全てを走査し初期化
+        $("#categorytree li").each(function(){
+            if ($(this).children("ul").length) {
+                //▶を表示し、リストオープンイベントを追加
+                var tgt = $(this).children('span.category_header');
+                var linkObj = $("<a>");
+                linkObj.text('＋');
+                tgt
+                    .click(function(){
+                        $(this).siblings("ul").toggle('fast', function(){
+                            if ($(this).css('display') === 'none') {
+                                tgt.children('a').text('＋');
+                            } else {
+                                tgt.children('a').text('－');
+                            }
+                        });
+                    })
+                    .addClass('plus')
+                    .append(linkObj);
+            }
+        });
     });
-    postData["mode"] = "add_favorite_sphone";
-    postData["favorite_product_id"] = favoriteProductId;
-
-    $.ajax({
-        type: "POST",
-        url: $("#form1").attr('action'),
-        data: postData,
-        cache: false,
-        dataType: "text",
-        error: function(XMLHttpRequest, textStatus, errorThrown){
-            alert(textStatus);
-            $.mobile.hidePageLoadingMsg();
-        },
-        success: function(result){
-            if (result == "true") {
-                alert("お気に入りに登録しました");
-                $(".btn_favorite").html("<p>お気に入り登録済み</p>");
-            } else {
-                alert("お気に入りの登録に失敗しました");
-            }
-            $.mobile.hidePageLoadingMsg();
-        }
-    });
-}
-
-/*------------------------------------------
- 初期化
- ------------------------------------------*/
-$(function(){
-    //level?クラスを持つノード全てを走査し初期化
-    $("#categorytree li").each(function(){
-        if ($(this).children("ul").length) {
-            //▶を表示し、リストオープンイベントを追加
-            var tgt = $(this).children('span.category_header');
-            var linkObj = $("<a>");
-            linkObj.text('＋');
-            tgt
-                .click(function(){
-                    $(this).siblings("ul").toggle('fast', function(){
-                        if ($(this).css('display') === 'none') {
-                            tgt.children('a').text('＋');
-                        } else {
-                            tgt.children('a').text('－');
-                        }
-                    });
-                })
-                .addClass('plus')
-                .append(linkObj);
-        }
-    });
-});
+})(window);
Index: /branches/version-2_13_0/html/install/templates/agreement.tpl
===================================================================
--- /branches/version-2_13_0/html/install/templates/agreement.tpl	(revision 23071)
+++ /branches/version-2_13_0/html/install/templates/agreement.tpl	(revision 23103)
@@ -93,6 +93,6 @@
         <tr>
             <td align="center">
-            <a href="#" onmouseover="chgImg('../img/install/back_on.jpg','back')" onmouseout="chgImg('../img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_welcome';document.form1.submit();" /><img  width="105" src="../img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
-            <a href="#" onclick="document.form1.submit();"><input type='image' onMouseover="chgImgImageSubmit('../img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../img/install/next.jpg',this)" src="../img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next" id="next"></a>
+            <a href="#" onmouseover="eccube.chgImg('../img/install/back_on.jpg','back')" onmouseout="eccube.chgImg('../img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_welcome';document.form1.submit();" /><img  width="105" src="../img/install/back.jpg"  height="24" alt="前へ戻る" border="0" name="back"></a>
+            <a href="#" onclick="document.form1.submit();"><input type='image' onMouseover="eccube.chgImgImageSubmit('../img/install/next_on.jpg',this)" onMouseout="eccube.chgImgImageSubmit('../img/install/next.jpg',this)" src="../img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next" id="next"></a>
             </td>
         </tr>
Index: /branches/version-2_13_0/html/install/templates/step3.tpl
===================================================================
--- /branches/version-2_13_0/html/install/templates/step3.tpl	(revision 23071)
+++ /branches/version-2_13_0/html/install/templates/step3.tpl	(revision 23103)
@@ -23,5 +23,5 @@
 <!--
     // モードとキーを指定してSUBMITを行う。
-    function fnModeSubmit(mode) {
+    function eccube.setModeAndSubmit(mode) {
         switch(mode) {
         case 'drop':
@@ -68,5 +68,5 @@
                 <!--{if $arrErr.all != ""}-->
                     <ul class="btn-area">
-                        <li><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('drop'); return false;">既存データを全て削除する</a></li>
+                        <li><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('drop'); return false;">既存データを全て削除する</a></li>
                     </ul>
                 <!--{/if}-->
Index: /branches/version-2_13_0/html/js/eccube.js
===================================================================
--- /branches/version-2_13_0/html/js/eccube.js	(revision 23071)
+++ /branches/version-2_13_0/html/js/eccube.js	(revision 23103)
@@ -21,545 +21,514 @@
  */
 
-function chgImg(fileName,img){
-    if (typeof(img) == "object") {
-        img.src = fileName;
-    } else {
-        document.images[img].src = fileName;
+(function( window, undefined ){
+
+
+    // 名前空間の重複を防ぐ
+    if (window.eccube === undefined) {
+        window.eccube = {};
     }
-}
-
-function chgImgImageSubmit(fileName,imgObj){
-    imgObj.src = fileName;
-}
-
-function win01(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();
-}
-
-function win02(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();
-}
-
-function win03(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();
-}
-
-function winSubmit(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();
-}
-
-// 親ウィンドウの存在確認.
-function fnIsopener() {
-    var ua = navigator.userAgent;
-    if( !!window.opener ) {
-        if( ua.indexOf('MSIE 4')!=-1 && ua.indexOf('Win')!=-1 ) {
-            return !window.opener.closed;
-        } else {
-            return typeof window.opener.document == 'object';
-        }
-    } else {
+
+    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.isOpener = function() {
+        var ua = navigator.userAgent;
+        if( !!window.opener ) {
+            if( ua.indexOf('MSIE 4')!=-1 && ua.indexOf('Win')!=-1 ) {
+                return !window.opener.closed;
+            } else {
+                return typeof window.opener.document == 'object';
+            }
+        } else {
+            return false;
+        }
+    };
+
+    eccube.chgImg = function(fileName,img){
+        if (typeof(img) == "object") {
+            img.src = fileName;
+        } else {
+            document.images[img].src = fileName;
+        }
+    };
+
+    eccube.chgImgImageSubmit = function(fileName,imgObj){
+        imgObj.src = fileName;
+    };
+
+    // 郵便番号入力呼び出し.
+    eccube.getAddress = function(php_url, tagname1, tagname2, input1, input2) {
+        var zip1 = document.form1[tagname1].value;
+        var zip2 = document.form1[tagname2].value;
+
+        if(zip1.length == 3 && zip2.length == 4) {
+            $.get(
+                php_url,
+                {zip1: zip1, zip2: zip2, input1: input1, input2: input2},
+                function(data) {
+                    var arrData = data.split("|");
+                    if (arrData.length > 1) {
+                        eccube.putAddress(input1, input2, arrData[0], arrData[1], arrData[2]);
+                    } else {
+                        alert(data);
+                    }
+                }
+            );
+        } else {
+            alert("郵便番号を正しく入力して下さい。");
+        }
+    };
+
+    // 郵便番号から検索した住所を渡す.
+    eccube.putAddress = function(input1, input2, state, city, town) {
+        if(state != "") {
+            // 項目に値を入力する.
+            document.form1[input1].selectedIndex = state;
+            document.form1[input2].value = city + town;
+        }
+    };
+
+    eccube.setFocus = function(name) {
+        if(document.form1[name]) {
+            document.form1[name].focus();
+        }
+    };
+
+    // モードとキーを指定してSUBMITを行う。
+    eccube.setModeAndSubmit = function(mode, keyname, keyid) {
+        switch(mode) {
+            case 'delete_category':
+                if(!window.confirm('選択したカテゴリとカテゴリ内の全てのカテゴリを削除します')){
+                    return;
+                }
+                break;
+            case 'delete':
+                if(!window.confirm('一度削除したデータは、元に戻せません。\n削除しても宜しいですか？')){
+                    return;
+                }
+                break;
+            case 'confirm':
+                if(!window.confirm('登録しても宜しいですか')){
+                    return;
+                }
+                break;
+            case 'delete_all':
+                if(!window.confirm('検索結果を全て削除しても宜しいですか')){
+                    return;
+                }
+                break;
+            default:
+                break;
+        }
+        document.form1['mode'].value = mode;
+        if(keyname != "" && keyid != "") {
+            document.form1[keyname].value = keyid;
+        }
+        document.form1.submit();
+    };
+
+    eccube.fnFormModeSubmit = function(form, mode, keyname, keyid) {
+        switch(mode) {
+            case 'delete':
+                if(!window.confirm('一度削除したデータは、元に戻せません。\n削除しても宜しいですか？')){
+                    return;
+                }
+                break;
+            case 'confirm':
+                if(!window.confirm('登録しても宜しいですか')){
+                    return;
+                }
+                break;
+            case 'regist':
+                if(!window.confirm('登録しても宜しいですか')){
+                    return;
+                }
+                break;
+            default:
+                break;
+        }
+        document.forms[form]['mode'].value = mode;
+        if(keyname != "" && keyid != "") {
+            document.forms[form][keyname].value = keyid;
+        }
+        document.forms[form].submit();
+    };
+
+    eccube.setValueAndSubmit = function(form, key, val) {
+        document.forms[form][key].value = val;
+        document.forms[form].submit();
         return false;
-    }
-}
-
-// 郵便番号入力呼び出し.
-function fnCallAddress(php_url, tagname1, tagname2, input1, input2) {
-    zip1 = document.form1[tagname1].value;
-    zip2 = document.form1[tagname2].value;
-
-    if(zip1.length == 3 && zip2.length == 4) {
-        $.get(
-            php_url,
-            {zip1: zip1, zip2: zip2, input1: input1, input2: input2},
-            function(data) {
-                arrdata = data.split("|");
-                if (arrdata.length > 1) {
-                    fnPutAddress(input1, input2, arrdata[0], arrdata[1], arrdata[2]);
-                } else {
-                    alert(data);
-                }
-            }
-        );
-    } else {
-        alert("郵便番号を正しく入力して下さい。");
-    }
-}
-
-// 郵便番号から検索した住所を渡す.
-function fnPutAddress(input1, input2, state, city, town) {
-    if(state != "") {
-        // 項目に値を入力する.
-        document.form1[input1].selectedIndex = state;
-        document.form1[input2].value = city + town;
-    }
-}
-
-function fnOpenNoMenu(URL) {
-    window.open(URL,"nomenu","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no");
-}
-
-function fnOpenWindow(URL,name,width,height) {
-    window.open(URL,name,"width="+width+",height="+height+",scrollbars=yes,resizable=no,toolbar=no,location=no,directories=no,status=no");
-}
-
-function fnSetFocus(name) {
-    if(document.form1[name]) {
-        document.form1[name].focus();
-    }
-}
-
-// セレクトボックスに項目を割り当てる.
-function fnSetSelect(name1, name2, val) {
-    sele1 = document.form1[name1];
-    sele2 = document.form1[name2];
-
-    if(sele1 && sele2) {
-        index=sele1.selectedIndex;
-
-        // セレクトボックスのクリア
-        count=sele2.options.length
-        for(i = count; i >= 0; i--) {
-            sele2.options[i]=null;
-        }
-
-        // セレクトボックスに値を割り当てる。
-        len = lists[index].length
-        for(i = 0; i < len; i++) {
-            sele2.options[i]=new Option(lists[index][i], vals[index][i]);
-            if(val != "" && vals[index][i] == val) {
-                sele2.options[i].selected = true;
-            }
-        }
-    }
-}
-
-// Enterキー入力をキャンセルする。(IEに対応)
-function fnCancelEnter()
-{
-    if (gCssUA.indexOf("WIN") != -1 && gCssUA.indexOf("MSIE") != -1) {
-        if (window.event.keyCode == 13)
-        {
-            return false;
-        }
-    }
-    return true;
-}
-
-// モードとキーを指定してSUBMITを行う。
-function fnModeSubmit(mode, keyname, keyid) {
-    switch(mode) {
-        case 'delete_category':
-            if(!window.confirm('選択したカテゴリとカテゴリ内の全てのカテゴリを削除します')){
-                return;
-            }
-            break;
-        case 'delete':
-            if(!window.confirm('一度削除したデータは、元に戻せません。\n削除しても宜しいですか？')){
-                return;
-            }
-            break;
-        case 'confirm':
-            if(!window.confirm('登録しても宜しいですか')){
-                return;
-            }
-            break;
-        case 'delete_all':
-            if(!window.confirm('検索結果を全て削除しても宜しいですか')){
-                return;
-            }
-            break;
-        default:
-            break;
-    }
-    document.form1['mode'].value = mode;
-    if(keyname != "" && keyid != "") {
-        document.form1[keyname].value = keyid;
-    }
-    document.form1.submit();
-}
-
-function fnFormModeSubmit(form, mode, keyname, keyid) {
-    switch(mode) {
-        case 'delete':
-            if(!window.confirm('一度削除したデータは、元に戻せません。\n削除しても宜しいですか？')){
-                return;
-            }
-            break;
-        case 'confirm':
-            if(!window.confirm('登録しても宜しいですか')){
-                return;
-            }
-            break;
-        case 'regist':
-            if(!window.confirm('登録しても宜しいですか')){
-                return;
-            }
-            break;
-        default:
-            break;
-    }
-    document.forms[form]['mode'].value = mode;
-    if(keyname != "" && keyid != "") {
-        document.forms[form][keyname].value = keyid;
-    }
-    document.forms[form].submit();
-}
-
-function fnSetFormSubmit(form, key, val) {
-    document.forms[form][key].value = val;
-    document.forms[form].submit();
-    return false;
-}
-
-function fnSetVal(key, val) {
-    fnSetFormVal('form1', key, val);
-}
-
-function fnSetFormVal(form, key, val) {
-    document.forms[form][key].value = val;
-}
-
-function fnChangeAction(url) {
-    document.form1.action = url;
-}
-
-// ページナビで使用する。
-function fnNaviPage(pageno) {
-    document.form1['pageno'].value = pageno;
-    document.form1.submit();
-}
-
-function fnSearchPageNavi(pageno) {
-    document.form1['pageno'].value = pageno;
-    document.form1['mode'].value = 'search';
-    document.form1.submit();
-}
-
-function fnSubmit(){
-    document.form1.submit();
-}
-
-// ポイント入力制限。
-function fnCheckInputPoint() {
-    if(document.form1['point_check']) {
-        list = new Array(
-            'use_point'
-        );
-
-        if(!document.form1['point_check'][0].checked) {
-            color = "#dddddd";
-            flag = true;
-        } else {
-            color = "";
-            flag = false;
-        }
-
-        len = list.length
+    };
+
+    eccube.setValue = function(key, val, form) {
+        if (typeof form === 'undefined') {
+            form = 'form1';
+        }
+        document.forms[form][key].value = val;
+    };
+
+    eccube.changeAction = function(url) {
+        document.form1.action = url;
+    };
+
+    // ページナビで使用する。
+    eccube.movePage = function(pageno, mode, form) {
+        if (typeof form !== 'undefined') {
+            form = 'form1';
+        }
+        document.forms[form]['pageno'].value = pageno;
+        if (typeof mode !== 'undefined') {
+            document.forms[form]['mode'].value = 'search';
+        }
+        document.forms[form].submit();
+    };
+
+    eccube.submitForm = function(form){
+        if (typeof form !== 'undefined') {
+            form = 'form1';
+        }
+        document.forms[form].submit();
+    };
+
+    // ポイント入力制限。
+    eccube.togglePointForm = function() {
+        if(document.form1['point_check']) {
+            var list = ['use_point'];
+            var color;
+            var flag;
+
+            if(!document.form1['point_check'][0].checked) {
+                color = "#dddddd";
+                flag = true;
+            } else {
+                color = "";
+                flag = false;
+            }
+
+            var len = list.length;
+            for(i = 0; i < len; i++) {
+                if(document.form1[list[i]]) {
+                    var current_color = document.form1[list[i]].style.backgroundColor;
+                    if (color != "#dddddd" && (current_color == "#ffe8e8" || current_color == "rgb(255, 232, 232)"))
+                    {
+                        continue;
+                    }
+                    document.form1[list[i]].disabled = flag;
+                    document.form1[list[i]].style.backgroundColor = color;
+                }
+            }
+        }
+    };
+
+    // 別のお届け先入力制限。
+    eccube.toggleDeliveryForm = function() {
+        if(!document.form1) {
+            return;
+        }
+        if(document.form1['deliv_check']) {
+            var list = [
+                'shipping_name01',
+                'shipping_name02',
+                'shipping_kana01',
+                'shipping_kana02',
+                'shipping_pref',
+                'shipping_zip01',
+                'shipping_zip02',
+                'shipping_addr01',
+                'shipping_addr02',
+                'shipping_tel01',
+                'shipping_tel02',
+                'shipping_tel03'
+            ];
+
+            if(!document.form1['deliv_check'].checked) {
+                eccube.changeDisabled(list, '#dddddd');
+            } else {
+                eccube.changeDisabled(list, '');
+            }
+        }
+    };
+
+    // 最初に設定されていた色を保存しておく。
+    eccube.savedColor = [];
+
+    eccube.changeDisabled = function(list, color) {
+        var len = list.length;
+
         for(i = 0; i < len; i++) {
             if(document.form1[list[i]]) {
-                var current_color = document.form1[list[i]].style.backgroundColor;
-                if (color != "#dddddd" && (current_color == "#ffe8e8" || current_color == "rgb(255, 232, 232)"))
-                {
-                    continue;
-                }
-                document.form1[list[i]].disabled = flag;
-                document.form1[list[i]].style.backgroundColor = color;
-            }
-        }
-    }
-}
-
-// 別のお届け先入力制限。
-function fnCheckInputDeliv() {
-    if(!document.form1) {
-        return;
-    }
-    if(document.form1['deliv_check']) {
-        list = new Array(
-            'shipping_name01',
-            'shipping_name02',
-            'shipping_kana01',
-            'shipping_kana02',
-            'shipping_pref',
-            'shipping_zip01',
-            'shipping_zip02',
-            'shipping_addr01',
-            'shipping_addr02',
-            'shipping_tel01',
-            'shipping_tel02',
-            'shipping_tel03'
-        );
-
-        if(!document.form1['deliv_check'].checked) {
-            fnChangeDisabled(list, '#dddddd');
-        } else {
-            fnChangeDisabled(list, '');
-        }
-    }
-}
-
-// 最初に設定されていた色を保存しておく。
-var g_savecolor = new Array();
-
-function fnChangeDisabled(list, color) {
-    len = list.length;
-
-    for(i = 0; i < len; i++) {
-        if(document.form1[list[i]]) {
-            if(color == "") {
-                // 有効にする。
-                document.form1[list[i]].disabled = false;
-                document.form1[list[i]].style.backgroundColor = g_savecolor[list[i]];
-            } else {
-                // 無効にする。
-                document.form1[list[i]].disabled = true;
-                g_savecolor[list[i]] = document.form1[list[i]].style.backgroundColor;
-                document.form1[list[i]].style.backgroundColor = color;//"#f0f0f0";
-            }
-        }
-    }
-}
-
-// ログイン時の入力チェック
-function fnCheckLogin(formname) {
-    var lstitem = new Array();
-
-    lstitem[0] = 'login_email';
-    lstitem[1] = 'login_pass';
-
-    var max = lstitem.length;
-    var errflg = false;
-    var cnt = 0;
-
-    //　必須項目のチェック
-    for(cnt = 0; cnt < max; cnt++) {
-        if(document.forms[formname][lstitem[cnt]].value == "") {
-            errflg = true;
-            break;
-        }
-    }
-
-    // 必須項目が入力されていない場合
-    if(errflg == true) {
-        alert('メールアドレス/パスワードを入力して下さい。');
-        return false;
-    } else {
-        return true;
-    }
-}
-
-// 時間の計測.
-function fnPassTime(){
-    end_time = new Date();
-    time = end_time.getTime() - start_time.getTime();
-    alert((time/1000));
-}
-start_time = new Date();
-
-//親ウィンドウのページを変更する.
-function fnUpdateParent(url) {
-    // 親ウィンドウの存在確認
-    if(fnIsopener()) {
-        window.opener.location.href = url;
-    } else {
-        window.close();
-    }
-}
-
-//特定のキーをSUBMITする.
-function fnKeySubmit(keyname, keyid) {
-    if(keyname != "" && keyid != "") {
-        document.form1[keyname].value = keyid;
-    }
-    document.form1.submit();
-}
-
-//文字数をカウントする。
-//引数1：フォーム名称
-//引数2：文字数カウント対象
-//引数3：カウント結果格納対象
-function fnCharCount(form,sch,cnt) {
-    document.forms[form][cnt].value= document.forms[form][sch].value.length;
-}
-
-// テキストエリアのサイズを変更する.
-function ChangeSize(buttonSelector, textAreaSelector, max, min) {
-    if ($(textAreaSelector).attr('rows') <= min) {
-        $(textAreaSelector).attr('rows', max);
-        $(buttonSelector).text('縮小');
-    } else {
-        $(textAreaSelector).attr('rows', min);
-        $(buttonSelector).text('拡大');
-    }
-}
-
-$(function() {
-    // 規格1選択時
-    $('select[name=classcategory_id1]')
-        .change(function() {
-            var $form = $(this).parents('form');
-            var product_id = $form.find('input[name=product_id]').val();
-            var $sele1 = $(this);
-            var $sele2 = $form.find('select[name=classcategory_id2]');
-
-            // 規格1のみの場合
-            if (!$sele2.length) {
-                checkStock($form, product_id, $sele1.val(), '0');
-                // 規格2ありの場合
-            } else {
-                setClassCategories($form, product_id, $sele1, $sele2);
-            }
-        });
-
-    // 規格2選択時
-    $('select[name=classcategory_id2]')
-        .change(function() {
-            var $form = $(this).parents('form');
-            var product_id = $form.find('input[name=product_id]').val();
-            var $sele1 = $form.find('select[name=classcategory_id1]');
-            var $sele2 = $(this);
-            checkStock($form, product_id, $sele1.val(), $sele2.val());
-        });
-});
-/**
- * 規格2のプルダウンを設定する.
- */
-function setClassCategories($form, product_id, $sele1, $sele2, selected_id2) {
-    if ($sele1 && $sele1.length) {
-        var classcat_id1 = $sele1.val() ? $sele1.val() : '';
-        if ($sele2 && $sele2.length) {
-            // 規格2の選択肢をクリア
-            $sele2.children().remove();
-
-            var classcat2;
-
-            // 商品一覧時
-            if (typeof productsClassCategories != 'undefined') {
-                classcat2 = productsClassCategories[product_id][classcat_id1];
-            }
-            // 詳細表示時
-            else {
-                classcat2 = classCategories[classcat_id1];
-            }
-
-            // 規格2の要素を設定
-            for (var key in classcat2) {
-                var id = classcat2[key]['classcategory_id2'];
-                var name = classcat2[key]['name'];
-                var option = $('<option />').val(id ? id : '').text(name);
-                if (id == selected_id2) {
-                    option.attr('selected', true);
-                }
-                $sele2.append(option);
-            }
-            checkStock($form, product_id, $sele1.val() ? $sele1.val() : '__unselected2',
-                $sele2.val() ? $sele2.val() : '');
-        }
-    }
-}
-
-/**
- * 規格の選択状態に応じて, フィールドを設定する.
- */
-function checkStock($form, product_id, classcat_id1, classcat_id2) {
-
-    classcat_id2 = classcat_id2 ? classcat_id2 : '';
-
-    var classcat2;
-
-    // 商品一覧時
-    if (typeof productsClassCategories != 'undefined') {
-        classcat2 = productsClassCategories[product_id][classcat_id1]['#' + classcat_id2];
-    }
-    // 詳細表示時
-    else {
-        classcat2 = classCategories[classcat_id1]['#' + classcat_id2];
-    }
-
-    // 商品コード
-    var $product_code_default = $form.find('[id^=product_code_default]');
-    var $product_code_dynamic = $form.find('[id^=product_code_dynamic]');
-    if (classcat2
-        && typeof classcat2['product_code'] != 'undefined') {
-        $product_code_default.hide();
-        $product_code_dynamic.show();
-        $product_code_dynamic.text(classcat2['product_code']);
-    } else {
-        $product_code_default.show();
-        $product_code_dynamic.hide();
-    }
-
-    // 在庫(品切れ)
-    var $cartbtn_default = $form.find('[id^=cartbtn_default]');
-    var $cartbtn_dynamic = $form.find('[id^=cartbtn_dynamic]');
-    if (classcat2 && classcat2['stock_find'] === false) {
-
-        $cartbtn_dynamic.text('申し訳ございませんが、只今品切れ中です。').show();
-        $cartbtn_default.hide();
-    } else {
-        $cartbtn_dynamic.hide();
-        $cartbtn_default.show();
-    }
-
-    // 通常価格
-    var $price01_default = $form.find('[id^=price01_default]');
-    var $price01_dynamic = $form.find('[id^=price01_dynamic]');
-    if (classcat2
-        && typeof classcat2['price01'] != 'undefined'
-        && String(classcat2['price01']).length >= 1) {
-
-        $price01_dynamic.text(classcat2['price01']).show();
-        $price01_default.hide();
-    } else {
-        $price01_dynamic.hide();
-        $price01_default.show();
-    }
-
-    // 販売価格
-    var $price02_default = $form.find('[id^=price02_default]');
-    var $price02_dynamic = $form.find('[id^=price02_dynamic]');
-    if (classcat2
-        && typeof classcat2['price02'] != 'undefined'
-        && String(classcat2['price02']).length >= 1) {
-
-        $price02_dynamic.text(classcat2['price02']).show();
-        $price02_default.hide();
-    } else {
-        $price02_dynamic.hide();
-        $price02_default.show();
-    }
-
-    // ポイント
-    var $point_default = $form.find('[id^=point_default]');
-    var $point_dynamic = $form.find('[id^=point_dynamic]');
-    if (classcat2
-        && typeof classcat2['point'] != 'undefined'
-        && String(classcat2['point']).length >= 1) {
-
-        $point_dynamic.text(classcat2['point']).show();
-        $point_default.hide();
-    } else {
-        $point_dynamic.hide();
-        $point_default.show();
-    }
-
-    // 商品規格
-    var $product_class_id_dynamic = $form.find('[id^=product_class_id]');
-    if (classcat2
-        && typeof classcat2['product_class_id'] != 'undefined'
-        && String(classcat2['product_class_id']).length >= 1) {
-
-        $product_class_id_dynamic.val(classcat2['product_class_id']);
-    } else {
-        $product_class_id_dynamic.val('');
-    }
-}
-
+                if(color == "") {
+                    // 有効にする。
+                    document.form1[list[i]].disabled = false;
+                    document.form1[list[i]].style.backgroundColor = eccube.savedColor[list[i]];
+                } else {
+                    // 無効にする。
+                    document.form1[list[i]].disabled = true;
+                    eccube.savedColor[list[i]] = document.form1[list[i]].style.backgroundColor;
+                    document.form1[list[i]].style.backgroundColor = color;//"#f0f0f0";
+                }
+            }
+        }
+    };
+
+    // ログイン時の入力チェック
+    eccube.checkLoginFormInputted = function(form, emailKey, passKey) {
+        var checkItems = [];
+
+        if (typeof emailKey === 'undefined') {
+            checkItems[0] = 'login_email';
+        } else {
+            checkItems[0] = emailKey;
+        }
+        if (typeof passKey === 'undefined') {
+            checkItems[1] = 'login_pass';
+        } else {
+            checkItems[1] = passKey;
+        }
+
+        var max = checkItems.length;
+        var errorFlag = false;
+
+        //　必須項目のチェック
+        for(var cnt = 0; cnt < max; cnt++) {
+            if(document.forms[form][checkItems[cnt]].value == "") {
+                errorFlag = true;
+                break;
+            }
+        }
+
+        // 必須項目が入力されていない場合
+        if(errorFlag == true) {
+            alert('メールアドレス/パスワードを入力して下さい。');
+            return false;
+        } else {
+            return true;
+        }
+    };
+
+    //親ウィンドウのページを変更する.
+    eccube.changeParentUrl = function(url) {
+        // 親ウィンドウの存在確認
+        if(eccube.isOpener()) {
+            window.opener.location.href = url;
+        } else {
+            window.close();
+        }
+    };
+
+    //文字数をカウントする。
+    //引数1：フォーム名称
+    //引数2：文字数カウント対象
+    //引数3：カウント結果格納対象
+    eccube.countChars = function(form,sch,cnt) {
+        document.forms[form][cnt].value= document.forms[form][sch].value.length;
+    };
+
+    // テキストエリアのサイズを変更する.
+    eccube.toggleRows = function(buttonSelector, textAreaSelector, max, min) {
+        if ($(textAreaSelector).attr('rows') <= min) {
+            $(textAreaSelector).attr('rows', max);
+            $(buttonSelector).text('縮小');
+        } else {
+            $(textAreaSelector).attr('rows', min);
+            $(buttonSelector).text('拡大');
+        }
+    };
+
+    /**
+     * 規格2のプルダウンを設定する.
+     */
+    eccube.setClassCategories = function($form, product_id, $sele1, $sele2, selected_id2) {
+        if ($sele1 && $sele1.length) {
+            var classcat_id1 = $sele1.val() ? $sele1.val() : '';
+            if ($sele2 && $sele2.length) {
+                // 規格2の選択肢をクリア
+                $sele2.children().remove();
+
+                var classcat2;
+
+                // 商品一覧時
+                if (eccube.productsClassCategories !== undefined) {
+                    classcat2 = eccube.productsClassCategories[product_id][classcat_id1];
+                }
+                // 詳細表示時
+                else {
+                    classcat2 = eccube.classCategories[classcat_id1];
+                }
+
+                // 規格2の要素を設定
+                for (var key in classcat2) {
+                    var id = classcat2[key]['classcategory_id2'];
+                    var name = classcat2[key]['name'];
+                    var option = $('<option />').val(id ? id : '').text(name);
+                    if (id == selected_id2) {
+                        option.attr('selected', true);
+                    }
+                    $sele2.append(option);
+                }
+                eccube.checkStock($form, product_id, $sele1.val() ? $sele1.val() : '__unselected2',
+                    $sele2.val() ? $sele2.val() : '');
+            }
+        }
+    };
+
+    /**
+     * 規格の選択状態に応じて, フィールドを設定する.
+     */
+    eccube.checkStock = function($form, product_id, classcat_id1, classcat_id2) {
+
+        classcat_id2 = classcat_id2 ? classcat_id2 : '';
+
+        var classcat2;
+
+        // 商品一覧時
+        if (typeof eccube.productsClassCategories != 'undefined') {
+            classcat2 = eccube.productsClassCategories[product_id][classcat_id1]['#' + classcat_id2];
+        }
+        // 詳細表示時
+        else {
+            classcat2 = eccube.classCategories[classcat_id1]['#' + classcat_id2];
+        }
+
+        // 商品コード
+        var $product_code_default = $form.find('[id^=product_code_default]');
+        var $product_code_dynamic = $form.find('[id^=product_code_dynamic]');
+        if (classcat2
+            && typeof classcat2['product_code'] != 'undefined') {
+            $product_code_default.hide();
+            $product_code_dynamic.show();
+            $product_code_dynamic.text(classcat2['product_code']);
+        } else {
+            $product_code_default.show();
+            $product_code_dynamic.hide();
+        }
+
+        // 在庫(品切れ)
+        var $cartbtn_default = $form.find('[id^=cartbtn_default]');
+        var $cartbtn_dynamic = $form.find('[id^=cartbtn_dynamic]');
+        if (classcat2 && classcat2['stock_find'] === false) {
+
+            $cartbtn_dynamic.text('申し訳ございませんが、只今品切れ中です。').show();
+            $cartbtn_default.hide();
+        } else {
+            $cartbtn_dynamic.hide();
+            $cartbtn_default.show();
+        }
+
+        // 通常価格
+        var $price01_default = $form.find('[id^=price01_default]');
+        var $price01_dynamic = $form.find('[id^=price01_dynamic]');
+        if (classcat2
+            && typeof classcat2['price01'] != 'undefined'
+            && String(classcat2['price01']).length >= 1) {
+
+            $price01_dynamic.text(classcat2['price01']).show();
+            $price01_default.hide();
+        } else {
+            $price01_dynamic.hide();
+            $price01_default.show();
+        }
+
+        // 販売価格
+        var $price02_default = $form.find('[id^=price02_default]');
+        var $price02_dynamic = $form.find('[id^=price02_dynamic]');
+        if (classcat2
+            && typeof classcat2['price02'] != 'undefined'
+            && String(classcat2['price02']).length >= 1) {
+
+            $price02_dynamic.text(classcat2['price02']).show();
+            $price02_default.hide();
+        } else {
+            $price02_dynamic.hide();
+            $price02_default.show();
+        }
+
+        // ポイント
+        var $point_default = $form.find('[id^=point_default]');
+        var $point_dynamic = $form.find('[id^=point_dynamic]');
+        if (classcat2
+            && typeof classcat2['point'] != 'undefined'
+            && String(classcat2['point']).length >= 1) {
+
+            $point_dynamic.text(classcat2['point']).show();
+            $point_default.hide();
+        } else {
+            $point_dynamic.hide();
+            $point_default.show();
+        }
+
+        // 商品規格
+        var $product_class_id_dynamic = $form.find('[id^=product_class_id]');
+        if (classcat2
+            && typeof classcat2['product_class_id'] != 'undefined'
+            && String(classcat2['product_class_id']).length >= 1) {
+
+            $product_class_id_dynamic.val(classcat2['product_class_id']);
+        } else {
+            $product_class_id_dynamic.val('');
+        }
+    };
+
+    // グローバルに使用できるようにする
+    window.eccube = eccube;
+
+    /**
+     * Initialize.
+     */
+    $(function() {
+        // 規格1選択時
+        $('select[name=classcategory_id1]')
+            .change(function() {
+                var $form = $(this).parents('form');
+                var product_id = $form.find('input[name=product_id]').val();
+                var $sele1 = $(this);
+                var $sele2 = $form.find('select[name=classcategory_id2]');
+
+                // 規格1のみの場合
+                if (!$sele2.length) {
+                    eccube.checkStock($form, product_id, $sele1.val(), '0');
+                    // 規格2ありの場合
+                } else {
+                    eccube.setClassCategories($form, product_id, $sele1, $sele2);
+                }
+            });
+
+        // 規格2選択時
+        $('select[name=classcategory_id2]')
+            .change(function() {
+                var $form = $(this).parents('form');
+                var product_id = $form.find('input[name=product_id]').val();
+                var $sele1 = $form.find('select[name=classcategory_id1]');
+                var $sele2 = $(this);
+                eccube.checkStock($form, product_id, $sele1.val(), $sele2.val());
+            });
+    });
+})(window);
Index: /branches/version-2_13_0/data/class/SC_PageNavi.php
===================================================================
--- /branches/version-2_13_0/data/class/SC_PageNavi.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/SC_PageNavi.php	(revision 23103)
@@ -28,10 +28,15 @@
         $objPage->tpl_pageno = $_POST['pageno'];
     ・$func_nameに指定するJavaScriptの例
-        // ページナビで使用する
-        function fnNaviPage(pageno)
-        {
-            document.form1['pageno'].value = pageno;
-            document.form1.submit();
-        }
+        // ページナビで使用する。
+        eccube.movePage = function(pageno, mode, form) {
+            if (typeof form !== 'undefined') {
+                form = 'form1';
+            }
+            document.forms[form]['pageno'].value = pageno;
+            if (typeof mode !== 'undefined') {
+                document.forms[form]['mode'].value = 'search';
+            }
+            document.forms[form].submit();
+        };
 */
 class SC_PageNavi
Index: /branches/version-2_13_0/data/class/pages/products/LC_Page_Products_List.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/products/LC_Page_Products_List.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/products/LC_Page_Products_List.php	(revision 23103)
@@ -144,5 +144,5 @@
             $urlParam .= "&mode={$this->mode}&name={$searchNameUrl}&orderby={$this->orderby}";
         }
-        $this->objNavi      = new SC_PageNavi_Ex($this->tpl_pageno, $this->tpl_linemax, $this->disp_number, 'fnNaviPage', NAVI_PMAX, $urlParam, SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE);
+        $this->objNavi      = new SC_PageNavi_Ex($this->tpl_pageno, $this->tpl_linemax, $this->disp_number, 'eccube.movePage', NAVI_PMAX, $urlParam, SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE);
         $this->arrProducts  = $this->lfGetProductsList($arrSearchCondition, $this->disp_number, $this->objNavi->start_row, $objProduct);
 
@@ -539,5 +539,5 @@
         $this->productStatus = $this->arrProducts['productStatus'];
         unset($this->arrProducts['productStatus']);
-        $this->tpl_javascript .= 'var productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . ';';
+        $this->tpl_javascript .= 'eccube.productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . ';';
         if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_PC) {
             //onloadスクリプトを設定. 在庫ありの商品のみ出力する
Index: /branches/version-2_13_0/data/class/pages/products/LC_Page_Products_Detail.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/products/LC_Page_Products_Detail.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/products/LC_Page_Products_Detail.php	(revision 23103)
@@ -148,5 +148,5 @@
         }
 
-        $this->tpl_javascript .= 'classCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories[$product_id]) . ';';
+        $this->tpl_javascript .= 'eccube.classCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories[$product_id]) . ';';
         $this->tpl_javascript .= 'function lnOnLoad()
         {' . $this->js_lnOnload . '}';
Index: /branches/version-2_13_0/data/class/pages/mypage/LC_Page_Mypage.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/mypage/LC_Page_Mypage.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/mypage/LC_Page_Mypage.php	(revision 23103)
@@ -86,5 +86,5 @@
                                             $this->lfGetOrderHistory($customer_id),
                                             SEARCH_PMAX,
-                                            'fnNaviPage',
+                                            'eccube.movePage',
                                             NAVI_PMAX,
                                             'pageno=#page#',
Index: /branches/version-2_13_0/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php	(revision 23103)
@@ -90,5 +90,5 @@
          */
         if (!$objCustomer->isLoginSuccess(true) && $ParentPage != MULTIPLE_URLPATH) {
-            $this->tpl_onload = "fnUpdateParent('". $this->getLocation($_POST['ParentPage']) ."'); window.close();";
+            $this->tpl_onload = "eccube.changeParentUrl('". $this->getLocation($_POST['ParentPage']) ."'); window.close();";
         }
 
@@ -109,5 +109,5 @@
                     // TODO ここでやるべきではない
                     if (in_array($_POST['ParentPage'], $this->validUrl)) {
-                        $this->tpl_onload = "fnUpdateParent('". $this->getLocation($_POST['ParentPage']) ."'); window.close();";
+                        $this->tpl_onload = "eccube.changeParentUrl('". $this->getLocation($_POST['ParentPage']) ."'); window.close();";
                     } else {
                         SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR);
Index: /branches/version-2_13_0/data/class/pages/mypage/LC_Page_Mypage_Favorite.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/mypage/LC_Page_Mypage_Favorite.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/mypage/LC_Page_Mypage_Favorite.php	(revision 23103)
@@ -128,5 +128,5 @@
 
         // ページ送りの取得
-        $objNavi        = new SC_PageNavi_Ex($objPage->tpl_pageno, $linemax, SEARCH_PMAX, 'fnNaviPage', NAVI_PMAX);
+        $objNavi        = new SC_PageNavi_Ex($objPage->tpl_pageno, $linemax, SEARCH_PMAX, 'eccube.movePage', NAVI_PMAX);
         $this->tpl_strnavi = $objNavi->strnavi; // 表示文字列
         $startno        = $objNavi->start_row;
Index: /branches/version-2_13_0/data/class/pages/shopping/LC_Page_Shopping_Payment.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/shopping/LC_Page_Shopping_Payment.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/shopping/LC_Page_Shopping_Payment.php	(revision 23103)
@@ -47,5 +47,5 @@
     {
         parent::init();
-        $this->tpl_onload = 'fnCheckInputPoint();';
+        $this->tpl_onload = 'eccube.togglePointForm();';
         $this->tpl_title = 'お支払方法・お届け時間等の指定';
         $masterData = new SC_DB_MasterData_Ex();
Index: /branches/version-2_13_0/data/class/pages/shopping/LC_Page_Shopping.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/shopping/LC_Page_Shopping.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/shopping/LC_Page_Shopping.php	(revision 23103)
@@ -47,5 +47,5 @@
         $this->arrSex = $masterData->getMasterData('mtb_sex');
         $this->arrJob = $masterData->getMasterData('mtb_job');
-        $this->tpl_onload = 'fnCheckInputDeliv();';
+        $this->tpl_onload = 'eccube.toggleDeliveryForm();';
 
         $objDate = new SC_Date_Ex(BIRTH_YEAR, date('Y',strtotime('now')));
Index: /branches/version-2_13_0/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php	(revision 23103)
@@ -161,5 +161,5 @@
     function getTplJavascript(&$objProduct)
     {
-        return 'productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . '; ';
+        return 'eccube.productsClassCategories = ' . SC_Utils_Ex::jsonEncode($objProduct->classCategories) . '; ';
     }
 
Index: /branches/version-2_13_0/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php	(revision 23103)
@@ -121,5 +121,5 @@
         $this->tpl_linemax = $linemax;
 
-        $objNavi = new SC_PageNavi_Ex($this->tpl_pageno, $linemax, SEARCH_PMAX, 'fnNaviPage', NAVI_PMAX);
+        $objNavi = new SC_PageNavi_Ex($this->tpl_pageno, $linemax, SEARCH_PMAX, 'eccube.movePage', NAVI_PMAX);
         $startno = $objNavi->start_row;
         $this->tpl_start_row = $objNavi->start_row;
Index: /branches/version-2_13_0/data/class/pages/admin/products/LC_Page_Admin_Products_Category.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/admin/products/LC_Page_Admin_Products_Category.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/admin/products/LC_Page_Admin_Products_Category.php	(revision 23103)
@@ -46,5 +46,5 @@
         $this->tpl_mainno = 'products';
         $this->tpl_subno  = 'category';
-        $this->tpl_onload = " fnSetFocus('category_name'); ";
+        $this->tpl_onload = " eccube.setFocus('category_name'); ";
     }
 
Index: /branches/version-2_13_0/data/class/pages/admin/system/LC_Page_Admin_System_Input.php
===================================================================
--- /branches/version-2_13_0/data/class/pages/admin/system/LC_Page_Admin_System_Input.php	(revision 23071)
+++ /branches/version-2_13_0/data/class/pages/admin/system/LC_Page_Admin_System_Input.php	(revision 23103)
@@ -92,5 +92,5 @@
                     // 親ウィンドウを更新後、自ウィンドウを閉じる。
                     $url = ADMIN_SYSTEM_URLPATH . '?pageno=' . $this->arrForm['pageno'];
-                    $this->tpl_onload = "fnUpdateParent('".$url."'); window.close();";
+                    $this->tpl_onload = "eccube.changeParentUrl('".$url."'); window.close();";
                 } else {
                     // 入力された値を保持する
@@ -119,5 +119,5 @@
                     // 親ウィンドウを更新後、自ウィンドウを閉じる。
                     $url = ADMIN_SYSTEM_URLPATH . '?pageno=' . $this->arrForm['pageno'];
-                    $this->tpl_onload = "fnUpdateParent('".$url."'); window.close();";
+                    $this->tpl_onload = "eccube.changeParentUrl('".$url."'); window.close();";
                 } else {
                     // 入力された値を保持する
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/delivery_addr.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/delivery_addr.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/delivery_addr.tpl	(revision 23103)
@@ -41,5 +41,5 @@
         <div class="btn_area">
             <ul>
-                <li><a class="btn-action" href="javascript:" onclick="fnSetFormSubmit('form1', 'mode', 'edit'); return false;"><img onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_add_address_complete_on.jpg',this);" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_add_address_complete.jpg',this);" src="<!--{$TPL_URLPATH}-->img/button/btn_add_address_complete.jpg" alt="登録する"></a></li>
+                <li><a class="btn-action" href="javascript:" onclick="eccube.setValueAndSubmit('form1', 'mode', 'edit'); return false;"><img onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_add_address_complete_on.jpg',this);" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_add_address_complete.jpg',this);" src="<!--{$TPL_URLPATH}-->img/button/btn_add_address_complete.jpg" alt="登録する"></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/refusal_confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/refusal_confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/refusal_confirm.tpl	(revision 23103)
@@ -40,8 +40,8 @@
                         <ul>
                             <li>
-                                <a href="./refusal.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_refuse_not_on.jpg','refuse_not');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_refuse_not.jpg','refuse_not');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_refuse_not.jpg" alt="いいえ、退会しません" name="refuse_not" id="refuse_not" /></a>
+                                <a href="./refusal.php" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_refuse_not_on.jpg','refuse_not');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_refuse_not.jpg','refuse_not');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_refuse_not.jpg" alt="いいえ、退会しません" name="refuse_not" id="refuse_not" /></a>
                             </li>
                             <li>
-                                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_refuse_do_on.jpg',this);" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_refuse_do.jpg',this);" src="<!--{$TPL_URLPATH}-->img/button/btn_refuse_do.jpg" alt="はい、退会します" name="refuse_do" id="refuse_do" />
+                                <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_refuse_do_on.jpg',this);" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_refuse_do.jpg',this);" src="<!--{$TPL_URLPATH}-->img/button/btn_refuse_do.jpg" alt="はい、退会します" name="refuse_do" id="refuse_do" />
                             </li>
                         </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/favorite.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/favorite.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/favorite.tpl	(revision 23103)
@@ -63,5 +63,5 @@
                         <tr>
                             <td class="alignC">
-                                <a href="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');">
+                                <a href="javascript:eccube.setModeAndSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');">
                                     削除</a>
                             </td>
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/history.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/history.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/history.tpl	(revision 23103)
@@ -49,5 +49,5 @@
                 <p class="btn">
                     <input type="hidden" name="order_id" value="<!--{$tpl_arrOrderData.order_id|h}-->" />
-                    <input type="image" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re_on.jpg', this);" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg', this);" src="<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg" alt="この購入内容で再注文する" name="submit" value="この購入内容で再注文する" />
+                    <input type="image" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re_on.jpg', this);" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg', this);" src="<!--{$TPL_URLPATH}-->img/button/btn_order_re.jpg" alt="この購入内容で再注文する" name="submit" value="この購入内容で再注文する" />
                 </p>
             </form>
@@ -265,5 +265,5 @@
                 <!--{assign var=key value="`$tpl_arrMailHistory[cnt].template_id`"}-->
                 <td class="alignC"><!--{$arrMAILTEMPLATE[$key]|h}--></td>
-                <td><a href="#" onclick="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.win02('./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}-->
@@ -273,5 +273,5 @@
             <ul>
                 <li>
-                    <a href="./<!--{$smarty.const.DIR_INDEX_PATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','change');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','change');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="change" id="change" /></a>
+                    <a href="./<!--{$smarty.const.DIR_INDEX_PATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','change');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','change');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="change" id="change" /></a>
                 </li>
             </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/refusal.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/refusal.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/refusal.tpl	(revision 23103)
@@ -40,5 +40,5 @@
                         <ul>
                             <li>
-                                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_refuse_on.jpg',this);" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_refuse.jpg',this);" src="<!--{$TPL_URLPATH}-->img/button/btn_refuse.jpg" alt="会員退会を行う" name="refusal" id="refusal" />
+                                <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_refuse_on.jpg',this);" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_refuse.jpg',this);" src="<!--{$TPL_URLPATH}-->img/button/btn_refuse.jpg" alt="会員退会を行う" name="refusal" id="refusal" />
                             </li>
                         </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/change_confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/change_confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/change_confirm.tpl	(revision 23103)
@@ -132,9 +132,9 @@
                 <ul>
                     <li>
-                        <a href="?" onclick="fnModeSubmit('return', '', ''); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back');">
+                        <a href="?" onclick="eccube.setModeAndSubmit('return', '', ''); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back');">
                             <img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="back" id="back" /></a>
                     </li>
                     <li>
-                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg" alt="送信" name="complete" id="complete" />
+                        <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg" alt="送信" name="complete" id="complete" />
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/delivery.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/delivery.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/delivery.tpl	(revision 23103)
@@ -35,5 +35,5 @@
             <!--{if $tpl_login}-->
                 <p class="add_address">
-                    <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="win03('./delivery_addr.php','delivadd','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','newadress');" onmouseout="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.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>
                 </p>
             <!--{/if}-->
@@ -71,8 +71,8 @@
                             </td>
                             <td class="alignC">
-                                <a href="./delivery_addr.php" onclick="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.win02('./delivery_addr.php?other_deliv_id=<!--{$arrOtherDeliv[cnt].other_deliv_id}-->','deliv_disp','600','640'); return false;">変更</a>
                             </td>
                             <td class="alignC">
-                                <a href="#" onclick="fnModeSubmit('delete','other_deliv_id','<!--{$arrOtherDeliv[cnt].other_deliv_id}-->'); return false;">削除</a>
+                                <a href="#" onclick="eccube.setModeAndSubmit('delete','other_deliv_id','<!--{$arrOtherDeliv[cnt].other_deliv_id}-->'); return false;">削除</a>
                             </td>
                         </tr>
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/change.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/change.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/change.tpl	(revision 23103)
@@ -41,5 +41,5 @@
                 <ul>
                     <li>
-                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg" alt="確認ページへ" name="refusal" id="refusal" />
+                        <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg" alt="確認ページへ" name="refusal" id="refusal" />
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/login.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/login.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/login.tpl	(revision 23103)
@@ -26,5 +26,5 @@
     <h2 class="title"><!--{$tpl_title|h}--></h2>
     <div id="undercolumn_login">
-        <form name="login_mypage" id="login_mypage" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_mypage')">
+        <form name="login_mypage" id="login_mypage" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return eccube.checkLoginFormInputted('login_mypage')">
             <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="mode" value="login" />
@@ -61,5 +61,5 @@
                         <ul>
                             <li>
-                                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_login_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_login.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_login.jpg" alt="ログイン" name="log" id="log" />
+                                <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_login_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_login.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_login.jpg" alt="ログイン" name="log" id="log" />
                             </li>
                         </ul>
@@ -67,5 +67,5 @@
                 </div>
                 <p>
-                    ※パスワードを忘れた方は<a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="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.win01('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','460'); return false;" target="_blank">こちら</a>からパスワードの再発行を行ってください。<br />
                     ※メールアドレスを忘れた方は、お手数ですが、<a href="<!--{$smarty.const.ROOT_URLPATH}-->contact/<!--{$smarty.const.DIR_INDEX_PATH}-->">お問い合わせページ</a>からお問い合わせください。
                 </p>
@@ -81,5 +81,5 @@
                         <ul>
                             <li>
-                                <a href="<!--{$smarty.const.ROOT_URLPATH}-->entry/kiyaku.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_on.jpg','b_gotoentry');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg','b_gotoentry');">
+                                <a href="<!--{$smarty.const.ROOT_URLPATH}-->entry/kiyaku.php" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_on.jpg','b_gotoentry');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg','b_gotoentry');">
                                 <img src="<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg" alt="会員登録をする" border="0" name="b_gotoentry" /></a>
                             </li>
Index: /branches/version-2_13_0/data/Smarty/templates/default/mypage/error.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/mypage/error.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/mypage/error.tpl	(revision 23103)
@@ -30,5 +30,5 @@
 
 <div class="button">
-    <a href="javascript:window.close()" onmouseOver="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close_on.gif','close');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close.gif','close');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_close.gif" alt="閉じる" name="close" id="close" /></a>
+    <a href="javascript:window.close()" onmouseOver="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close_on.gif','close');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close.gif','close');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_close.gif" alt="閉じる" name="close" id="close" /></a>
 </div>
 
Index: /branches/version-2_13_0/data/Smarty/templates/default/header.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/header.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/header.tpl	(revision 23103)
@@ -50,11 +50,11 @@
                     <ul>
                         <li class="mypage">
-                            <a href="<!--{$smarty.const.HTTPS_URL}-->mypage/login.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_mypage_on.jpg','mypage');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_mypage.jpg','mypage');"><img src="<!--{$TPL_URLPATH}-->img/common/btn_header_mypage.jpg" alt="MYページ" name="mypage" id="mypage" /></a>
+                            <a href="<!--{$smarty.const.HTTPS_URL}-->mypage/login.php" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_mypage_on.jpg','mypage');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_mypage.jpg','mypage');"><img src="<!--{$TPL_URLPATH}-->img/common/btn_header_mypage.jpg" alt="MYページ" name="mypage" id="mypage" /></a>
                         </li>
                         <li class="entry">
-                            <a href="<!--{$smarty.const.ROOT_URLPATH}-->entry/kiyaku.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_entry_on.jpg','entry');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_entry.jpg','entry');"><img src="<!--{$TPL_URLPATH}-->img/common/btn_header_entry.jpg" alt="会員登録" name="entry" id="entry" /></a>
+                            <a href="<!--{$smarty.const.ROOT_URLPATH}-->entry/kiyaku.php" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_entry_on.jpg','entry');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_entry.jpg','entry');"><img src="<!--{$TPL_URLPATH}-->img/common/btn_header_entry.jpg" alt="会員登録" name="entry" id="entry" /></a>
                         </li>
                         <li>
-                            <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_cart_on.jpg','cartin');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_cart.jpg','cartin');"><img src="<!--{$TPL_URLPATH}-->img/common/btn_header_cart.jpg" alt="カゴの中を見る" name="cartin" id="cartin" /></a>
+                            <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_cart_on.jpg','cartin');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_cart.jpg','cartin');"><img src="<!--{$TPL_URLPATH}-->img/common/btn_header_cart.jpg" alt="カゴの中を見る" name="cartin" id="cartin" /></a>
                         </li>
                     </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/error.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/error.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/error.tpl	(revision 23103)
@@ -33,7 +33,7 @@
                     <li>
                         <!--{if $return_top}-->
-                            <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg" alt="トップページへ" border="0" name="b_toppage" /></a>
+                            <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg" alt="トップページへ" border="0" name="b_toppage" /></a>
                         <!--{else}-->
-                            <a href="javascript:history.back()" onmouseOver="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','b_back');" onmouseOut="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','b_back');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="b_back" id="b_back" /></a>
+                            <a href="javascript:history.back()" onmouseOver="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','b_back');" onmouseOut="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','b_back');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="b_back" id="b_back" /></a>
                         <!--{/if}-->
                     </li>
Index: /branches/version-2_13_0/data/Smarty/templates/default/shopping/nonmember_input.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/shopping/nonmember_input.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/shopping/nonmember_input.tpl	(revision 23103)
@@ -46,5 +46,5 @@
                     <th colspan="2">
                     <!--{assign var=key value="deliv_check"}-->
-                    <input type="checkbox" name="<!--{$key}-->" value="1" onclick="fnCheckInputDeliv();" <!--{$arrForm[$key].value|sfGetChecked:1}--> id="deliv_label" />
+                    <input type="checkbox" name="<!--{$key}-->" value="1" onclick="eccube.toggleDeliveryForm();" <!--{$arrForm[$key].value|sfGetChecked:1}--> id="deliv_label" />
                     <label for="deliv_label"><span class="attention">お届け先を指定</span>　※上記に入力された住所と同一の場合は省略可能です。</label>
                     </th>
@@ -60,13 +60,13 @@
                     <!--{if $smarty.const.USE_MULTIPLE_SHIPPING !== false}-->
                         <li>
-                            <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_singular_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_singular.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_singular.jpg" alt="上記のお届け先のみに送る" name="singular" id="singular" />
+                            <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_singular_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_singular.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_singular.jpg" alt="上記のお届け先のみに送る" name="singular" id="singular" />
                         </li>
                         <li>
-                        <a href="javascript:;" onclick="fnModeSubmit('multiple', '', ''); return false" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_multiple_on.jpg','several');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_multiple.jpg','several');">
+                        <a href="javascript:;" onclick="eccube.setModeAndSubmit('multiple', '', ''); return false" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_multiple_on.jpg','several');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_multiple.jpg','several');">
                             <img src="<!--{$TPL_URLPATH}-->img/button/btn_multiple.jpg" alt="複数のお届け先に送る" border="0" name="several" id="several" /></a>
                         </li>
                     <!--{else}-->
                         <li>
-                            <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="singular" id="singular" />
+                            <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="singular" id="singular" />
                         </li>
                     <!--{/if}-->
Index: /branches/version-2_13_0/data/Smarty/templates/default/shopping/deliv.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/shopping/deliv.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/shopping/deliv.tpl	(revision 23103)
@@ -39,5 +39,5 @@
                 <div class="add_multiple">
                     <p>この商品を複数の<br />お届け先に送りますか？</p>
-                    <a href="javascript:;" onclick="fnModeSubmit('multiple', '', ''); return false" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_several_address_on.jpg','several');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_several_address.jpg','several');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_several_address.jpg" alt="お届け先を複数指定する" name="several" id="several" /></a>
+                    <a href="javascript:;" onclick="eccube.setModeAndSubmit('multiple', '', ''); return false" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_several_address_on.jpg','several');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_several_address.jpg','several');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_several_address.jpg" alt="お届け先を複数指定する" name="several" id="several" /></a>
                 </div>
             <!--{/if}-->
@@ -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="win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','addition');" onmouseout="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.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>
             </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="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.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>
                                 <!--{else}-->
                                     -
@@ -107,5 +107,5 @@
                         <td class="alignC">
                             <!--{if !$smarty.section.cnt.first}-->
-                                <a href="?" onclick="fnModeSubmit('delete', 'other_deliv_id', '<!--{$arrAddr[cnt].other_deliv_id}-->'); return false">削除</a>
+                                <a href="?" onclick="eccube.setModeAndSubmit('delete', 'other_deliv_id', '<!--{$arrAddr[cnt].other_deliv_id}-->'); return false">削除</a>
                                 <!--{else}-->
                                     -
@@ -119,9 +119,9 @@
                 <ul>
                     <li>
-                        <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg',back03)">
+                        <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg',back03)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg',back03)">
                         <img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back03" id="back03" /></a>
                     </li>
                     <li>
-                    <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="選択したお届け先に送る" name="send_button" id="send_button" />
+                    <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="選択したお届け先に送る" name="send_button" id="send_button" />
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/shopping/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/shopping/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/shopping/index.tpl	(revision 23103)
@@ -24,5 +24,5 @@
     <div id="undercolumn_login">
         <h2 class="title"><!--{$tpl_title|h}--></h2>
-        <form name="member_form" id="member_form" method="post" action="?" onsubmit="return fnCheckLogin('member_form')">
+        <form name="member_form" id="member_form" method="post" action="?" onsubmit="return eccube.checkLoginFormInputted('member_form')">
             <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="mode" value="login" />
@@ -58,5 +58,5 @@
                         <ul>
                             <li>
-                                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_login_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_login.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_login.jpg" alt="ログイン" name="log" id="log" />
+                                <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_login_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_login.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_login.jpg" alt="ログイン" name="log" id="log" />
                             </li>
                         </ul>
@@ -64,5 +64,5 @@
                 </div>
                 <p>
-                    ※パスワードを忘れた方は<a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="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.win01('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','460'); return false;" target="_blank">こちら</a>からパスワードの再発行を行ってください。<br />
                     ※メールアドレスを忘れた方は、お手数ですが、<a href="<!--{$smarty.const.ROOT_URLPATH}-->contact/<!--{$smarty.const.DIR_INDEX_PATH}-->">お問い合わせページ</a>からお問い合わせください。
                 </p>
@@ -81,5 +81,5 @@
                     <ul>
                         <li>
-                            <a href="<!--{$smarty.const.ROOT_URLPATH}-->entry/kiyaku.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_on.jpg','b_gotoentry');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg','b_gotoentry');">
+                            <a href="<!--{$smarty.const.ROOT_URLPATH}-->entry/kiyaku.php" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_on.jpg','b_gotoentry');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg','b_gotoentry');">
                             <img src="<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg" alt="会員登録をする" border="0" name="b_gotoentry" /></a>
                         </li>
@@ -97,5 +97,5 @@
                         <ul>
                             <li>
-                                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_buystep_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_buystep.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_buystep.jpg" alt="購入手続きへ" name="buystep" id="buystep" />
+                                <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_buystep_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_buystep.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_buystep.jpg" alt="購入手続きへ" name="buystep" id="buystep" />
                             </li>
                         </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/shopping/complete.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/shopping/complete.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/shopping/complete.tpl	(revision 23103)
@@ -60,5 +60,5 @@
             <ul>
                 <li>
-                    <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');">
+                    <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');">
                         <img src="<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg" alt="トップページへ" border="0" name="b_toppage" /></a>
                 </li>
Index: /branches/version-2_13_0/data/Smarty/templates/default/shopping/multiple.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/shopping/multiple.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/shopping/multiple.tpl	(revision 23103)
@@ -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="win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->','new_deiv','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','addition');" onmouseout="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.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>
             </p>
         <!--{/if}-->
@@ -124,9 +124,9 @@
                 <ul>
                     <li>
-                    <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg',back03)">
+                    <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg',back03)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg',back03)">
                         <img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back03" id="back03" /></a>
                     </li>
                     <li>
-                    <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_address_select_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_address_select.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_address_select.jpg" alt="選択したお届け先に送る" class="box190" name="send_button" id="send_button" />
+                    <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_address_select_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_address_select.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_address_select.jpg" alt="選択したお届け先に送る" class="box190" name="send_button" id="send_button" />
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/shopping/confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/shopping/confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/shopping/confirm.tpl	(revision 23103)
@@ -60,13 +60,13 @@
                 <ul>
                     <li>
-                        <a href="./payment.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg', 'back04-top')" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg', 'back04-top')"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back04-top" id="back04-top" /></a>
+                        <a href="./payment.php" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg', 'back04-top')" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg', 'back04-top')"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back04-top" id="back04-top" /></a>
                     </li>
                         <!--{if $use_module}-->
                     <li>
-                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next-top" id="next-top" />
+                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next-top" id="next-top" />
                     </li>
                         <!--{else}-->
                     <li>
-                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg" alt="ご注文完了ページへ" name="next-top" id="next-top" />
+                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg" alt="ご注文完了ページへ" name="next-top" id="next-top" />
                     </li>
                     <!--{/if}-->
@@ -368,13 +368,13 @@
                 <ul>
                     <li>
-                        <a href="./payment.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back<!--{$key}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back<!--{$key}-->');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="back<!--{$key}-->" /></a>
+                        <a href="./payment.php" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back<!--{$key}-->');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back<!--{$key}-->');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="back<!--{$key}-->" /></a>
                     </li>
                     <!--{if $use_module}-->
                     <li>
-                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" />
+                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" />
                     </li>
                     <!--{else}-->
                     <li>
-                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg" alt="ご注文完了ページへ"  name="next" id="next" />
+                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg" alt="ご注文完了ページへ"  name="next" id="next" />
                     </li>
                     <!--{/if}-->
Index: /branches/version-2_13_0/data/Smarty/templates/default/shopping/payment.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/shopping/payment.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/shopping/payment.tpl	(revision 23103)
@@ -251,9 +251,9 @@
                             <ul>
                                 <li>
-                                <input type="radio" id="point_on" name="point_check" value="1" <!--{$arrForm.point_check.value|sfGetChecked:1}--> onclick="fnCheckInputPoint();" /><label for="point_on">ポイントを使用する</label>
+                                <input type="radio" id="point_on" name="point_check" value="1" <!--{$arrForm.point_check.value|sfGetChecked:1}--> onclick="eccube.togglePointForm();" /><label for="point_on">ポイントを使用する</label>
                                     <!--{assign var=key value="use_point"}--><br />
                                 今回のお買い物で、<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|default:$tpl_user_point}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box60" />&nbsp;Ptを使用する。<span class="attention"><!--{$arrErr[$key]}--></span>
                                 </li>
-                                <li><input type="radio" id="point_off" name="point_check" value="2" <!--{$arrForm.point_check.value|sfGetChecked:2}--> onclick="fnCheckInputPoint();" /><label for="point_off">ポイントを使用しない</label></li>
+                                <li><input type="radio" id="point_off" name="point_check" value="2" <!--{$arrForm.point_check.value|sfGetChecked:2}--> onclick="eccube.togglePointForm();" /><label for="point_off">ポイントを使用しない</label></li>
                             </ul>
                     </div>
@@ -277,9 +277,9 @@
                 <ul>
                     <li>
-                    <a href="?mode=return" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back03')" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back03')">
+                    <a href="?mode=return" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back03')" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back03')">
                         <img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back03" id="back03" /></a>
                     </li>
                     <li>
-                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" />
+                        <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" />
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/cart/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/cart/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/cart/index.tpl	(revision 23103)
@@ -113,5 +113,5 @@
                             <!--{foreach from=$cartItems[$key] item=item}-->
                                 <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR|h}-->;<!--{/if}-->">
-                                    <td class="alignC"><a href="?" onclick="fnFormModeSubmit('form<!--{$key|h}-->', 'delete', 'cart_no', '<!--{$item.cart_no|h}-->'); return false;">削除</a>
+                                    <td class="alignC"><a href="?" onclick="eccube.fnFormModeSubmit('form<!--{$key|h}-->', 'delete', 'cart_no', '<!--{$item.cart_no|h}-->'); return false;">削除</a>
                                     </td>
                                     <td class="alignC">
@@ -137,6 +137,6 @@
                                     <td class="alignC"><!--{$item.quantity|h}-->
                                         <ul id="quantity_level">
-                                            <li><a href="?" onclick="fnFormModeSubmit('form<!--{$key|h}-->','up','cart_no','<!--{$item.cart_no|h}-->'); return false"><img src="<!--{$TPL_URLPATH|h}-->img/button/btn_plus.jpg" width="16" height="16" alt="＋" /></a></li>
-                                            <li><a href="?" onclick="fnFormModeSubmit('form<!--{$key|h}-->','down','cart_no','<!--{$item.cart_no|h}-->'); return false"><img src="<!--{$TPL_URLPATH|h}-->img/button/btn_minus.jpg" width="16" height="16" alt="-" /></a></li>
+                                            <li><a href="?" onclick="eccube.fnFormModeSubmit('form<!--{$key|h}-->','up','cart_no','<!--{$item.cart_no|h}-->'); return false"><img src="<!--{$TPL_URLPATH|h}-->img/button/btn_plus.jpg" width="16" height="16" alt="＋" /></a></li>
+                                            <li><a href="?" onclick="eccube.fnFormModeSubmit('form<!--{$key|h}-->','down','cart_no','<!--{$item.cart_no|h}-->'); return false"><img src="<!--{$TPL_URLPATH|h}-->img/button/btn_minus.jpg" width="16" height="16" alt="-" /></a></li>
                                         </ul>
                                     </td>
@@ -172,5 +172,5 @@
                                 <li>
                                     <!--{if $tpl_prev_url != ""}-->
-                                        <a href="<!--{$tpl_prev_url|h}-->" onmouseover="chgImg('<!--{$TPL_URLPATH|h}-->img/button/btn_back_on.jpg','back<!--{$key|h}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH|h}-->img/button/btn_back.jpg','back<!--{$key|h}-->');">
+                                        <a href="<!--{$tpl_prev_url|h}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH|h}-->img/button/btn_back_on.jpg','back<!--{$key|h}-->');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH|h}-->img/button/btn_back.jpg','back<!--{$key|h}-->');">
                                             <img src="<!--{$TPL_URLPATH|h}-->img/button/btn_back.jpg" alt="戻る" name="back<!--{$key|h}-->" /></a>
                                     <!--{/if}-->
@@ -178,5 +178,5 @@
                                 <li>
                                     <!--{if strlen($tpl_error) == 0}-->
-                                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH|h}-->img/button/btn_buystep_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH|h}-->img/button/btn_buystep.jpg',this)" src="<!--{$TPL_URLPATH|h}-->img/button/btn_buystep.jpg" alt="購入手続きへ" name="confirm" />
+                                        <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH|h}-->img/button/btn_buystep_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH|h}-->img/button/btn_buystep.jpg',this)" src="<!--{$TPL_URLPATH|h}-->img/button/btn_buystep.jpg" alt="購入手続きへ" name="confirm" />
                                     <!--{/if}-->
                                 </li>
Index: /branches/version-2_13_0/data/Smarty/templates/default/contact/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/contact/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/contact/index.tpl	(revision 23103)
@@ -61,5 +61,5 @@
                         </p>
                         <p class="zipimg">
-                            <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01');">
+                            <a href="javascript:eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01');">
                                 <img src="<!--{$TPL_URLPATH}-->img/button/btn_address_input.jpg" alt="住所自動入力" /></a>
                             <span class="mini">&nbsp;郵便番号を入力後、クリックしてください。</span>
@@ -124,5 +124,5 @@
                 <ul>
                     <li>
-                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm_on.jpg', this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg', this)" src="<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg" alt="確認ページへ" name="confirm" />
+                        <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm_on.jpg', this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg', this)" src="<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg" alt="確認ページへ" name="confirm" />
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/contact/complete.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/contact/complete.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/contact/complete.tpl	(revision 23103)
@@ -43,5 +43,5 @@
                 <ul>
                 <li>
-                    <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg" alt="トップページへ" border="0" name="b_toppage" id="b_toppage" /></a>
+                    <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg" alt="トップページへ" border="0" name="b_toppage" id="b_toppage" /></a>
                 </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/contact/confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/contact/confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/contact/confirm.tpl	(revision 23103)
@@ -77,8 +77,8 @@
                 <ul>
                     <li>
-                        <a href="?" onclick="fnModeSubmit('return', '', ''); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back02');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back02');"> <img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="back02" id="back02" /></a>
+                        <a href="?" onclick="eccube.setModeAndSubmit('return', '', ''); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back02');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back02');"> <img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="back02" id="back02" /></a>
                     </li>
                     <li>
-                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg" alt="送信" name="send" id="send" />
+                        <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg" alt="送信" name="send" id="send" />
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/regist/complete.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/regist/complete.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/regist/complete.tpl	(revision 23103)
@@ -39,5 +39,5 @@
                 <ul>
                     <li>
-                        <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg" alt="トップページへ" border="0" name="b_toppage" /></a>
+                        <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg" alt="トップページへ" border="0" name="b_toppage" /></a>
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/forgot/secret.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/forgot/secret.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/forgot/secret.tpl	(revision 23103)
@@ -50,5 +50,5 @@
         <div class="btn_area">
             <ul>
-                <li><input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" />
+                <li><input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" />
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/default/forgot/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/forgot/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/forgot/index.tpl	(revision 23103)
@@ -55,5 +55,5 @@
         <div class="btn_area">
             <ul>
-                <li><input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" /></li>
+                <li><input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" /></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/default/forgot/complete.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/forgot/complete.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/forgot/complete.tpl	(revision 23103)
@@ -38,5 +38,5 @@
         <div class="btn_area">
             <ul>
-                <li><a href="javascript:window.close()" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close_on.jpg','close');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close.jpg','close');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_close.jpg" alt="閉じる" name="close" id="close" /></a></li>
+                <li><a href="javascript:window.close()" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close_on.jpg','close');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close.jpg','close');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_close.jpg" alt="閉じる" name="close" id="close" /></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/default/entry/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/entry/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/entry/index.tpl	(revision 23103)
@@ -39,5 +39,5 @@
                 <ul>
                     <li>
-                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg" alt="確認ページへ" name="confirm" id="confirm" />
+                        <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg" alt="確認ページへ" name="confirm" id="confirm" />
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/entry/complete.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/entry/complete.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/entry/complete.tpl	(revision 23103)
@@ -42,5 +42,5 @@
                 <ul>
                     <li>
-                        <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg" alt="トップページへ" border="0" name="b_toppage" /></a>
+                        <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage_on.jpg','b_toppage');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg','b_toppage');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_toppage.jpg" alt="トップページへ" border="0" name="b_toppage" /></a>
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/entry/confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/entry/confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/entry/confirm.tpl	(revision 23103)
@@ -157,8 +157,8 @@
                 <ul>
                     <li>
-                        <a href="?" onclick="fnModeSubmit('return', '', ''); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back')" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back')"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back" id="back" /></a>
+                        <a href="?" onclick="eccube.setModeAndSubmit('return', '', ''); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back')" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back')"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back" id="back" /></a>
                     </li>
                     <li>
-                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_entry_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg" alt="会員登録をする" border="0" name="send" id="send" />
+                        <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_entry_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_entry.jpg" alt="会員登録をする" border="0" name="send" id="send" />
                     </li>
                 </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/entry/kiyaku.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/entry/kiyaku.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/entry/kiyaku.tpl	(revision 23103)
@@ -36,9 +36,9 @@
                 <ul>
                     <li>
-                        <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_cannot_on.jpg','b_noagree');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_cannot.jpg','b_noagree');">
+                        <a href="<!--{$smarty.const.TOP_URLPATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_cannot_on.jpg','b_noagree');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_cannot.jpg','b_noagree');">
                             <img src="<!--{$TPL_URLPATH}-->img/button/btn_entry_cannot.jpg" alt="同意しない" border="0" name="b_noagree" /></a>
                     </li>
                     <li>
-                        <a href="<!--{$smarty.const.ENTRY_URL}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_agree_on.jpg','b_agree');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_agree.jpg','b_agree');">
+                        <a href="<!--{$smarty.const.ENTRY_URL}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_agree_on.jpg','b_agree');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_entry_agree.jpg','b_agree');">
                     <img src="<!--{$TPL_URLPATH}-->img/button/btn_entry_agree.jpg" alt="同意して会員登録へ" border="0" name="b_agree" /></a>
                     </li>
Index: /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/cart.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/cart.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/cart.tpl	(revision 23103)
@@ -44,5 +44,5 @@
                 </div>
                 <div class="btn">
-                    <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_bloc_cart_on.jpg','button_cart');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_bloc_cart.jpg','button_cart');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_cart.jpg" alt="カゴの中を見る" border="0" name="button_cart" id="button_cart" /></a>
+                    <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_bloc_cart_on.jpg','button_cart');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_bloc_cart.jpg','button_cart');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_cart.jpg" alt="カゴの中を見る" border="0" name="button_cart" id="button_cart" /></a>
                 </div>
             </div>
Index: /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/login_header.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/login_header.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/login_header.tpl	(revision 23103)
@@ -40,5 +40,5 @@
     <div class="block_outer">
         <div id="header_login_area" class="clearfix">
-            <form name="header_login_form" id="header_login_form" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('header_login_form')">
+            <form name="header_login_form" id="header_login_form" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return eccube.checkLoginFormInputted('header_login_form')">
                 <input type="hidden" name="mode" value="login" />
                 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
@@ -52,5 +52,5 @@
                             <!--{/if}-->
                             <!--{if !$tpl_disable_logout}-->
-                                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/common/btn_header_logout_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/common/btn_header_logout.jpg',this)" src="<!--{$TPL_URLPATH}-->img/common/btn_header_logout.jpg" onclick="fnFormModeSubmit('header_login_form', 'logout', '', ''); return false;" alt="ログアウト" />
+                                <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/common/btn_header_logout_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/common/btn_header_logout.jpg',this)" src="<!--{$TPL_URLPATH}-->img/common/btn_header_logout.jpg" onclick="eccube.fnFormModeSubmit('header_login_form', 'logout', '', ''); return false;" alt="ログアウト" />
                             <!--{/if}-->
                         </p>
@@ -65,8 +65,8 @@
                             <li class="password"><input type="password" class="box100" name="login_pass" title="パスワードを入力して下さい" /></li>
                             <li class="btn">
-                                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/common/btn_header_login_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/common/btn_header_login.jpg',this)" src="<!--{$TPL_URLPATH}-->img/common/btn_header_login.jpg" />
+                                <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/common/btn_header_login_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/common/btn_header_login.jpg',this)" src="<!--{$TPL_URLPATH}-->img/common/btn_header_login.jpg" />
                             </li>
                             <li class="forgot">
-                                <a href="<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->" onclick="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.win01('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','400'); return false;" target="_blank">パスワードを忘れた方</a>
                             </li>
                         </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/login.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/login.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/login.tpl	(revision 23103)
@@ -25,5 +25,5 @@
         <div id="login_area">
             <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_login.gif" alt="ログイン" /></h2>
-            <form name="login_form" id="login_form" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_form')">
+            <form name="login_form" id="login_form" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return eccube.checkLoginFormInputted('login_form')">
                 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
                 <input type="hidden" name="mode" value="login" />
@@ -39,5 +39,5 @@
                         <!--{if !$tpl_disable_logout}-->
                             <p class="btn">
-                                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_logout_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_logout.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_logout.jpg" onclick="fnFormModeSubmit('login_form', 'logout', '', ''); return false;" alt="ログアウト" />
+                                <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_logout_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_logout.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_logout.jpg" onclick="eccube.fnFormModeSubmit('login_form', 'logout', '', ''); return false;" alt="ログアウト" />
                             </p>
                         <!--{/if}-->
@@ -57,9 +57,9 @@
                             <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="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.win01('<!--{$smarty.const.HTTPS_URL}-->forgot/<!--{$smarty.const.DIR_INDEX_PATH}-->','forget','600','400'); return false;" target="_blank">パスワードを忘れた方はこちら</a>
                             </dd>
                         </dl>
                         <p class="btn">
-                            <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_login_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_login.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_login.jpg" alt="ログイン" />
+                            <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_login_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_login.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_login.jpg" alt="ログイン" />
                         </p>
                     <!--{/if}-->
Index: /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/search_products.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/search_products.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/frontparts/bloc/search_products.tpl	(revision 23103)
@@ -53,5 +53,5 @@
                     </dl>
                     <p class="btn">
-                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_search_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_search.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_search.jpg" alt="検索" name="search" />
+                        <input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_search_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_bloc_search.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_bloc_search.jpg" alt="検索" name="search" />
                     </p>
                 </form>
Index: /branches/version-2_13_0/data/Smarty/templates/default/frontparts/form_personal_input.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/frontparts/form_personal_input.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/frontparts/form_personal_input.tpl	(revision 23103)
@@ -102,5 +102,5 @@
             </p>
             <p class="zipimg">
-                <a href="<!--{$smarty.const.ROOT_URLPATH}-->input_zip.php" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->'); return false;" target="_blank">
+                <a href="<!--{$smarty.const.ROOT_URLPATH}-->input_zip.php" onclick="eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->'); return false;" target="_blank">
                     <img src="<!--{$TPL_URLPATH}-->img/button/btn_address_input.jpg" alt="住所自動入力" /></a>
                 &nbsp;<span class="mini">郵便番号を入力後、クリックしてください。</span>
Index: /branches/version-2_13_0/data/Smarty/templates/default/products/review_confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/products/review_confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/products/review_confirm.tpl	(revision 23103)
@@ -68,6 +68,6 @@
         <div class="btn_area">
             <ul>
-                <li><input type="image" onclick=" mode.value='return';" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る"    name="back" id="back" /></li>
-                <li><input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg" alt="送信" name="send" id="send" /></li>
+                <li><input type="image" onclick=" mode.value='return';" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る"    name="back" id="back" /></li>
+                <li><input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg" alt="送信" name="send" id="send" /></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/default/products/review.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/products/review.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/products/review.tpl	(revision 23103)
@@ -83,5 +83,5 @@
         <div class="btn_area">
             <ul>
-                <li><input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg" alt="確認ページへ" name="conf" id="conf" /></li>
+                <li><input type="image" onmouseover="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm_on.jpg',this)" onmouseout="eccube.chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_confirm.jpg" alt="確認ページへ" name="conf" id="conf" /></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/default/products/detail.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/products/detail.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/products/detail.tpl	(revision 23103)
@@ -30,5 +30,5 @@
         var $sele1 = $form.find('select[name=classcategory_id1]');
         var $sele2 = $form.find('select[name=classcategory_id2]');
-        setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);
+        eccube.setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);
     }
     $(document).ready(function() {
@@ -243,5 +243,5 @@
                                 <div id="cartbtn_default">
                                     <!--★カゴに入れる★-->
-                                    <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin_on.jpg','cart');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg','cart');">
+                                    <a href="javascript:void(document.form1.submit())" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin_on.jpg','cart');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg','cart');">
                                         <img src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg" alt="カゴに入れる" name="cart" id="cart" /></a>
                                 </div>
@@ -261,5 +261,5 @@
                             <!--{/if}-->
                             <!--{if !$is_favorite}-->
-                                <a href="javascript:fnChangeAction('?product_id=<!--{$arrProduct.product_id|h}-->'); fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|h}-->');" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_favorite_on.jpg','add_favorite_product');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.jpg','add_favorite_product');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.jpg" alt="お気に入りに追加" name="add_favorite_product" id="add_favorite_product" /></a>
+                                <a href="javascript:eccube.changeAction('?product_id=<!--{$arrProduct.product_id|h}-->'); eccube.setModeAndSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|h}-->');" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_favorite_on.jpg','add_favorite_product');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.jpg','add_favorite_product');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.jpg" alt="お気に入りに追加" name="add_favorite_product" id="add_favorite_product" /></a>
                             <!--{else}-->
                                 <img src="<!--{$TPL_URLPATH}-->img/button/btn_add_favorite_on.jpg" alt="お気に入り登録済" name="add_favorite_product" id="add_favorite_product" />
@@ -331,7 +331,7 @@
                     <!--★新規コメントを書き込む★-->
                     <a href="./review.php"
-                        onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','600','640'); return false;"
-                        onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_comment_on.jpg','review');"
-                        onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_comment.jpg','review');" target="_blank">
+                        onclick="eccube.win02('./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">
                         <img src="<!--{$TPL_URLPATH}-->img/button/btn_comment.jpg" alt="新規コメントを書き込む" name="review" id="review" /></a>
                 <!--{/if}-->
Index: /branches/version-2_13_0/data/Smarty/templates/default/products/review_complete.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/products/review_complete.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/products/review_complete.tpl	(revision 23103)
@@ -32,5 +32,5 @@
     <div class="btn_area">
         <ul>
-            <li><a href="javascript:window.close()" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close_on.jpg','b_close');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close.jpg','b_close');">
+            <li><a href="javascript:window.close()" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close_on.jpg','b_close');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_close.jpg','b_close');">
                 <img src="<!--{$TPL_URLPATH}-->img/button/btn_close.jpg" alt="閉じる" border="0" name="b_close" /></a></li>
         </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/default/products/list.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/products/list.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/products/list.tpl	(revision 23103)
@@ -27,17 +27,17 @@
         var $sele1 = $form.find('select[name=classcategory_id1]');
         var $sele2 = $form.find('select[name=classcategory_id2]');
-        setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);
+        eccube.setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);
     }
     // 並び順を変更
     function fnChangeOrderby(orderby) {
-        fnSetVal('orderby', orderby);
-        fnSetVal('pageno', 1);
-        fnSubmit();
+        eccube.setValue('orderby', orderby);
+        eccube.setValue('pageno', 1);
+        eccube.submitForm();
     }
     // 表示件数を変更
     function fnChangeDispNumber(dispNumber) {
-        fnSetVal('disp_number', dispNumber);
-        fnSetVal('pageno', 1);
-        fnSubmit();
+        eccube.setValue('disp_number', dispNumber);
+        eccube.setValue('pageno', 1);
+        eccube.submitForm();
     }
     // カゴに入れる
@@ -191,5 +191,5 @@
                     <div class="detail_btn">
                         <!--{assign var=name value="detail`$id`"}-->
-                        <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail_on.jpg','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg','<!--{$name}-->');">
+                        <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail_on.jpg','<!--{$name}-->');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg','<!--{$name}-->');">
                         <img src="<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg" alt="商品詳細を見る" name="<!--{$name}-->" id="<!--{$name}-->" /></a>
                     </div>
@@ -239,5 +239,5 @@
                                     <!--★カゴに入れる★-->
                                     <div id="cartbtn_default_<!--{$id}-->">
-                                        <input type="image" id="cart<!--{$id}-->" src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg" alt="カゴに入れる" onclick="fnInCart(this.form); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin_on.jpg', this);" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg', this);" />
+                                        <input type="image" id="cart<!--{$id}-->" src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg" alt="カゴに入れる" onclick="fnInCart(this.form); return false;" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin_on.jpg', this);" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg', this);" />
                                     </div>
                                     <div class="attention" id="cartbtn_dynamic_<!--{$id}-->"></div>
Index: /branches/version-2_13_0/data/Smarty/templates/default/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/default/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/default/index.tpl	(revision 23103)
@@ -23,5 +23,5 @@
 <!--{strip}-->
     <div id="main_image">
-        <a href="<!--{$smarty.const.P_DETAIL_URLPATH}-->1" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/banner/bnr_top_main_on.jpg','bnr_top_main');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/banner/bnr_top_main.jpg','bnr_top_main');">
+        <a href="<!--{$smarty.const.P_DETAIL_URLPATH}-->1" onmouseover="eccube.chgImg('<!--{$TPL_URLPATH}-->img/banner/bnr_top_main_on.jpg','bnr_top_main');" onmouseout="eccube.chgImg('<!--{$TPL_URLPATH}-->img/banner/bnr_top_main.jpg','bnr_top_main');">
             <img src="<!--{$TPL_URLPATH}-->img/banner/bnr_top_main.jpg" alt="詳細はこちら" id="bnr_top_main" name="bnr_top_main" />
         </a>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/mail/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/mail/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/mail/index.tpl	(revision 23103)
@@ -58,5 +58,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
             </ul>
         </div>
@@ -83,5 +83,5 @@
         <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。
         <!--{if $smarty.const.ADMIN_MODE == '1'}-->
-            <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span>検索結果を全て削除</span></a>
+            <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('delete_all','',''); return false;"><span>検索結果を全て削除</span></a>
         <!--{/if}-->
         <!--{if $tpl_linemax > 0}-->
Index: /branches/version-2_13_0/data/Smarty/templates/admin/mail/template_input.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/mail/template_input.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/mail/template_input.tpl	(revision 23103)
@@ -49,5 +49,5 @@
                     <!--{if $arrErr.body}--><br /><span class="attention"><!--{$arrErr.body}--></span><!--{/if}-->
                     <div>
-                        <a class="btn-normal" href="javascript:;" onclick="fnCharCount('form1','body','cnt_footer'); return false;" name="next" id="next"><span>文字数カウント</span></a>
+                        <a class="btn-normal" href="javascript:;" onclick="eccube.countChars('form1','body','cnt_footer'); return false;" name="next" id="next"><span>文字数カウント</span></a>
                         <span>今までに入力したのは<input type="text" name="cnt_footer" size="4" class="box4" readonly = true style="text-align:right" />文字です。</span>
                     </div>
@@ -57,5 +57,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', '<!--{$mode}-->', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', '<!--{$mode}-->', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/mail/template.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/mail/template.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/mail/template.tpl	(revision 23103)
@@ -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="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.win03('./preview.php?mode=template&amp;template_id=<!--{$arrTemplates[data].template_id}-->','preview','650','700'); return false;" target="_blank">プレビュー</a></td>
             </tr>
             <!--{/section}-->
Index: /branches/version-2_13_0/data/Smarty/templates/admin/mail/history.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/mail/history.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/mail/history.tpl	(revision 23103)
@@ -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="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="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.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><!--{$arrDataList[cnt].count_all|h}--></td>
                     <td><!--{$arrDataList[cnt].count_sent|h}--></td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/total/subtitle.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/total/subtitle.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/total/subtitle.tpl	(revision 23103)
@@ -28,25 +28,25 @@
         <span class="over">日別</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'day');">日別</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'day');">日別</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'month'}-->
         <span class="over">月別</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'month');">月別</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'month');">月別</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'year'}-->
         <span class="over">年別</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'year');">年別</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'year');">年別</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'wday'}-->
         <span class="over">曜日別</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'wday');">曜日別</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'wday');">曜日別</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'hour'}-->
         <span class="over">時間別</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'hour');">時間別</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'hour');">時間別</a>&nbsp;
     <!--{/if}-->
     ）
@@ -58,15 +58,15 @@
         <span class="over">全体</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'all');">全体</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'member'}-->
         <span class="over">会員</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'member');">会員</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'nonmember'}-->
         <span class="over">非会員</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp;
     <!--{/if}-->
     ）
@@ -78,15 +78,15 @@
         <span class="over">全体</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'all');">全体</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'member'}-->
         <span class="over">会員</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'member');">会員</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'nonmember'}-->
         <span class="over">非会員</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp;
     <!--{/if}-->
     ）
@@ -101,15 +101,15 @@
         <span class="over">全体</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'all');">全体</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'all');">全体</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'member'}-->
         <span class="over">会員</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'member');">会員</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'member');">会員</a>&nbsp;
     <!--{/if}-->
     <!--{if $smarty.post.type == 'nonmember'}-->
         <span class="over">非会員</span>&nbsp;
     <!--{else}-->
-        <a href="?" onclick="document.form1.mode.value='search'; return fnSetFormSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp;
+        <a href="?" onclick="document.form1.mode.value='search'; return eccube.setValueAndSubmit('form1', 'type', 'nonmember');">非会員</a>&nbsp;
     <!--{/if}-->
     ）*}-->
Index: /branches/version-2_13_0/data/Smarty/templates/admin/total/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/total/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/total/index.tpl	(revision 23103)
@@ -45,5 +45,5 @@
                         <!--{html_options options=$arrMonth selected=$arrForm.search_startmonth_m.value}-->
                     </select>月度 (<!--{if $smarty.const.CLOSE_DAY == 31}-->末<!--{else}--><!--{$smarty.const.CLOSE_DAY}--><!--{/if}-->日締め)
-                    <a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('search_form1', 'search', '', ''); return false;" name="subm">月度で集計する</a>
+                    <a class="btn-normal" href="javascript:;" onclick="eccube.fnFormModeSubmit('search_form1', 'search', '', ''); return false;" name="subm">月度で集計する</a>
                 </form>
             </td>
@@ -86,5 +86,5 @@
                         <!--{html_options options=$arrDay selected=$arrForm.search_endday.value|h}-->
                     </select>日
-                    <a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('search_form2', 'search', '', ''); return false;" name="subm">期間で集計する</a>
+                    <a class="btn-normal" href="javascript:;" onclick="eccube.fnFormModeSubmit('search_form2', 'search', '', ''); return false;" name="subm">期間で集計する</a>
                 </form>
             </td>
@@ -109,5 +109,5 @@
 
             <div class="btn">
-                <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><span>CSVダウンロード</span></a>
+                <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('csv','',''); return false;"><span>CSVダウンロード</span></a>
             </div>
 
Index: /branches/version-2_13_0/data/Smarty/templates/admin/system/parameter.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/system/parameter.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/system/parameter.tpl	(revision 23103)
@@ -59,5 +59,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'update', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'update', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/system/bkup.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/system/bkup.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/system/bkup.tpl	(revision 23103)
@@ -27,5 +27,5 @@
         if (window.confirm('リストアしますか?')) {
             document.body.style.cursor = 'wait';
-            fnModeSubmit('restore', 'list_name', list_name);
+            eccube.setModeAndSubmit('restore', 'list_name', list_name);
         }
     }
@@ -88,7 +88,7 @@
                         <td align="center"><!--{$arrBkupList[cnt].create_date|sfCutString:19:true:false}--></td>
                         <td align="center"><a href="javascript:;" onclick="fnRestore('<!--{$arrBkupList[cnt].bkup_name}-->'); return false;">リストア</a></td>
-                        <td align="center"><a href="javascript:;" onclick="fnModeSubmit('download','list_name','<!--{$arrBkupList[cnt].bkup_name}-->'); return false;">ダウンロード</a></td>
+                        <td align="center"><a href="javascript:;" onclick="eccube.setModeAndSubmit('download','list_name','<!--{$arrBkupList[cnt].bkup_name}-->'); return false;">ダウンロード</a></td>
                         <td align="center">
-                            <a href="javascript:;" onclick="fnModeSubmit('delete','list_name','<!--{$arrBkupList[cnt].bkup_name}-->'); return false;">削除</a>
+                            <a href="javascript:;" onclick="eccube.setModeAndSubmit('delete','list_name','<!--{$arrBkupList[cnt].bkup_name}-->'); return false;">削除</a>
                         </td>
                     </tr>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/system/masterdata.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/system/masterdata.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/system/masterdata.tpl	(revision 23103)
@@ -31,5 +31,5 @@
             <!--{html_options output=$arrMasterDataName values=$arrMasterDataName selected=$masterDataName}-->
             </select>
-            <a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('form1', 'show', '', ''); return false;"><span>選択</span></a>
+            <a class="btn-normal" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'show', '', ''); return false;"><span>選択</span></a>
         </div>
     </form>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/system/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/system/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/system/index.tpl	(revision 23103)
@@ -33,5 +33,5 @@
 
         <div class="btn">
-            <a class="btn-action" href="javascript:;" onclick="win02('./input.php','input','620','450'); return false;"><span class="btn-next">メンバーを新規入力</span></a>
+            <a class="btn-action" href="javascript:;" onclick="eccube.win02('./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="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.win02('./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">
Index: /branches/version-2_13_0/data/Smarty/templates/admin/system/editdb.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/system/editdb.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/system/editdb.tpl	(revision 23103)
@@ -27,5 +27,5 @@
     <input type="hidden" name="mode" value="confirm" />
     <div class="btn">
-        <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('index_form', 'confirm', '', '');"><span class="btn-next">変更する</span></a>
+        <a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('index_form', 'confirm', '', '');"><span class="btn-next">変更する</span></a>
     </div>
     <table class="list">
@@ -62,4 +62,4 @@
     </table>
 
-    <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('index_form', 'confirm', '', ''); return false;"><span class="btn-next">変更する</span></a>
+    <a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('index_form', 'confirm', '', ''); return false;"><span class="btn-next">変更する</span></a>
 </form>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/system/input.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/system/input.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/system/input.tpl	(revision 23103)
@@ -104,5 +104,5 @@
     <div class="btn-area">
         <ul>
-            <li><a class="btn-action" href="javascript:;" onclick="if (!fnConfirm()) return false; fnFormModeSubmit('form1', '<!--{$tpl_mode|h}-->', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="if (!fnConfirm()) return false; eccube.fnFormModeSubmit('form1', '<!--{$tpl_mode|h}-->', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
         </ul>
     </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/plugin_hookpoint_list.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/plugin_hookpoint_list.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/plugin_hookpoint_list.tpl	(revision 23103)
@@ -48,5 +48,5 @@
             }
             // プラグインフックID
-            fnModeSubmit('update_use', 'plugin_hookpoint_id', id);
+            eccube.setModeAndSubmit('update_use', 'plugin_hookpoint_id', id);
         });
     });
Index: /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/plugin.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/plugin.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/plugin.tpl	(revision 23103)
@@ -46,5 +46,5 @@
                 // プラグインID
                 var plugin_id = event.target.value;
-                fnModeSubmit(mode, 'plugin_id', plugin_id);
+                eccube.setModeAndSubmit(mode, 'plugin_id', plugin_id);
             }
         });
@@ -80,5 +80,5 @@
     function install() {
         if (window.confirm('プラグインをインストールしても宜しいでしょうか？')){
-            fnModeSubmit('install','','');
+            eccube.setModeAndSubmit('install','','');
         }
     }
@@ -89,6 +89,6 @@
     function uninstall(plugin_id, plugin_code) {
         if (window.confirm('一度削除したデータは元に戻せません。\nプラグインを削除しても宜しいですか？')){
-            fnSetFormValue('plugin_id', plugin_id);
-            fnModeSubmit('uninstall', 'plugin_code', plugin_code);
+            eccube.setValue('plugin_id', plugin_id);
+            eccube.setModeAndSubmit('uninstall', 'plugin_code', plugin_code);
         }
     }
@@ -100,6 +100,6 @@
         if (window.confirm('プラグインをアップデートしても宜しいですか？')){
             removeUpdateFile('update_file_' + plugin_id);
-            fnSetFormValue('plugin_id', plugin_id);
-            fnModeSubmit('update','plugin_code', plugin_code);
+            eccube.setValue('plugin_id', plugin_id);
+            eccube.setModeAndSubmit('update','plugin_code', plugin_code);
         }
     }
@@ -110,6 +110,6 @@
     function update_priority(plugin_id, plugin_code) {
         var priority = $("*[name=priority_" + plugin_code +"]").val();
-        fnSetFormValue('priority', priority);
-        fnModeSubmit('priority','plugin_id',plugin_id);
+        eccube.setValue('priority', priority);
+        eccube.setModeAndSubmit('priority','plugin_id',plugin_id);
     }
 
@@ -154,5 +154,5 @@
                     <td class="center plugin_img">
                         <!--{if $plugin.plugin_site_url != '' }-->
-                            <a href="?" onclick="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.win03('<!--{$plugin.plugin_site_url|h}-->','plugin_site_url','620','760'); 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="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.win03('<!--{$plugin.plugin_site_url|h}-->','plugin_site_url','620','760'); 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="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.win03('<!--{$plugin.author_site_url|h}-->','author_site_url','620','760'); 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="win02('../load_plugin_config.php?plugin_id=<!--{$plugin.plugin_id}-->', 'load', 615, 400);return false;">プラグイン設定</a>&nbsp;|&nbsp;
+                                        <a href="?" onclick="eccube.win02('../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_0/data/Smarty/templates/admin/ownersstore/products_list.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/products_list.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/products_list.tpl	(revision 23103)
@@ -74,5 +74,5 @@
                     <!--{if $product.installed_flg}-->
                         <span class="icon_confirm">
-                        <a href="#" onclick="win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 615, 400);return false;">
+                        <a href="#" onclick="eccube.win02('../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="win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 615, 400);return false;">
+                        <a href="#" onclick="eccube.win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 615, 400);return false;">
                             設定</a>
                         </span>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/settings.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/settings.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/ownersstore/settings.tpl	(revision 23103)
@@ -46,5 +46,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'register', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'register', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/contents/csv.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/contents/csv.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/contents/csv.tpl	(revision 23103)
@@ -50,5 +50,5 @@
         return;
     }
-    return fnSetFormSubmit(form, 'mode', mode);
+    return eccube.setValueAndSubmit(form, 'mode', mode);
 }
 //-->
@@ -73,5 +73,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
                 <li><a class="btn-action" href="javascript:;" onclick="lfFormModeDefautSetSubmit('form1', 'defaultset', '', ''); return false;"><span class="btn-next">初期設定に戻して登録</span></a></li>
             </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/contents/recommend_search.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/contents/recommend_search.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/contents/recommend_search.tpl	(revision 23103)
@@ -79,5 +79,5 @@
     <div class="btn-area">
         <ul>
-            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'search', '', ''); return false;"><span class="btn-next">検索を開始</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'search', '', ''); return false;"><span class="btn-next">検索を開始</span></a></li>
         </ul>
     </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/contents/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/contents/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/contents/index.tpl	(revision 23103)
@@ -81,5 +81,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
@@ -129,19 +129,19 @@
                 <td>
                     <!--{if $arrNews[data].news_id != $tpl_news_id}-->
-                    <a href="#" onclick="fnFormModeSubmit('move','pre_edit','news_id','<!--{$arrNews[data].news_id|h}-->'); return false;">編集</a>
+                    <a href="#" onclick="eccube.fnFormModeSubmit('move','pre_edit','news_id','<!--{$arrNews[data].news_id|h}-->'); return false;">編集</a>
                     <!--{else}-->
                     編集中
                     <!--{/if}-->
                 </td>
-                <td><a href="#" onclick="fnFormModeSubmit('move','delete','news_id','<!--{$arrNews[data].news_id|h}-->'); return false;">削除</a></td>
+                <td><a href="#" onclick="eccube.fnFormModeSubmit('move','delete','news_id','<!--{$arrNews[data].news_id|h}-->'); return false;">削除</a></td>
                 <td>
                     <!--{if count($arrNews) != 1}-->
-                    <input type="text" name="pos-<!--{$arrNews[data].news_id|h}-->" size="3" class="box3" />番目へ<a href="?" onclick="fnFormModeSubmit('move', 'moveRankSet','news_id', '<!--{$arrNews[data].news_id|h}-->'); return false;">移動</a><br />
+                    <input type="text" name="pos-<!--{$arrNews[data].news_id|h}-->" size="3" class="box3" />番目へ<a href="?" onclick="eccube.fnFormModeSubmit('move', 'moveRankSet','news_id', '<!--{$arrNews[data].news_id|h}-->'); return false;">移動</a><br />
                     <!--{/if}-->
                     <!--{if $smarty.section.data.iteration != 1}-->
-                    <a href="?" onclick="fnFormModeSubmit('move','up','news_id','<!--{$arrNews[data].news_id|h}-->'); return false;">上へ</a>
+                    <a href="?" onclick="eccube.fnFormModeSubmit('move','up','news_id','<!--{$arrNews[data].news_id|h}-->'); return false;">上へ</a>
                     <!--{/if}-->
                     <!--{if !$smarty.section.data.last}-->
-                    <a href="?" onclick="fnFormModeSubmit('move','down','news_id','<!--{$arrNews[data].news_id|h}-->'); return false;">下へ</a>
+                    <a href="?" onclick="eccube.fnFormModeSubmit('move','down','news_id','<!--{$arrNews[data].news_id|h}-->'); return false;">下へ</a>
                     <!--{/if}-->
                 </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/contents/file_manager.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/contents/file_manager.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/contents/file_manager.tpl	(revision 23103)
@@ -63,5 +63,5 @@
                     <td>
                         <!--{if $arrErr.upload_file}--><span class="attention"><!--{$arrErr.upload_file}--></span><!--{/if}-->
-                        <input type="file" name="upload_file" size="40" <!--{if $arrErr.upload_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}--> /><a class="btn-normal" href="javascript:;" onclick="setTreeStatus('tree_status');fnModeSubmit('upload','',''); return false;">アップロード</a>
+                        <input type="file" name="upload_file" size="40" <!--{if $arrErr.upload_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}--> /><a class="btn-normal" href="javascript:;" onclick="setTreeStatus('tree_status');eccube.setModeAndSubmit('upload','',''); return false;">アップロード</a>
                     </td>
                 </tr>
@@ -70,5 +70,5 @@
                     <td>
                         <!--{if $arrErr.create_file}--><span class="attention"><!--{$arrErr.create_file}--></span><!--{/if}-->
-                        <input type="text" name="create_file" value="" style="width:336px;<!--{if $arrErr.create_file}--> background-color:<!--{$smarty.const.ERR_COLOR|h}--><!--{/if}-->" /><a class="btn-normal" href="javascript:;" onclick="setTreeStatus('tree_status');fnModeSubmit('create','',''); return false;">作成</a>
+                        <input type="text" name="create_file" value="" style="width:336px;<!--{if $arrErr.create_file}--> background-color:<!--{$smarty.const.ERR_COLOR|h}--><!--{/if}-->" /><a class="btn-normal" href="javascript:;" onclick="setTreeStatus('tree_status');eccube.setModeAndSubmit('create','',''); return false;">作成</a>
                     </td>
                 </tr>
@@ -85,5 +85,5 @@
                 </tr>
                 <!--{if !$tpl_is_top_dir}-->
-                    <tr id="parent_dir" onclick="fnSetFormVal('form1', 'select_file', '<!--{$tpl_parent_dir|h}-->');fnSelectFile('parent_dir', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<!--{$tpl_parent_dir|h}-->', true, '<!--{$tpl_now_dir|h}-->', true)" style="">
+                    <tr id="parent_dir" onclick="eccube.setValue('select_file', '<!--{$tpl_parent_dir|h}-->', 'form1');fnSelectFile('parent_dir', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<!--{$tpl_parent_dir|h}-->', true, '<!--{$tpl_now_dir|h}-->', true)" style="">
                         <td>
                             <img src="<!--{$TPL_URLPATH}-->img/contents/folder_parent.gif" alt="フォルダ">&nbsp;..
@@ -115,9 +115,9 @@
                         <!--{if $arrFileList[cnt].is_dir}-->
                             <td class="center">
-                                <a href="javascript:;" onclick="fnSetFormVal('form1', 'tree_select_file', '<!--{$arrFileList[cnt].file_path}-->');fnSelectFile('<!--{$id}-->', '#808080');fnModeSubmit('move','',''); return false;">表示</a>
+                                <a href="javascript:;" onclick="eccube.setValue('tree_select_file', '<!--{$arrFileList[cnt].file_path}-->', 'form1');fnSelectFile('<!--{$id}-->', '#808080');eccube.setModeAndSubmit('move','',''); return false;">表示</a>
                             </td>
                         <!--{else}-->
                             <td class="center">
-                                <a href="javascript:;" onclick="fnSetFormVal('form1', 'select_file', '<!--{$arrFileList[cnt].file_path|h}-->');fnSelectFile('<!--{$id}-->', '#808080');fnModeSubmit('view','',''); return false;">表示</a>
+                                <a href="javascript:;" onclick="eccube.setValue('select_file', '<!--{$arrFileList[cnt].file_path|h}-->', 'form1');fnSelectFile('<!--{$id}-->', '#808080');eccube.setModeAndSubmit('view','',''); return false;">表示</a>
                             </td>
                         <!--{/if}-->
@@ -127,9 +127,9 @@
                         <!--{else}-->
                             <td class="center">
-                                <a href="javascript:;" onclick="fnSetFormVal('form1', 'select_file', '<!--{$arrFileList[cnt].file_path|h}-->');fnSelectFile('<!--{$id}-->', '#808080');setTreeStatus('tree_status');fnModeSubmit('download','',''); return false;">ダウンロード</a>
+                                <a href="javascript:;" onclick="eccube.setValue('select_file', '<!--{$arrFileList[cnt].file_path|h}-->', 'form1');fnSelectFile('<!--{$id}-->', '#808080');setTreeStatus('tree_status');eccube.setModeAndSubmit('download','',''); return false;">ダウンロード</a>
                             </td>
                         <!--{/if}-->
                         <td class="center">
-                            <a href="javascript:;" onclick="fnSetFormVal('form1', 'select_file', '<!--{$arrFileList[cnt].file_path|h}-->');fnSelectFile('<!--{$id}-->', '#808080');setTreeStatus('tree_status');fnModeSubmit('delete','',''); return false;">削除</a>
+                            <a href="javascript:;" onclick="eccube.setValue('select_file', '<!--{$arrFileList[cnt].file_path|h}-->', 'form1');fnSelectFile('<!--{$id}-->', '#808080');setTreeStatus('tree_status');eccube.setModeAndSubmit('delete','',''); return false;">削除</a>
                         </td>
                     </tr>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/contents/recommend.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/contents/recommend.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/contents/recommend.tpl	(revision 23103)
@@ -60,5 +60,5 @@
 
     if ( flag ){
-        win03('./recommend_search.php?rank=' + rank,'search','615','600');
+        eccube.win03('./recommend_search.php?rank=' + rank,'search','615','600');
     }
 }
Index: /branches/version-2_13_0/data/Smarty/templates/admin/contents/csv_sql.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/contents/csv_sql.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/contents/csv_sql.tpl	(revision 23103)
@@ -59,6 +59,6 @@
                         <td>
                             <div class="btn">
-                                <a class="btn-normal" href="javascript:;" name='csv' onclick="fnTargetSelf(); fnFormModeSubmit('form1','csv_output','csv_output_id',<!--{$item.sql_id}-->); return false;"><span>CSV出力</span></a>
-                                <a class="btn-normal" href="javascript:;" name='del' onclick="fnTargetSelf(); fnFormModeSubmit('form1','delete','sql_id',<!--{$item.sql_id}-->); return false;"><span>削除</span></a>
+                                <a class="btn-normal" href="javascript:;" name='csv' onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form1','csv_output','csv_output_id',<!--{$item.sql_id}-->); return false;"><span>CSV出力</span></a>
+                                <a class="btn-normal" href="javascript:;" name='del' onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form1','delete','sql_id',<!--{$item.sql_id}-->); return false;"><span>削除</span></a>
                             </div>
                         </td>
@@ -69,5 +69,5 @@
 
         <div class="btn addnew">
-            <a class="btn-normal" href="javascript:;" name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_page','',''); return false;"><span>SQLを新規入力</span></a>
+            <a class="btn-normal" href="javascript:;" name='subm' onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form1','new_page','',''); return false;"><span>SQLを新規入力</span></a>
         </div>
 
@@ -99,5 +99,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" name="subm" onclick="fnTargetSelf(); fnFormModeSubmit('form1', 'confirm', '', '')"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" name="subm" onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form1', 'confirm', '', '')"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/delivery.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/delivery.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/delivery.tpl	(revision 23103)
@@ -30,5 +30,5 @@
         <div class="btn">
             <ul>
-                <li><a class="btn-action" href="javascript:;" name="subm2" onclick="fnChangeAction('./delivery_input.php'); fnModeSubmit('pre_edit','',''); return false;">
+                <li><a class="btn-action" href="javascript:;" name="subm2" onclick="eccube.changeAction('./delivery_input.php'); eccube.setModeAndSubmit('pre_edit','',''); return false;">
                     <span class="btn-next">配送方法<!--{if $smarty.const.INPUT_DELIV_FEE}-->・配送料<!--{/if}-->を新規入力</span></a></li>
             </ul>
@@ -51,14 +51,14 @@
                     <td><!--{$arrDelivList[cnt].name|h}--></td>
                     <td><!--{$arrDelivList[cnt].service_name|h}--></td>
-                    <td align="center"><a href="?" onclick="fnChangeAction('./delivery_input.php'); fnModeSubmit('pre_edit', 'deliv_id', <!--{$arrDelivList[cnt].deliv_id}-->); return false;">
+                    <td align="center"><a href="?" onclick="eccube.changeAction('./delivery_input.php'); eccube.setModeAndSubmit('pre_edit', 'deliv_id', <!--{$arrDelivList[cnt].deliv_id}-->); return false;">
                         編集</a></td>
-                    <td align="center"><a href="?" onclick="fnModeSubmit('delete', 'deliv_id', <!--{$arrDelivList[cnt].deliv_id}-->); return false;">
+                    <td align="center"><a href="?" onclick="eccube.setModeAndSubmit('delete', 'deliv_id', <!--{$arrDelivList[cnt].deliv_id}-->); return false;">
                         削除</a></td>
                     <td align="center">
                     <!--{if $smarty.section.cnt.iteration != 1}-->
-                    <a href="?" onclick="fnModeSubmit('up','deliv_id', '<!--{$arrDelivList[cnt].deliv_id}-->'); return false;">上へ</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('up','deliv_id', '<!--{$arrDelivList[cnt].deliv_id}-->'); return false;">上へ</a>
                     <!--{/if}-->
                     <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
-                    <a href="?" onclick="fnModeSubmit('down','deliv_id', '<!--{$arrDelivList[cnt].deliv_id}-->'); return false;">下へ</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('down','deliv_id', '<!--{$arrDelivList[cnt].deliv_id}-->'); return false;">下へ</a>
                     <!--{/if}-->
                     </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/tradelaw.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/tradelaw.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/tradelaw.tpl	(revision 23103)
@@ -62,5 +62,5 @@
                     -
                     <input type="text"    name="<!--{$arrForm[$key2].keyname}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->"    size="6" class="box6" />
-                    <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'law_zip01', 'law_zip02', 'law_pref', 'law_addr01'); return false;">所在地入力</a>
+                    <a class="btn-normal" href="javascript:;" name="address_input" onclick="eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'law_zip01', 'law_zip02', 'law_pref', 'law_addr01'); return false;">所在地入力</a>
                 </td>
             </tr>
@@ -198,5 +198,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', '<!--{$tpl_mode}-->', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', '<!--{$tpl_mode}-->', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/index.tpl	(revision 23103)
@@ -163,5 +163,5 @@
                     <span class="attention"><!--{$arrErr.zip02}--></span>
                     〒 <input type="text" name="zip01" value="<!--{$arrForm.zip01|h}-->" maxlength="3" size="6" class="box6" style="<!--{if $arrErr.zip01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" /> - <input type="text" name="zip02" value="<!--{$arrForm.zip02|h}-->" maxlength="4"    size="6" class="box6" style="<!--{if $arrErr.zip02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" />
-                    <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01'); return false;">所在地入力</a>
+                    <a class="btn-normal" href="javascript:;" name="address_input" onclick="eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01'); return false;">所在地入力</a>
                 </td>
             </tr>
@@ -309,5 +309,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnSubmit(); return false;"><span class="btn-next">確認ページへ</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.submitForm(); return false;"><span class="btn-next">確認ページへ</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/zip_install.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/zip_install.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/zip_install.tpl	(revision 23103)
@@ -47,5 +47,5 @@
             <h2>自動登録</h2>
             <p>下の [削除] <!--{if !$tpl_skip_update_csv}-->[郵便番号CSV更新] <!--{/if}-->[DB手動登録] を順に実行します。ただし、タイムアウトした場合、DBは元の状態に戻ります。</p>
-            <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('auto', '', ''); return false;"><span class="btn-next">自動登録</span></a></p>
+            <p><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('auto', '', ''); return false;"><span class="btn-next">自動登録</span></a></p>
         </div>
 
@@ -53,5 +53,5 @@
             <h2>DB手動登録</h2>
             <p>指定した行数から郵便番号を登録します。タイムアウトした場合、直前まで登録されます。</p>
-            <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('manual', '', ''); return false;"><span class="btn-next">手動登録</span></a>　開始行: <input type="text" name="startRowNum" value="<!--{$arrForm.startRowNum|default:$tpl_count_mtb_zip+1|h}-->" size="8" /><span class="attention"><!--{$arrErr.startRowNum}--></span></p>
+            <p><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('manual', '', ''); return false;"><span class="btn-next">手動登録</span></a>　開始行: <input type="text" name="startRowNum" value="<!--{$arrForm.startRowNum|default:$tpl_count_mtb_zip+1|h}-->" size="8" /><span class="attention"><!--{$arrErr.startRowNum}--></span></p>
         </div>
 
@@ -68,5 +68,5 @@
             <!--{else}-->
                 <p>日本郵便の WEB サイトから、郵便番号CSVを取得します。</p>
-                <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('update_csv', '', ''); return false;"><span class="btn-next">更新</span></a><span class="attention"><!--{$arrErr.startRowNum}--></span></p>
+                <p><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('update_csv', '', ''); return false;"><span class="btn-next">更新</span></a><span class="attention"><!--{$arrErr.startRowNum}--></span></p>
             <!--{/if}-->
         </div>
@@ -75,5 +75,5 @@
             <h2>削除</h2>
             <p>全ての郵便番号を削除します。再登録するまで、住所自動入力は機能しなくなります。</p>
-            <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete', '', ''); return false;"><span class="btn-next">削除</span></a></p>
+            <p><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('delete', '', ''); return false;"><span class="btn-next">削除</span></a></p>
         </div>
     </form>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/holiday.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/holiday.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/holiday.tpl	(revision 23103)
@@ -62,5 +62,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
@@ -86,5 +86,5 @@
                 <td class="center">
                     <!--{if $tpl_holiday_id != $arrHoliday[cnt].holiday_id}-->
-                    <a href="?" onclick="fnModeSubmit('pre_edit', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">編集</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('pre_edit', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">編集</a>
                     <!--{else}-->
                     編集中
@@ -95,13 +95,13 @@
                     -
                     <!--{else}-->
-                    <a href="?" onclick="fnModeSubmit('delete', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">削除</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('delete', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">削除</a>
                     <!--{/if}-->
                 </td>
                 <td class="center">
                     <!--{if $smarty.section.cnt.iteration != 1}-->
-                    <a href="?" onclick="fnModeSubmit('up', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">上へ</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('up', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">上へ</a>
                     <!--{/if}-->
                     <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
-                    <a href="?" onclick="fnModeSubmit('down', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">下へ</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('down', 'holiday_id', <!--{$arrHoliday[cnt].holiday_id}-->); return false;">下へ</a>
                     <!--{/if}-->
                 </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/point.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/point.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/point.tpl	(revision 23103)
@@ -52,5 +52,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('point_form', '<!--{$tpl_mode}-->', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('point_form', '<!--{$tpl_mode}-->', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/payment_input.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/payment_input.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/payment_input.tpl	(revision 23103)
@@ -80,8 +80,8 @@
                         <span class="attention"><!--{$arrErr[$key]}--></span>
                         <!--{if $arrFile[$key].filepath != ""}-->
-                        <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->">　<br /><a href="" onclick="fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
+                        <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->">　<br /><a href="" onclick="eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
                         <!--{/if}-->
                         <input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-                        <a class="btn-normal" href="javascript:;" name="btn" onclick="fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
+                        <a class="btn-normal" href="javascript:;" name="btn" onclick="eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
                     </td>
                 </tr>
@@ -91,5 +91,5 @@
             <ul>
                 <li><a class="btn-action" href="javascript:;" onclick="location.href='./payment.php';"><span class="btn-prev">前のページに戻る</span></a></li>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/tax.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/tax.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/tax.tpl	(revision 23103)
@@ -24,5 +24,5 @@
     <div class="btn-area">
         <ul>
-            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'param_edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'param_edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
         </ul>
     </div>
@@ -93,5 +93,5 @@
     <div class="btn-area">
         <ul>
-            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
         </ul>
     </div>
@@ -124,5 +124,5 @@
             <td class="center">
             <!--{if $tpl_tax_rule_id != $arrTaxrule[cnt].tax_rule_id}-->
-                <a href="?" onclick="fnModeSubmit('pre_edit', 'tax_rule_id', '<!--{$arrTaxrule[cnt].tax_rule_id}-->'); return false;">編集</a>
+                <a href="?" onclick="eccube.setModeAndSubmit('pre_edit', 'tax_rule_id', '<!--{$arrTaxrule[cnt].tax_rule_id}-->'); return false;">編集</a>
             <!--{else}-->
                 編集中
@@ -133,5 +133,5 @@
                 -
             <!--{else}-->
-                <a href="?" onclick="fnModeSubmit('delete', 'tax_rule_id', '<!--{$arrTaxrule[cnt].tax_rule_id}-->'); return false;">削除</a>
+                <a href="?" onclick="eccube.setModeAndSubmit('delete', 'tax_rule_id', '<!--{$arrTaxrule[cnt].tax_rule_id}-->'); return false;">削除</a>
             <!--{/if}-->
             </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/confirm.tpl	(revision 23103)
@@ -161,6 +161,6 @@
     <div class="btn-area">
         <ul>
-            <li><a class="btn-action" href="javascript:;" onclick="fnModeSubmit('return','',''); return false;"><span class="btn-prev">前のページに戻る</span></a></li>
-            <li><a class="btn-action" href="javascript:;" onclick="fnSubmit(); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="eccube.setModeAndSubmit('return','',''); return false;"><span class="btn-prev">前のページに戻る</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="eccube.submitForm(); return false;"><span class="btn-next">この内容で登録する</span></a></li>
         </ul>
     </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/kiyaku.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/kiyaku.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/kiyaku.tpl	(revision 23103)
@@ -49,5 +49,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
@@ -70,5 +70,5 @@
                     <td align="center">
                         <!--{if $tpl_kiyaku_id != $arrKiyaku[cnt].kiyaku_id}-->
-                        <a href="?" onclick="fnModeSubmit('pre_edit', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">編集</a>
+                        <a href="?" onclick="eccube.setModeAndSubmit('pre_edit', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">編集</a>
                         <!--{else}-->
                         編集中
@@ -79,13 +79,13 @@
                         -
                         <!--{else}-->
-                        <a href="?" onclick="fnModeSubmit('delete', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">削除</a>
+                        <a href="?" onclick="eccube.setModeAndSubmit('delete', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">削除</a>
                         <!--{/if}-->
                     </td>
                     <td align="center">
                         <!--{if $smarty.section.cnt.iteration != 1}-->
-                        <a href="?" onclick="fnModeSubmit('up', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">上へ</a>
+                        <a href="?" onclick="eccube.setModeAndSubmit('up', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">上へ</a>
                         <!--{/if}-->
                         <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
-                        <a href="?" onclick="fnModeSubmit('down', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">下へ</a>
+                        <a href="?" onclick="eccube.setModeAndSubmit('down', 'kiyaku_id', <!--{$arrKiyaku[cnt].kiyaku_id}-->); return false;">下へ</a>
                         <!--{/if}-->
                     </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/payment.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/payment.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/payment.tpl	(revision 23103)
@@ -30,5 +30,5 @@
         <div class="btn">
             <ul>
-                <li><a class="btn-action" href="javascript:;" name="subm2" onclick="fnChangeAction('./payment_input.php'); fnModeSubmit('','',''); return false;">
+                <li><a class="btn-action" href="javascript:;" name="subm2" onclick="eccube.changeAction('./payment_input.php'); eccube.setModeAndSubmit('','',''); return false;">
                     <span class="btn-next">支払方法を新規入力</span></a></li>
             </ul>
@@ -63,12 +63,12 @@
                     <!--{if $arrPaymentListFree[cnt].rule_max > 0}--><!--{$arrPaymentListFree[cnt].rule_max|number_format|h}--><!--{else}-->0<!--{/if}-->円
                     <!--{if $arrPaymentListFree[cnt].upper_rule > 0}-->～<!--{$arrPaymentListFree[cnt].upper_rule|number_format|h}-->円<!--{elseif $arrPaymentListFree[cnt].upper_rule == "0"}--><!--{else}-->～無制限<!--{/if}--></td>
-                <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="fnChangeAction('./payment_input.php'); fnModeSubmit('pre_edit', 'payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">編集</a><!--{else}-->-<!--{/if}--></td>
-                <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="fnModeSubmit('delete', 'payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">削除</a><!--{else}-->-<!--{/if}--></td>
+                <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="eccube.changeAction('./payment_input.php'); eccube.setModeAndSubmit('pre_edit', 'payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">編集</a><!--{else}-->-<!--{/if}--></td>
+                <td class="center"><!--{if $arrPaymentListFree[cnt].fix != 1}--><a href="?" onclick="eccube.setModeAndSubmit('delete', 'payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">削除</a><!--{else}-->-<!--{/if}--></td>
                 <td class="center">
                 <!--{if $smarty.section.cnt.iteration != 1}-->
-                <a href="?" onclick="fnModeSubmit('up','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">上へ</a>
+                <a href="?" onclick="eccube.setModeAndSubmit('up','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">上へ</a>
                 <!--{/if}-->
                 <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
-                <a href="?" onclick="fnModeSubmit('down','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">下へ</a>
+                <a href="?" onclick="eccube.setModeAndSubmit('down','payment_id', <!--{$arrPaymentListFree[cnt].payment_id}-->); return false;">下へ</a>
                 <!--{/if}-->
                 </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/delivery_input.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/delivery_input.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/delivery_input.tpl	(revision 23103)
@@ -148,5 +148,5 @@
             <ul>
                 <li><a class="btn-action" href="javascript:;" onclick="location.href='./delivery.php';"><span class="btn-prev">前のページに戻る</span></a></li>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/basis/mail.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/basis/mail.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/basis/mail.tpl	(revision 23103)
@@ -85,5 +85,5 @@
                 </span>
                 <div>
-                    <a class="btn-normal" href="javascript:;" onclick="fnCharCount('form1','header','cnt_header'); return false;"><span>文字数カウント</span></a>
+                    <a class="btn-normal" href="javascript:;" onclick="eccube.countChars('form1','header','cnt_header'); return false;"><span>文字数カウント</span></a>
                     今までに入力したのは
                     <input type="text" name="cnt_header" size="4" class="box4" readonly="readonly" style="text-align:right" />
@@ -105,5 +105,5 @@
                 <span class="attention"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)</span>
                 <div>
-                    <a class="btn-normal" href="javascript:;" onclick="fnCharCount('form1','footer','cnt_footer'); return false;"><span>文字数カウント</span></a>
+                    <a class="btn-normal" href="javascript:;" onclick="eccube.countChars('form1','footer','cnt_footer'); return false;"><span>文字数カウント</span></a>
                     今までに入力したのは
                     <input type="text" name="cnt_footer" size="4" class="box4" readonly="readonly" style="text-align:right" />
@@ -116,5 +116,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'regist', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'regist', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/customer/edit.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/customer/edit.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/customer/edit.tpl	(revision 23103)
@@ -131,5 +131,5 @@
                     <span class="attention"><!--{$arrErr.zip01}--><!--{$arrErr.zip02}--></span>
                     〒 <input type="text" name="zip01" value="<!--{$arrForm.zip01|h}-->" maxlength="<!--{$smarty.const.ZIP01_LEN}-->" size="6" class="box6" <!--{if $arrErr.zip01 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> /> - <input type="text" name="zip02" value="<!--{$arrForm.zip02|h}-->" maxlength="<!--{$smarty.const.ZIP02_LEN}-->" size="6" class="box6" <!--{if $arrErr.zip02 != ""}--><!--{sfSetErrorStyle}--><!--{/if}--> />
-                    <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01'); return false;">住所入力</a>
+                    <a class="btn-normal" href="javascript:;" name="address_input" onclick="eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'zip01', 'zip02', 'pref', 'addr01'); return false;">住所入力</a>
                 </td>
             </tr>
@@ -263,5 +263,5 @@
             <ul>
                 <li><a class="btn-action" href="javascript:;" onclick="return fnReturn();"><span class="btn-prev">検索画面に戻る</span></a></li>
-                <li><a class="btn-action" href="javascript:;" onclick="fnSetFormSubmit('form1', 'mode', 'confirm'); return false;"><span class="btn-next">確認ページへ</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.setValueAndSubmit('form1', 'mode', 'confirm'); return false;"><span class="btn-next">確認ページへ</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/customer/search_customer.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/customer/search_customer.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/customer/search_customer.tpl	(revision 23103)
@@ -77,5 +77,5 @@
     <div class="btn-area">
         <ul>
-            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm"><span class="btn-next">検索を開始</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm"><span class="btn-next">検索を開始</span></a></li>
         </ul>
     </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/customer/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/customer/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/customer/index.tpl	(revision 23103)
@@ -78,5 +78,5 @@
             <div class="btn-area">
                 <ul>
-                    <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
+                    <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
                 </ul>
             </div>
@@ -104,5 +104,5 @@
                 <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。
                 <!--検索結果-->
-                <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;">CSV ダウンロード</a>
+                <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('csv','',''); return false;">CSV ダウンロード</a>
                 <a class="btn-normal" href="javascript:;" onclick="location.href='../contents/csv.php?tpl_subno_csv=customer'">CSV 出力項目設定</a>
             </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/customer/edit_complete.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/customer/edit_complete.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/customer/edit_complete.tpl	(revision 23103)
@@ -81,5 +81,5 @@
                     <li><a class="btn-action" href="javascript:;" onclick="return fnReturn();"><span class="btn-prev">検索結果へ戻る</span></a></li>
                 <!--{/if}-->
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'complete_return', '', ''); return false;"><span class="btn-next">続けて登録を行う</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'complete_return', '', ''); return false;"><span class="btn-next">続けて登録を行う</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/customer/edit_confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/customer/edit_confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/customer/edit_confirm.tpl	(revision 23103)
@@ -153,5 +153,5 @@
             <ul>
                 <li><a class="btn-action" href="javascript:;" onclick="func_return(); return false;"><span class="btn-prev">編集画面に戻る</span></a></li>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'complete', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'complete', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/product_select.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/product_select.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/product_select.tpl	(revision 23103)
@@ -65,5 +65,5 @@
     </table>
     <div class="btn-area">
-        <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm"><span class="btn-next">検索を開始</span></a>
+        <a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'search', '', ''); return false;" name="subm"><span class="btn-next">検索を開始</span></a>
     </div>
 
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/product.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/product.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/product.tpl	(revision 23103)
@@ -167,8 +167,8 @@
                     <!--{if $arrForm.down_realfilename != ""}-->
                         <!--{$arrForm.down_realfilename|h}--><input type="hidden" name="down_realfilename" value="<!--{$arrForm.down_realfilename|h}-->">
-                        <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_down', 'down_key', '<!--{$key}-->'); return false;">[ファイルの取り消し]</a><br />
+                        <a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_down', 'down_key', '<!--{$key}-->'); return false;">[ファイルの取り消し]</a><br />
                     <!--{/if}-->
                     <input type="file" name="down_file" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-                    <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_down', 'down_key', '<!--{$key}-->'); return false;">アップロード</a><br />登録可能拡張子：<!--{$smarty.const.DOWNLOAD_EXTENSION}-->　(パラメーター DOWNLOAD_EXTENSION)
+                    <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_down', 'down_key', '<!--{$key}-->'); return false;">アップロード</a><br />登録可能拡張子：<!--{$smarty.const.DOWNLOAD_EXTENSION}-->　(パラメーター DOWNLOAD_EXTENSION)
             </td>
         </tr>
@@ -311,8 +311,8 @@
                 <span class="attention"><!--{$arrErr[$key]}--></span>
                 <!--{if $arrForm.arrFile[$key].filepath != ""}-->
-                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
+                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
                 <!--{/if}-->
                 <input type="file" name="main_list_image" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
+                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
             </td>
         </tr>
@@ -323,8 +323,8 @@
                 <span class="attention"><!--{$arrErr[$key]}--></span>
                 <!--{if $arrForm.arrFile[$key].filepath != ""}-->
-                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
+                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
                 <!--{/if}-->
                 <input type="file" name="main_image" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
+                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
             </td>
         </tr>
@@ -335,8 +335,8 @@
                 <span class="attention"><!--{$arrErr[$key]}--></span>
                 <!--{if $arrForm.arrFile[$key].filepath != ""}-->
-                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
+                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
                 <!--{/if}-->
                 <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
-                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
+                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
             </td>
         </tr>
@@ -388,8 +388,8 @@
                 <span class="attention"><!--{$arrErr[$key]}--></span>
                 <!--{if $arrForm.arrFile[$key].filepath != ""}-->
-                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
+                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
                 <!--{/if}-->
                 <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
-                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
+                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
             </td>
         </tr>
@@ -400,8 +400,8 @@
                 <span class="attention"><!--{$arrErr[$key]}--></span>
                 <!--{if $arrForm.arrFile[$key].filepath != ""}-->
-                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
+                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />　<a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br />
                 <!--{/if}-->
                 <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
-                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
+                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a>
             </td>
         </tr>
@@ -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'); 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.win03('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '615', '500'); return false;">変更</a>
                 <!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}-->
                 <input type="checkbox" name="<!--{$key}-->" value="1" />削除<br />
@@ -458,5 +458,5 @@
         <!--▼検索結果へ戻る-->
         <ul>
-            <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev">検索画面に戻る</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="eccube.changeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); eccube.setModeAndSubmit('search','',''); return false;"><span class="btn-prev">検索画面に戻る</span></a></li>
         <!--▲検索結果へ戻る-->
         <!--{/if}-->
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/product_class_confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/product_class_confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/product_class_confirm.tpl	(revision 23103)
@@ -115,7 +115,7 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'confirm_return','',''); return false"><span class="btn-prev">前へ戻る</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'confirm_return','',''); return false"><span class="btn-prev">前へ戻る</span></a></li>
             <!--{if count($arrForm.check.value) > 0}-->
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'complete','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'complete','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             <!--{/if}-->
             </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/product_rank_tree_fork.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/product_rank_tree_fork.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/product_rank_tree_fork.tpl	(revision 23103)
@@ -27,5 +27,5 @@
             <!--{assign var=disp_name value="`$child.category_id`.`$child.category_name`"}-->
             <!--{if $child.level != $smarty.const.LEVEL_MAX}-->
-                <a href="?" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$child.category_id}-->); return false;">
+                <a href="?" onclick="eccube.setModeAndSubmit('tree', 'parent_category_id', <!--{$child.category_id}-->); return false;">
                 <!--{if $arrForm.parent_category_id == $child.category_id}-->
                     <img src="<!--{$TPL_URLPATH}-->img/contents/folder_open.gif" alt="フォルダ" />
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/product_rank.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/product_rank.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/product_rank.tpl	(revision 23103)
@@ -63,5 +63,5 @@
 
                 <!--{if $smarty.const.ADMIN_MODE == '1'}-->
-                    <p class="right"><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('renumber', '', ''); return false;">内部順位再割り当て</a></p>
+                    <p class="right"><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('renumber', '', ''); return false;">内部順位再割り当て</a></p>
                 <!--{/if}-->
 
@@ -99,11 +99,11 @@
                             <!--{* 移動 *}-->
                             <!--{if !(count($arrProductsList) == 1 && $rank == 1)}-->
-                            <input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" />番目へ<a href="?" onclick="fnModeSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">移動</a><br />
+                            <input type="text" name="pos-<!--{$arrProductsList[cnt].product_id}-->" size="3" class="box3" />番目へ<a href="?" onclick="eccube.setModeAndSubmit('move','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">移動</a><br />
                             <!--{/if}-->
                             <!--{if !($smarty.section.cnt.first && $tpl_disppage eq 1)}-->
-                            <a href="?" onclick="fnModeSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">上へ</a>
+                            <a href="?" onclick="eccube.setModeAndSubmit('up','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">上へ</a>
                             <!--{/if}-->
                             <!--{if !($smarty.section.cnt.last && $tpl_disppage eq $tpl_pagemax)}-->
-                            <a href="?" onclick="fnModeSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">下へ</a>
+                            <a href="?" onclick="eccube.setModeAndSubmit('down','product_id', '<!--{$arrProductsList[cnt].product_id}-->'); return false;">下へ</a>
                             <!--{/if}-->
                             </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/upload_csv_category.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/upload_csv_category.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/upload_csv_category.tpl	(revision 23103)
@@ -24,5 +24,5 @@
 
 <!--★★メインコンテンツ★★-->
-<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data" onSubmit="winSubmit('','form1', 'upload', 500, 400)">
+<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data" onSubmit="eccube.winSubmit('','form1', 'upload', 500, 400)">
     <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
     <input type="hidden" name="mode" value="csv_upload" />
@@ -64,5 +64,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'csv_upload', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'csv_upload', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/confirm.tpl	(revision 23103)
@@ -298,5 +298,5 @@
     <div class="btn-area">
         <ul>
-            <li><a class="btn-action" href="javascript:;" onclick="fnModeSubmit('confirm_return','',''); return false;"><span class="btn-prev">前のページに戻る</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="eccube.setModeAndSubmit('confirm_return','',''); return false;"><span class="btn-prev">前のページに戻る</span></a></li>
             <li><a class="btn-action" href="javascript:;" onclick="document.form1.submit(); return false;"><span class="btn-next">この内容で登録する</span></a></li>
         </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/product_class_complete.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/product_class_complete.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/product_class_complete.tpl	(revision 23103)
@@ -46,5 +46,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev">検索結果へ戻る</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.changeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); eccube.setModeAndSubmit('search','',''); return false;"><span class="btn-prev">検索結果へ戻る</span></a></li>
                 <li><a class="btn-action" href="./product.php"><span class="btn-next">続けて登録を行う</span></a></li>
             </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/upload_csv.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/upload_csv.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/upload_csv.tpl	(revision 23103)
@@ -63,5 +63,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'csv_upload', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'csv_upload', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/maker.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/maker.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/maker.tpl	(revision 23103)
@@ -43,5 +43,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
@@ -67,5 +67,5 @@
                 <td class="center">
                     <!--{if $tpl_maker_id != $arrMaker[cnt].maker_id}-->
-                    <a href="?" onclick="fnModeSubmit('pre_edit', 'maker_id', <!--{$arrMaker[cnt].maker_id}-->); return false;">編集</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('pre_edit', 'maker_id', <!--{$arrMaker[cnt].maker_id}-->); return false;">編集</a>
                     <!--{else}-->
                     編集中
@@ -76,13 +76,13 @@
                     -
                     <!--{else}-->
-                    <a href="?" onclick="fnModeSubmit('delete', 'maker_id', <!--{$arrMaker[cnt].maker_id}-->); return false;">削除</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('delete', 'maker_id', <!--{$arrMaker[cnt].maker_id}-->); return false;">削除</a>
                     <!--{/if}-->
                 </td>
                 <td class="center">
                     <!--{if $smarty.section.cnt.iteration != 1}-->
-                    <a href="?" onclick="fnModeSubmit('up', 'maker_id', <!--{$arrMaker[cnt].maker_id}-->); return false;">上へ</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('up', 'maker_id', <!--{$arrMaker[cnt].maker_id}-->); return false;">上へ</a>
                     <!--{/if}-->
                     <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
-                    <a href="?" onclick="fnModeSubmit('down', 'maker_id', <!--{$arrMaker[cnt].maker_id}-->); return false;">下へ</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('down', 'maker_id', <!--{$arrMaker[cnt].maker_id}-->); return false;">下へ</a>
                     <!--{/if}-->
                 </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/review.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/review.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/review.tpl	(revision 23103)
@@ -103,5 +103,5 @@
                 <ul>
                     <li>
-                        <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
+                        <a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
                 </ul>
             </div>
@@ -127,7 +127,7 @@
                 <span class="attention"><!--検索結果数--><!--{$tpl_linemax|h}-->件</span>&nbsp;が該当しました。
                 <!--{if $smarty.const.ADMIN_MODE == '1'}-->
-                    <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span>検索結果を全て削除</span></a>
+                    <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('delete_all','',''); return false;"><span>検索結果を全て削除</span></a>
                 <!--{/if}-->
-                <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;"><span>CSV ダウンロード</span></a>
+                <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('csv','',''); return false;"><span>CSV ダウンロード</span></a>
             </div>
             <!--{if $arrReview > 0 & $tpl_linemax > 0}-->
@@ -155,6 +155,6 @@
                             <td><!--{$arrRECOMMEND[$key]|h}--></td>
                             <td class="menu"><!--{if $arrReview[cnt].status eq 1}-->表示<!--{elseif $arrReview[cnt].status eq 2}-->非表示<!--{/if}--></td>
-                            <td class="menu"><a href="javascript:;" onclick="fnChangeAction('./review_edit.php'); fnModeSubmit('','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;">編集</a></td>
-                            <td class="menu"><a href="javascript:;" onclick="fnModeSubmit('delete','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;">削除</a></td>
+                            <td class="menu"><a href="javascript:;" onclick="eccube.changeAction('./review_edit.php'); eccube.setModeAndSubmit('','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;">編集</a></td>
+                            <td class="menu"><a href="javascript:;" onclick="eccube.setModeAndSubmit('delete','review_id','<!--{$arrReview[cnt].review_id}-->'); return false;">削除</a></td>
                         </tr>
                     <!--{/section}-->
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/classcategory.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/classcategory.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/classcategory.tpl	(revision 23103)
@@ -50,5 +50,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
@@ -70,5 +70,5 @@
                     <td align="center" >
                         <!--{if $tpl_classcategory_id != $arrClassCat[cnt].classcategory_id}-->
-                            <a href="?" onclick="fnModeSubmit('pre_edit','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">編集</a>
+                            <a href="?" onclick="eccube.setModeAndSubmit('pre_edit','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">編集</a>
                         <!--{else}-->
                             編集中
@@ -76,12 +76,12 @@
                     </td>
                     <td align="center">
-                        <a href="?" onclick="if(window.confirm('分類名を削除すると、その分類を利用している商品規格が無効になります。\n整合性の問題を把握し、バックアップを行ってから削除することを推奨致します。')){ fnModeSubmit('delete','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); } return false;">削除</a>
+                        <a href="?" onclick="if(window.confirm('分類名を削除すると、その分類を利用している商品規格が無効になります。\n整合性の問題を把握し、バックアップを行ってから削除することを推奨致します。')){ eccube.setModeAndSubmit('delete','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); } return false;">削除</a>
                     </td>
                     <td align="center">
                         <!--{if $smarty.section.cnt.iteration != 1}-->
-                            <a href="?" onclick="fnModeSubmit('up','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">上へ</a>
+                            <a href="?" onclick="eccube.setModeAndSubmit('up','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">上へ</a>
                         <!--{/if}-->
                         <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
-                            <a href="?" onclick="fnModeSubmit('down','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">下へ</a>
+                            <a href="?" onclick="eccube.setModeAndSubmit('down','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">下へ</a>
                         <!--{/if}-->
                     </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/class.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/class.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/class.tpl	(revision 23103)
@@ -43,5 +43,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
@@ -67,5 +67,5 @@
                     <td align="center">
                         <!--{if $tpl_class_id != $arrClass[cnt].class_id}-->
-                            <a href="?" onclick="fnModeSubmit('pre_edit', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">編集</a>
+                            <a href="?" onclick="eccube.setModeAndSubmit('pre_edit', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">編集</a>
                         <!--{else}-->
                             編集中
@@ -76,13 +76,13 @@
                             -
                         <!--{else}-->
-                            <a href="?" onclick="fnModeSubmit('delete', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">削除</a>
+                            <a href="?" onclick="eccube.setModeAndSubmit('delete', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">削除</a>
                         <!--{/if}-->
                     </td>
                     <td align="center">
                         <!--{if $smarty.section.cnt.iteration != 1}-->
-                            <a href="?" onclick="fnModeSubmit('up', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">上へ</a>
+                            <a href="?" onclick="eccube.setModeAndSubmit('up', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">上へ</a>
                         <!--{/if}-->
                         <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
-                            <a href="?" onclick="fnModeSubmit('down', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">下へ</a>
+                            <a href="?" onclick="eccube.setModeAndSubmit('down', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">下へ</a>
                         <!--{/if}-->
                     </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/product_class.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/product_class.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/product_class.tpl	(revision 23103)
@@ -157,8 +157,8 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); fnModeSubmit('search','',''); return false;" ><span class="btn-prev">検索結果へ戻る</span></a></li>
-                <li><a class="btn-action" href="javascript:;" onclick="fnModeSubmit('disp','',''); return false;"><span class="btn-next">表示する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.changeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); eccube.setModeAndSubmit('search','',''); return false;" ><span class="btn-prev">検索結果へ戻る</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.setModeAndSubmit('disp','',''); return false;"><span class="btn-next">表示する</span></a></li>
             <!--{if $arrForm.total.value > 0}-->
-                <li><a class="btn-action" href="javascript:;" onclick="fnModeSubmit('delete','',''); return false;"><span class="btn-next">削除する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.setModeAndSubmit('delete','',''); return false;"><span class="btn-next">削除する</span></a></li>
             <!--{/if}-->
             </ul>
@@ -303,8 +303,8 @@
                             <!--{$arrForm[$key].value[$index]|h}--><br />
                             <input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]|h}-->" />
-                            <a href="?" onclick="fnFormModeSubmit('form1', 'file_delete', 'upload_index', '<!--{$index}-->'); return false;">[ファイルの取り消し]</a>
+                            <a href="?" onclick="eccube.fnFormModeSubmit('form1', 'file_delete', 'upload_index', '<!--{$index}-->'); return false;">[ファイルの取り消し]</a>
                         <!--{else}-->
                         <input type="file" name="<!--{$key}-->[<!--{$index}-->]" size="10" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /><br />
-                        <a class="btn-normal" href="javascript:;" name="btn" onclick="fnFormModeSubmit('form1', 'file_upload', 'upload_index', '<!--{$index}-->'); return false;">アップロード</a>
+                        <a class="btn-normal" href="javascript:;" name="btn" onclick="eccube.fnFormModeSubmit('form1', 'file_upload', 'upload_index', '<!--{$index}-->'); return false;">アップロード</a>
                         <!--{/if}-->
                     </td>
@@ -315,5 +315,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">確認ページへ</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">確認ページへ</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/review_edit.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/review_edit.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/review_edit.tpl	(revision 23103)
@@ -104,6 +104,6 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="document.form1.action='./review.php'; fnModeSubmit('search','',''); return false;" ><span class="btn-prev">検索画面に戻る</span></a></li>
-                <li><a class="btn-action" href="javascript:;" onclick="fnModeSubmit('complete','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="document.form1.action='./review.php'; eccube.setModeAndSubmit('search','',''); return false;" ><span class="btn-prev">検索画面に戻る</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.setModeAndSubmit('complete','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/index.tpl	(revision 23103)
@@ -164,5 +164,5 @@
             <div class="btn-area">
                 <ul>
-                    <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
+                    <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
                 </ul>
             </div>
@@ -195,7 +195,7 @@
                 <!--検索結果-->
                 <!--{if $smarty.const.ADMIN_MODE == '1'}-->
-                    <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;">検索結果を全て削除</a>
+                    <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('delete_all','',''); return false;">検索結果を全て削除</a>
                 <!--{/if}-->
-                <a class="btn-tool" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;">CSV ダウンロード</a>
+                <a class="btn-tool" href="javascript:;" onclick="eccube.setModeAndSubmit('csv','',''); return false;">CSV ダウンロード</a>
                 <a class="btn-tool" href="../contents/csv.php?tpl_subno_csv=product">CSV 出力項目設定</a>
             </div>
@@ -268,11 +268,11 @@
                             <!--{assign var=key value=$arrProducts[cnt].status}-->
                             <td class="menu" rowspan="2"><!--{$arrDISP[$key]}--></td>
-                            <td class="menu" rowspan="2"><span class="icon_edit"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >編集</a></span></td>
+                            <td class="menu" rowspan="2"><span class="icon_edit"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="eccube.changeAction('./product.php'); eccube.setModeAndSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >編集</a></span></td>
                             <td class="menu" rowspan="2"><span class="icon_confirm"><a href="<!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProducts[cnt].product_id}-->&amp;admin=on" target="_blank">確認</a></span></td>
                             <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}-->
-                            <td class="menu" rowspan="2"><span class="icon_class"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product_class.php'); fnModeSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >規格</a></span></td>
+                            <td class="menu" rowspan="2"><span class="icon_class"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="eccube.changeAction('./product_class.php'); eccube.setModeAndSubmit('pre_edit', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >規格</a></span></td>
                             <!--{/if}-->
-                            <td class="menu" rowspan="2"><span class="icon_delete"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnSetFormValue('category_id', '<!--{$arrProducts[cnt].category_id}-->'); fnModeSubmit('delete', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;">削除</a></span></td>
-                            <td class="menu" rowspan="2"><span class="icon_copy"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="fnChangeAction('./product.php'); fnModeSubmit('copy', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >複製</a></span></td>
+                            <td class="menu" rowspan="2"><span class="icon_delete"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="eccube.setValue('category_id', '<!--{$arrProducts[cnt].category_id}-->'); eccube.setModeAndSubmit('delete', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;">削除</a></span></td>
+                            <td class="menu" rowspan="2"><span class="icon_copy"><a href="<!--{$smarty.const.ROOT_URLPATH}-->" onclick="eccube.changeAction('./product.php'); eccube.setModeAndSubmit('copy', 'product_id', <!--{$arrProducts[cnt].product_id}-->); return false;" >複製</a></span></td>
                         </tr>
                         <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;">
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/complete.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/complete.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/complete.tpl	(revision 23103)
@@ -46,8 +46,8 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev">検索結果へ戻る</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.changeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); eccube.setModeAndSubmit('search','',''); return false;"><span class="btn-prev">検索結果へ戻る</span></a></li>
                 <li><a class="btn-action" href="./product.php"><span class="btn-next">続けて登録を行う</span></a></li>
                 <!--{if $smarty.const.OPTION_CLASS_REGIST == 1}-->
-                <li><a class="btn-action" href="?" onclick="fnModeSubmit('pre_edit', 'product_id', '<!--{$arrForm.product_id}-->'); return false;"><span class="btn-next">この商品の規格を登録する</span></a></li>
+                <li><a class="btn-action" href="?" onclick="eccube.setModeAndSubmit('pre_edit', 'product_id', '<!--{$arrForm.product_id}-->'); return false;"><span class="btn-next">この商品の規格を登録する</span></a></li>
                 <!--{/if}-->
             </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/category.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/category.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/category.tpl	(revision 23103)
@@ -39,5 +39,5 @@
     <div id="products" class="contents-main">
         <div class="btn">
-            <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;">CSV ダウンロード</a>
+            <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('csv','',''); return false;">CSV ダウンロード</a>
             <a class="btn-normal" href='../contents/csv.php?tpl_subno_csv=category'>CSV 出力項目設定</a>
         </div>
@@ -63,5 +63,5 @@
                     <!--{/if}-->
                     <input type="text" name="category_name" value="<!--{$arrForm.category_name|h}-->" size="30" class="box30" maxlength="<!--{$smarty.const.STEXT_LEN}-->" />
-                    <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('edit','',''); return false;"><span class="btn-next">登録</span></a><span class="attention">&nbsp;（上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
+                    <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('edit','',''); return false;"><span class="btn-next">登録</span></a><span class="attention">&nbsp;（上限<!--{$smarty.const.STEXT_LEN}-->文字）</span>
             </div>
 
@@ -88,5 +88,5 @@
                     <td>
                     <!--{if $arrList[cnt].level != $smarty.const.LEVEL_MAX}-->
-                        <a href="?" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrList[cnt].category_id}-->); return false"><!--{$arrList[cnt].category_name|h}--></a>
+                        <a href="?" onclick="eccube.setModeAndSubmit('tree', 'parent_category_id', <!--{$arrList[cnt].category_id}-->); return false"><!--{$arrList[cnt].category_name|h}--></a>
                     <!--{else}-->
                         <!--{$arrList[cnt].category_name|h}-->
@@ -95,5 +95,5 @@
                     <td class="center">
                         <!--{if $arrForm.category_id != $arrList[cnt].category_id}-->
-                        <a href="?" onclick="fnModeSubmit('pre_edit', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;">編集</a>
+                        <a href="?" onclick="eccube.setModeAndSubmit('pre_edit', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;">編集</a>
                         <!--{else}-->
                         編集中
@@ -101,13 +101,13 @@
                     </td>
                     <td class="center">
-                        <a href="?" onclick="fnModeSubmit('delete', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;">削除</a>
+                        <a href="?" onclick="eccube.setModeAndSubmit('delete', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;">削除</a>
                     </td>
                     <td class="center">
                     <!--{* 移動 *}-->
                     <!--{if $smarty.section.cnt.iteration != 1}-->
-                    <a href="?" onclick="fnModeSubmit('up','category_id', <!--{$arrList[cnt].category_id}-->); return false;">上へ</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('up','category_id', <!--{$arrList[cnt].category_id}-->); return false;">上へ</a>
                     <!--{/if}-->
                     <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
-                    <a href="?" onclick="fnModeSubmit('down','category_id', <!--{$arrList[cnt].category_id}-->); return false;">下へ</a>
+                    <a href="?" onclick="eccube.setModeAndSubmit('down','category_id', <!--{$arrList[cnt].category_id}-->); return false;">下へ</a>
                     <!--{/if}-->
                     </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/products/category_tree_fork.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/products/category_tree_fork.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/products/category_tree_fork.tpl	(revision 23103)
@@ -27,5 +27,5 @@
             <!--{assign var=disp_name value="`$child.category_id`.`$child.category_name`"}-->
             <!--{if $child.level != $smarty.const.LEVEL_MAX}-->
-                <a href="?" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$child.category_id}-->); return false;">
+                <a href="?" onclick="eccube.setModeAndSubmit('tree', 'parent_category_id', <!--{$child.category_id}-->); return false;">
                 <!--{if $arrForm.parent_category_id == $child.category_id}-->
                     <img src="<!--{$TPL_URLPATH}-->img/contents/folder_open.gif" alt="フォルダ" />
Index: /branches/version-2_13_0/data/Smarty/templates/admin/design/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/design/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/design/index.tpl	(revision 23103)
@@ -326,5 +326,5 @@
                 </tr>
             </table>
-            <div class="btn"><a class="btn-normal" href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_bloc','',''); return false;"><span>ブロックを新規入力</span></a></div>
+            <div class="btn"><a class="btn-normal" href="javascript:;" onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form1','new_bloc','',''); return false;"><span>ブロックを新規入力</span></a></div>
         </div>
         <!--{* ▲未使用ブロックここまで *}-->
@@ -334,5 +334,5 @@
                     <li><a class="btn-action" href="javascript:;" name='preview' onclick="doPreview();"><span class="btn-prev">プレビュー</span></a></li>
                 <!--{/if}-->
-                    <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form1','confirm','',''); return false;"><span class="btn-next">登録する</span></a></li>
+                    <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form1','confirm','',''); return false;"><span class="btn-next">登録する</span></a></li>
                 </ul>
             </div>
@@ -342,5 +342,5 @@
         <h2 style="clear: both;">編集可能ページ一覧</h2>
         <div class="btn addnew">
-            <a class="btn-normal" href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form1','new_page','',''); return false;"><span>ページを新規入力</span></a>
+            <a class="btn-normal" href="javascript:;" onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form1','new_page','',''); return false;"><span>ページを新規入力</span></a>
         </div>
         <table class="list">
@@ -366,5 +366,5 @@
                 <td class="center">
                     <!--{if $item.edit_flg == 1}-->
-                        <a href="#" onclick="fnTargetSelf(); fnFormModeSubmit('form1','delete','page_id','<!--{$item.page_id|h}-->'); return false;">削除</a>
+                        <a href="#" onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form1','delete','page_id','<!--{$item.page_id|h}-->'); return false;">削除</a>
                     <!--{/if}-->
                 </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/design/css.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/design/css.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/design/css.tpl	(revision 23103)
@@ -55,5 +55,5 @@
                     <input type="hidden" name="area_row" value="<!--{$area_row}-->" />
                     <div class="btn">
-                        <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="ChangeSize('#resize-btn', '#css', 50, 30); return false;">拡大</a>
+                        <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="eccube.toggleRows('#resize-btn', '#css', 50, 30); return false;">拡大</a>
                     </div>
                 </td>
@@ -62,5 +62,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form_css','confirm','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form_css','confirm','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
             </ul>
         </div>
@@ -86,5 +86,5 @@
                 </td>
                 <td class="center" style="background:<!--{if $item.css_name == $css_name}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;">
-                    <a href="javascript:;" onclick="fnFormModeSubmit('form_css','delete','css_name','<!--{$item.css_name|h}-->'); return false;">削除</a>
+                    <a href="javascript:;" onclick="eccube.fnFormModeSubmit('form_css','delete','css_name','<!--{$item.css_name|h}-->'); return false;">削除</a>
                 </td>
             </tr>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/design/header.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/design/header.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/design/header.tpl	(revision 23103)
@@ -42,10 +42,10 @@
         <textarea id="header-area" class="top" name="header" rows="<!--{$header_row}-->" style="width: 100%;"><!--{"\n"}--><!--{$header_data|h|smarty:nodefaults}--></textarea>
         <div class="btn">
-            <a id="header-area-resize-btn" class="btn-normal" href="javascript:;" onclick="ChangeSize('#header-area-resize-btn', '#header-area', 50, 13); $('input[name=header_row]').val($('#header-area').attr('rows'));return false;"><span>拡大</span></a>
+            <a id="header-area-resize-btn" class="btn-normal" href="javascript:;" onclick="eccube.toggleRows('#header-area-resize-btn', '#header-area', 50, 13); $('input[name=header_row]').val($('#header-area').attr('rows'));return false;"><span>拡大</span></a>
         </div>
 
         <div class="btn-area">
                 <ul>
-                    <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnFormModeSubmit('form_header','regist','',''); return false;"><span class="btn-next">登録する</span></a></li>
+                    <li><a class="btn-action" href="javascript:;" name='subm' onclick="eccube.fnFormModeSubmit('form_header','regist','',''); return false;"><span class="btn-next">登録する</span></a></li>
                 </ul>
         </div>
@@ -65,10 +65,10 @@
         <textarea id="footer-area" class="top" name="footer" rows="<!--{$footer_row}-->" style="width: 100%;"><!--{"\n"}--><!--{$footer_data|h|smarty:nodefaults}--></textarea>
         <div class="btn">
-            <a id="footer-area-resize-btn" class="btn-normal" href="javascript:;" onclick="ChangeSize('#footer-area-resize-btn', '#footer-area', 50, 13); $('input[name=footer_row]').val($('#footer-area').attr('rows'));return false;"><span>拡大</span></a>
+            <a id="footer-area-resize-btn" class="btn-normal" href="javascript:;" onclick="eccube.toggleRows('#footer-area-resize-btn', '#footer-area', 50, 13); $('input[name=footer_row]').val($('#footer-area').attr('rows'));return false;"><span>拡大</span></a>
         </div>
 
         <div class="btn-area">
                 <ul>
-                    <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnFormModeSubmit('form_footer','regist','',''); return false;"><span class="btn-next">登録する</span></a></li>
+                    <li><a class="btn-action" href="javascript:;" name='subm' onclick="eccube.fnFormModeSubmit('form_footer','regist','',''); return false;"><span class="btn-next">登録する</span></a></li>
                 </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/design/main_edit.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/design/main_edit.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/design/main_edit.tpl	(revision 23103)
@@ -84,5 +84,5 @@
                     <textarea id="tpl_data" class="top" name="tpl_data" rows="<!--{$text_row}-->" style="width: 98%;"><!--{"\n"}--><!--{$arrForm.tpl_data.value|h|smarty:nodefaults}--></textarea>
                     <input type="hidden" name="html_area_row" value="<!--{$text_row}-->" /><br />
-                    <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="ChangeSize('#resize-btn', '#tpl_data', 50, 13); return false;"><span>拡大</span></a>
+                    <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="eccube.toggleRows('#resize-btn', '#tpl_data', 50, 13); return false;"><span>拡大</span></a>
                 </div>
             </td>
@@ -132,5 +132,5 @@
     <div class="btn-area">
         <ul>
-            <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form_edit','confirm','',''); return false;"><span class="btn-next">登録する</span></a></li>
+            <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form_edit','confirm','',''); return false;"><span class="btn-next">登録する</span></a></li>
         </ul>
     </div>
@@ -166,5 +166,5 @@
                 <td class="center">
                     <!--{if $item.edit_flg == 1}-->
-                        <a href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form_edit','delete','page_id','<!--{$item.page_id|escape:'javascript'|h}-->'); return false;">削除</a>
+                        <a href="javascript:;" onclick="fnTargetSelf(); eccube.fnFormModeSubmit('form_edit','delete','page_id','<!--{$item.page_id|escape:'javascript'|h}-->'); return false;">削除</a>
                     <!--{/if}-->
                 </td>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/design/template.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/design/template.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/design/template.tpl	(revision 23103)
@@ -72,6 +72,6 @@
                 <td class="left"><!--{$tpl.template_name|h}--></td>
                 <td class="left">data/Smarty/templates/<!--{$tplcode|h}-->/</td>
-                <td><span class="icon_confirm"><a href="javascript:;" onclick="fnFormModeSubmit('form2', 'download','template_code','<!--{$tplcode}-->');return false;">ダウンロード</a></span></td>
-                <td><span class="icon_delete"><a href="javascript:;" onclick="fnFormModeSubmit('form2', 'delete','template_code','<!--{$tplcode}-->');return false;">削除</a></span></td>
+                <td><span class="icon_confirm"><a href="javascript:;" onclick="eccube.fnFormModeSubmit('form2', 'download','template_code','<!--{$tplcode}-->');return false;">ダウンロード</a></span></td>
+                <td><span class="icon_delete"><a href="javascript:;" onclick="eccube.fnFormModeSubmit('form2', 'delete','template_code','<!--{$tplcode}-->');return false;">削除</a></span></td>
             </tr>
             <!--{/foreach}-->
Index: /branches/version-2_13_0/data/Smarty/templates/admin/design/up_down.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/design/up_down.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/design/up_down.tpl	(revision 23103)
@@ -81,5 +81,5 @@
         </table>
         <div class="btn-area">
-            <a class="btn-action" href="javascript:;" onclick="fnModeSubmit('upload', '', '');return false;"><span class="btn-next">この内容で登録する</span></a>
+            <a class="btn-action" href="javascript:;" onclick="eccube.setModeAndSubmit('upload', '', '');return false;"><span class="btn-next">この内容で登録する</span></a>
         </div>
     </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/design/bloc.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/design/bloc.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/design/bloc.tpl	(revision 23103)
@@ -62,5 +62,5 @@
                     <input type="hidden" name="html_area_row" value="<!--{$text_row}-->" />
                     <div>
-                        <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="ChangeSize('#resize-btn', '#bloc_html', 50, 13); return false;">拡大</a>
+                        <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="eccube.toggleRows('#resize-btn', '#bloc_html', 50, 13); return false;">拡大</a>
                     </div>
                 </td>
@@ -69,5 +69,5 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnFormModeSubmit('form_bloc','confirm','',''); return false;"><span class="btn-next">登録する</span></a></li>
+                <li><a class="btn-action" href="javascript:;" name='subm' onclick="eccube.fnFormModeSubmit('form_bloc','confirm','',''); return false;"><span class="btn-next">登録する</span></a></li>
             </ul>
         </div>
@@ -93,5 +93,5 @@
                     <td class="center">
                         <!--{if $item.deletable_flg == 1}-->
-                            <a href="javascript:;" onclick="fnFormModeSubmit('form_bloc','delete','bloc_id',<!--{$item.bloc_id|h}-->);">削除</a>
+                            <a href="javascript:;" onclick="eccube.fnFormModeSubmit('form_bloc','delete','bloc_id',<!--{$item.bloc_id|h}-->);">削除</a>
                             <input type="hidden" value="<!--{$item.bloc_id|h}-->" name="del_id<!--{$item.bloc_id|h}-->" />
                         <!--{/if}-->
Index: /branches/version-2_13_0/data/Smarty/templates/admin/order/mail_confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/order/mail_confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/order/mail_confirm.tpl	(revision 23103)
@@ -59,6 +59,6 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnModeSubmit('return', '', ''); return false;"><span class="btn-prev">前のページへ戻る</span></a></li>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'send', '', ''); return false;"><span class="btn-next">メール送信</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.setModeAndSubmit('return', '', ''); return false;"><span class="btn-prev">前のページへ戻る</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'send', '', ''); return false;"><span class="btn-next">メール送信</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/order/product_select.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/order/product_select.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/order/product_select.tpl	(revision 23103)
@@ -60,9 +60,9 @@
 
         if(!class1_id){
-            err_text = productsClassCategories[product_id]['__unselected2']['#0']['stock_find'] ? '' : '只今品切れ中です';
+            err_text = eccube.productsClassCategories[product_id]['__unselected2']['#0']['stock_find'] ? '' : '只今品切れ中です';
         }else if(class1_id && !class2_id){
-            err_text = productsClassCategories[product_id][class1_id]['#0']['stock_find'] ? '' : '只今品切れ中です';
+            err_text = eccube.productsClassCategories[product_id][class1_id]['#0']['stock_find'] ? '' : '只今品切れ中です';
         }else{
-            err_text = productsClassCategories[product_id][class1_id]['#' + class2_id]['stock_find'] ? '' : '只今品切れ中です';
+            err_text = eccube.productsClassCategories[product_id][class1_id]['#' + class2_id]['stock_find'] ? '' : '只今品切れ中です';
         }
 
@@ -98,5 +98,5 @@
 
                 // 規格2に選択肢を割り当てる
-                classcats = productsClassCategories[product_id][sele1.value];
+                classcats = eccube.productsClassCategories[product_id][sele1.value];
                 i = 0;
                 for (var classcat_id2_key in classcats) {
@@ -117,5 +117,5 @@
         classcat_id1 = form.classcategory_id1.value;
         classcat_id2 = form.classcategory_id2 ? form.classcategory_id2.value : '';
-        classcat2 = productsClassCategories[product_id][classcat_id1]['#' + classcat_id2];
+        classcat2 = eccube.productsClassCategories[product_id][classcat_id1]['#' + classcat_id2];
         // 商品規格
         eleDynamic = document.getElementById('product_class_id' + product_id);
@@ -128,5 +128,5 @@
         } else {
             // 規格が1つのみの場合
-            classcat1 = productsClassCategories[product_id][classcat_id1]['#0'];
+            classcat1 = eccube.productsClassCategories[product_id][classcat_id1]['#0'];
             eleDynamic.value = classcat1.product_class_id;
         }
@@ -165,5 +165,5 @@
     <div class="btn-area">
         <ul>
-            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'search', '', ''); return false;"><span class="btn-next">検索を開始</span></a></li>
+            <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'search', '', ''); return false;"><span class="btn-next">検索を開始</span></a></li>
         </ul>
     </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/order/mail.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/order/mail.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/order/mail.tpl	(revision 23103)
@@ -51,5 +51,5 @@
                 <!--{assign var=key value="`$arrMailHistory[cnt].template_id`"}-->
                 <td><!--{$arrMAILTEMPLATE[$key]|h}--></td>
-                <td><a href="?" onclick="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.win02('./mail_view.php?send_id=<!--{$arrMailHistory[cnt].send_id}-->','mail_view','650','800'); return false;"><!--{$arrMailHistory[cnt].subject|h}--></a></td>
             </tr>
             <!--{/section}-->
@@ -63,5 +63,5 @@
                     <!--{assign var=key value="template_id"}-->
                     <span class="attention"><!--{$arrErr[$key]}--></span>
-                    <select name="template_id" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="fnModeSubmit('change', '', '');">
+                    <select name="template_id" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="eccube.setModeAndSubmit('change', '', '');">
                     <option value="" selected="selected">選択してください</option>
                     <!--{html_options options=$arrMAILTEMPLATE selected=$arrForm[$key].value|h}-->
@@ -99,6 +99,6 @@
         <div class="btn-area">
             <ul>
-                <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev">検索結果へ戻る</span></a></li>
-                <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', '', 'mode', 'confirm'); return false;"><span class="btn-next">送信内容を確認</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.changeAction('<!--{$smarty.const.ADMIN_ORDER_URLPATH}-->'); eccube.setModeAndSubmit('search','',''); return false;"><span class="btn-prev">検索結果へ戻る</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', '', 'mode', 'confirm'); return false;"><span class="btn-next">送信内容を確認</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/order/status.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/order/status.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/order/status.tpl	(revision 23103)
@@ -38,5 +38,5 @@
                     <!--{if $key != $SelectedStatus}-->
                         href="javascript:;"
-                        onclick="document.form1.search_pageno.value='1'; fnModeSubmit('search','status','<!--{$key}-->' ); return false;"
+                        onclick="document.form1.search_pageno.value='1'; eccube.setModeAndSubmit('search','status','<!--{$key}-->' ); return false;"
                     <!--{/if}-->
                 ><!--{$item}--></a>
@@ -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="fnOpenWindow('./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'); 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_0/data/Smarty/templates/admin/order/edit.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/order/edit.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/order/edit.tpl	(revision 23103)
@@ -69,5 +69,5 @@
 
     function fnMultiple() {
-        win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/multiple.php', 'multiple', '600', '500');
+        eccube.win03('<!--{$smarty.const.ROOT_URLPATH}--><!--{$smarty.const.ADMIN_DIR}-->order/multiple.php', 'multiple', '600', '500');
         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="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.win02('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="fnOpenWindow('<!--{$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'); return false;">会員検索</a>
             <!--{/if}-->
         </h2>
@@ -277,5 +277,5 @@
                     -
                     <input type="text" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2]|sfGetErrorColor}-->" size="6" class="box6" />
-                    <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'order_zip01', 'order_zip02', 'order_pref', 'order_addr01'); return false;">住所入力</a><br />
+                    <a class="btn-normal" href="javascript:;" name="address_input" onclick="eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'order_zip01', 'order_zip02', 'order_pref', 'order_addr01'); return false;">住所入力</a><br />
                     <!--{assign var=key value="order_pref"}-->
                     <span class="attention"><!--{$arrErr[$key]}--></span>
@@ -319,7 +319,7 @@
         <h2 id="order_products">
             受注商品情報
-            <a class="btn-normal" href="javascript:;" name="recalculate" onclick="fnModeSubmit('recalculate','anchor_key','order_products');">計算結果の確認</a>
+            <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="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.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>
             <!--{/if}-->
         </h2>
@@ -352,7 +352,7 @@
                     <br />
                     <!--{if $arrForm.shipping_quantity.value <= 1}-->
-                        <a class="btn-normal" href="javascript:;" name="change" onclick="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.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>
                         <!--{if count($arrForm.quantity.value) > 1}-->
-                            <a class="btn-normal" href="javascript:;" name="delete" onclick="fnSetFormVal('form1', 'delete_no', <!--{$product_index}-->); fnSetFormVal('form1', 'select_shipping_id', '<!--{$top_shipping_id}-->'); fnModeSubmit('delete_product','anchor_key','order_products'); return false;">削除</a>
+                            <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>
                         <!--{/if}-->
                     <!--{/if}-->
@@ -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="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.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>
                 <!--{assign var=product_quantity value="shipping_product_quantity"}-->
@@ -517,7 +517,7 @@
                                     <!--{$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="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.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>
                                     <!--{if count($arrForm.quantity.value) > 1}-->
-                                    <a class="btn-normal" href="javascript:;" name="delete" onclick="fnSetFormVal('form1', 'delete_no', <!--{$item_index}-->);fnSetFormVal('form1', 'select_shipping_id', <!--{$shipping_index}-->); fnModeSubmit('delete_product','anchor_key','order_products'); return false;">削除</a>
+                                    <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>
                                     <!--{/if}-->
                                 </td>
@@ -648,5 +648,5 @@
                         -
                         <input type="text" name="<!--{$key2}-->[<!--{$shipping_index}-->]" value="<!--{$arrShipping[$key2]|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" style="<!--{$arrErr[$key2][$shipping_index]|sfGetErrorColor}-->" size="6" class="box6" />
-                        <a class="btn-normal" href="javascript:;" name="address_input" onclick="fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'shipping_zip01[<!--{$shipping_index}-->]', 'shipping_zip02[<!--{$shipping_index}-->]', 'shipping_pref[<!--{$shipping_index}-->]', 'shipping_addr01[<!--{$shipping_index}-->]'); return false;">住所入力</a><br />
+                        <a class="btn-normal" href="javascript:;" name="address_input" onclick="eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'shipping_zip01[<!--{$shipping_index}-->]', 'shipping_zip02[<!--{$shipping_index}-->]', 'shipping_pref[<!--{$shipping_index}-->]', 'shipping_addr01[<!--{$shipping_index}-->]'); return false;">住所入力</a><br />
                         <!--{assign var=key value="shipping_pref"}-->
                         <span class="attention"><!--{$arrErr[$key][$shipping_index]}--></span>
@@ -706,5 +706,5 @@
                     <!--{assign var=key value="deliv_id"}-->
                     <span class="attention"><!--{$arrErr[$key]}--></span>
-                    <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="fnModeSubmit('deliv','anchor_key','deliv');">
+                    <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="eccube.setModeAndSubmit('deliv','anchor_key','deliv');">
                         <option value="" selected="">選択してください</option>
                         <!--{html_options options=$arrDeliv selected=$arrForm[$key].value}-->
@@ -717,5 +717,5 @@
                     <!--{assign var=key value="payment_id"}-->
                     <span class="attention"><!--{$arrErr[$key]}--></span>
-                    <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="fnModeSubmit('payment','anchor_key','deliv');">
+                    <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onchange="eccube.setModeAndSubmit('payment','anchor_key','deliv');">
                         <option value="" selected="">選択してください</option>
                         <!--{html_options options=$arrPayment selected=$arrForm[$key].value}-->
@@ -749,5 +749,5 @@
             <ul>
                 <!--{if count($arrSearchHidden) > 0}-->
-                <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev">検索画面に戻る</span></a></li>
+                <li><a class="btn-action" href="javascript:;" onclick="eccube.changeAction('<!--{$smarty.const.ADMIN_ORDER_URLPATH}-->'); eccube.setModeAndSubmit('search','',''); return false;"><span class="btn-prev">検索画面に戻る</span></a></li>
                 <!--{/if}-->
                 <li><a class="btn-action" href="javascript:;" onclick="return fnFormConfirm(); return false;"><span class="btn-next">この内容で登録する</span></a></li>
Index: /branches/version-2_13_0/data/Smarty/templates/admin/order/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/order/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/order/index.tpl	(revision 23103)
@@ -58,5 +58,5 @@
     function fnOpenPdfSettingPage(action){
         var fm = document.form1;
-        win02("about:blank", "pdf_input", "620","650");
+        eccube.win02("about:blank", "pdf_input", "620","650");
 
         // 退避
@@ -308,5 +308,5 @@
             <div class="btn-area">
                 <ul>
-                    <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
+                    <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
                 </ul>
             </div>
@@ -335,7 +335,7 @@
                 <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。
                 <!--{if $smarty.const.ADMIN_MODE == '1'}-->
-                <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete_all','',''); return false;"><span>検索結果を全て削除</span></a>
+                <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('delete_all','',''); return false;"><span>検索結果を全て削除</span></a>
                 <!--{/if}-->
-                <a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('csv','',''); return false;">CSV ダウンロード</a>
+                <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('csv','',''); return false;">CSV ダウンロード</a>
                 <a class="btn-normal" href="../contents/csv.php?tpl_subno_csv=order">CSV 出力項目設定</a>
                 <a class="btn-normal" href="javascript:;" onclick="fnSelectCheckSubmit('pdf.php'); return false;"><span>PDF一括出力</span></a>
@@ -391,14 +391,14 @@
                                 <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="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.win02('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="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_EDIT_URLPATH}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_edit">編集</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>
                                 <td class="center">
                                     <!--{if $arrResults[cnt].order_email|strlen >= 1}-->
                                         <input type="checkbox" name="mail_order_id[]" value="<!--{$arrResults[cnt].order_id}-->" id="mail_order_id_<!--{$arrResults[cnt].order_id}-->"/><label for="mail_order_id_<!--{$arrResults[cnt].order_id}-->">一括通知</label><br />
-                                        <a href="?" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_ORDER_MAIL_URLPATH}-->'); fnModeSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail">個別通知</span></a>
+                                        <a href="?" onclick="eccube.changeAction('<!--{$smarty.const.ADMIN_ORDER_MAIL_URLPATH}-->'); eccube.setModeAndSubmit('pre_edit', 'order_id', '<!--{$arrResults[cnt].order_id}-->'); return false;"><span class="icon_mail">個別通知</span></a>
                                     <!--{/if}-->
                                 </td>
-                                <td class="center"><a href="?" onclick="fnModeSubmit('delete', 'order_id', <!--{$arrResults[cnt].order_id}-->); return false;"><span class="icon_delete">削除</span></a></td>
+                                <td class="center"><a href="?" onclick="eccube.setModeAndSubmit('delete', 'order_id', <!--{$arrResults[cnt].order_id}-->); return false;"><span class="icon_delete">削除</span></a></td>
                             </tr>
                         <!--{/section}-->
Index: /branches/version-2_13_0/data/Smarty/templates/admin/order/pdf_input.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/admin/order/pdf_input.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/admin/order/pdf_input.tpl	(revision 23103)
@@ -30,5 +30,5 @@
 
 function lfPopwinSubmit(formName) {
-    win02('about:blank','pdf','1000','900');
+    eccube.win02('about:blank','pdf','1000','900');
     document[formName].target = "pdf";
     document[formName].submit();
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/mypage/delivery.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/mypage/delivery.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/mypage/delivery.tpl	(revision 23103)
@@ -64,6 +64,6 @@
 
                             <ul class="edit">
-                                <li><a href="#" onClick="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="fnModeSubmit('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>
+                                <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.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>
                         </div>
@@ -135,7 +135,7 @@
                         $($(".delivBox span.name02").get(maxCnt)).text(delivery.name02);
                         //編集ボタンをセット
-                        $($(".delivBox a.deliv_edit").get(maxCnt)).attr("onClick", "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.win02('./delivery_addr.php?other_deliv_id=" + delivery.other_deliv_id + "','deliv_disp','600','640'); return false;");
                         //削除ボタンをセット
-                        $($(".delivBox a.deliv_delete").get(maxCnt)).attr("onClick", "fnModeSubmit('delete','other_deliv_id','" + delivery.other_deliv_id + "'); return false;");
+                        $($(".delivBox a.deliv_delete").get(maxCnt)).attr("onClick", "eccube.setModeAndSubmit('delete','other_deliv_id','" + delivery.other_deliv_id + "'); return false;");
                         count++;
                     }
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/mypage/favorite.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/mypage/favorite.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/mypage/favorite.tpl	(revision 23103)
@@ -63,5 +63,5 @@
                                     <!--{$arrFavorite[cnt].price02_min_inctax|number_format}-->～<!--{$arrFavorite[cnt].price02_max_inctax|number_format}-->
                                     <!--{/if}-->円</span></p>
-                                <p class="btn_delete"><img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" width="21" height="20" alt="削除" onclick="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');" class="pointer" /></p>
+                                <p class="btn_delete"><img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" width="21" height="20" alt="削除" onclick="javascript:eccube.setModeAndSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');" class="pointer" /></p>
                             </div>
                         </div><!--▲商品 -->
@@ -158,5 +158,5 @@
 
                         //削除ボタンをセット
-                        $($(".favoriteBox p.btn_delete img").get(maxCnt)).attr("onclick", "javascript:fnModeSubmit('delete_favorite','product_id','" + product.product_id + "');");
+                        $($(".favoriteBox p.btn_delete img").get(maxCnt)).attr("onclick", "javascript:eccube.setModeAndSubmit('delete_favorite','product_id','" + product.product_id + "');");
 
                     }
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/mypage/change_confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/mypage/change_confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/mypage/change_confirm.tpl	(revision 23103)
@@ -112,5 +112,5 @@
             <ul class="btn_btm">
                 <li><input type="submit" value="完了ページへ" class="btn data-role-none" name="complete" id="complete" /></li>
-                <li><a class="btn_back" href="Javascript:fnModeSubmit('return', '', '');" rel="external">戻る</a></li>
+                <li><a class="btn_back" href="Javascript:eccube.setModeAndSubmit('return', '', '');" rel="external">戻る</a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/index.tpl	(revision 23103)
@@ -23,5 +23,5 @@
 <script>
     function ajaxLogin() {
-        var checkLogin = fnCheckLogin('member_form');
+        var checkLogin = eccube.checkLoginFormInputted('member_form');
 
         if (checkLogin == false) {
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/multiple.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/multiple.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/multiple.tpl	(revision 23103)
@@ -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="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.win02('<!--{$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_0/data/Smarty/templates/sphone/shopping/payment.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/payment.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/payment.tpl	(revision 23103)
@@ -242,5 +242,5 @@
                             <div class="innerBox fb">
                                 <p>
-                                    <input type="radio" id="point_on" name="point_check" value="1" <!--{$arrForm.point_check.value|sfGetChecked:1}--> onchange="fnCheckInputPoint();" class="data-role-none" />
+                                    <input type="radio" id="point_on" name="point_check" value="1" <!--{$arrForm.point_check.value|sfGetChecked:1}--> onchange="eccube.togglePointForm();" class="data-role-none" />
                                     <label for="point_on">ポイントを使用する</label>
                                 </p>
@@ -249,5 +249,5 @@
                             </div>
                         <div class="innerBox fb">
-                            <input type="radio" id="point_off" name="point_check" value="2" <!--{$arrForm.point_check.value|sfGetChecked:2}--> onchange="fnCheckInputPoint();" class="data-role-none" />
+                            <input type="radio" id="point_off" name="point_check" value="2" <!--{$arrForm.point_check.value|sfGetChecked:2}--> onchange="eccube.togglePointForm();" class="data-role-none" />
                             <label for="point_off">ポイントを使用しない</label>
                         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/nonmember_input.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/nonmember_input.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/nonmember_input.tpl	(revision 23103)
@@ -104,5 +104,5 @@
                 </p>
 
-                <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'order_zip01', 'order_zip02', 'order_pref', 'order_addr01');" class="btn_sub btn_inputzip">郵便番号から住所自動入力</a>
+                <a href="javascript:eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'order_zip01', 'order_zip02', 'order_pref', 'order_addr01');" class="btn_sub btn_inputzip">郵便番号から住所自動入力</a>
             </dd>
 
@@ -231,5 +231,5 @@
             <dt class="bg_head">
                 <!--{assign var=key value="deliv_check"}-->
-                <input class="radio_btn data-role-none" type="checkbox" name="<!--{$key}-->" value="1" onchange="fnDelivToggle($('#add_deliv_area')); fnCheckInputDeliv();" <!--{$arrForm[$key].value|sfGetChecked:1}--> id="deliv_label" />
+                <input class="radio_btn data-role-none" type="checkbox" name="<!--{$key}-->" value="1" onchange="fnDelivToggle($('#add_deliv_area')); eccube.toggleDeliveryForm();" <!--{$arrForm[$key].value|sfGetChecked:1}--> id="deliv_label" />
                 <label for="deliv_label"><span class="fb">お届け先を指定</span></label>
             </dt>
@@ -290,5 +290,5 @@
                     </p>
 
-                    <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'shipping_zip01', 'shipping_zip02', 'shipping_pref', 'shipping_addr01');" class="btn_sub btn_inputzip">郵便番号から住所自動入力</a>
+                    <a href="javascript:eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', 'shipping_zip01', 'shipping_zip02', 'shipping_pref', 'shipping_addr01');" class="btn_sub btn_inputzip">郵便番号から住所自動入力</a>
                 </dd>
 
@@ -341,5 +341,5 @@
                 <!--{if $smarty.const.USE_MULTIPLE_SHIPPING !== false}-->
                     <dd class="pb">
-                        <a class="btn_more" href="javascript:fnModeSubmit('multiple', '', '');">お届け先を複数指定する</a>
+                        <a class="btn_more" href="javascript:eccube.setModeAndSubmit('multiple', '', '');">お届け先を複数指定する</a>
                     </dd>
                 <!--{/if}-->
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/deliv.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/deliv.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/shopping/deliv.tpl	(revision 23103)
@@ -46,5 +46,5 @@
                 <div class="bubbleBox">
                     <div class="bubble_announce clearfix">
-                        <p class="fb"><a rel="external" href="javascript:fnModeSubmit('multiple', '', '');">複数のお届け先に送りますか？</a></p>
+                        <p class="fb"><a rel="external" href="javascript:eccube.setModeAndSubmit('multiple', '', '');">複数のお届け先に送りますか？</a></p>
                     </div>
                     <div class="bubble_arrow_line"><!--矢印空タグ --></div>
@@ -70,6 +70,6 @@
                                 </p>
                                 <ul class="edit">
-                                    <li><a rel="external" href="javascript:void(0);" onclick="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><img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" width="21" height="20" alt="削除" onclick="fnModeSubmit('delete', 'other_deliv_id', '<!--{$arrAddr[cnt].other_deliv_id}-->');" /></li>
+                                    <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><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>
                             </dt>
@@ -85,5 +85,5 @@
                 <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
                     <div class="inner">
-                        <a rel="external" href="javascript:void(0);" onclick="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.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>
                     </div>
                 <!--{/if}-->
@@ -91,5 +91,5 @@
 
             <ul class="btn_btm">
-                <li><a rel="external" href="javascript:fnModeSubmit('customer_addr','','');" class="btn">選択したお届け先に送る</a></li>
+                <li><a rel="external" href="javascript:eccube.setModeAndSubmit('customer_addr','','');" class="btn">選択したお届け先に送る</a></li>
                 <li><a rel="external" href="<!--{$smarty.const.CART_URLPATH}-->" class="btn_back">戻る</a></li>
             </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/cart/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/cart/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/cart/index.tpl	(revision 23103)
@@ -120,10 +120,10 @@
                                             </p>
                                             <p class="btn_delete">
-                                                <img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" onClick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$arrItem.cart_no}-->');" class="pointer" width="21" height="20" alt="削除" /></p>
+                                                <img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" onClick="eccube.fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$arrItem.cart_no}-->');" class="pointer" width="21" height="20" alt="削除" /></p>
                                         </div>
                                         <ul>
                                             <li class="quantity"><span class="mini">数量:</span><!--{$arrItem.quantity|number_format}--></li>
-                                            <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.png" width="22" height="21" alt="＋" onclick="fnFormModeSubmit('form<!--{$key}-->', 'up','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li>
-                                            <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" width="22" height="21" alt="-" onclick="fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li>
+                                            <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.png" width="22" height="21" alt="＋" onclick="eccube.fnFormModeSubmit('form<!--{$key}-->', 'up','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li>
+                                            <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" width="22" height="21" alt="-" onclick="eccube.fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li>
                                             <li class="result"><span class="mini">小計：</span><!--{$arrItem.total_inctax|number_format}-->円</li>
                                         </ul>
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/contact/index.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/contact/index.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/contact/index.tpl	(revision 23103)
@@ -86,5 +86,5 @@
                 </p>
 
-                <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->');" class="btn_sub btn_inputzip" rel="external">郵便番号から住所自動入力</a>
+                <a href="javascript:eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->');" class="btn_sub btn_inputzip" rel="external">郵便番号から住所自動入力</a>
             </dd>
 
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/contact/confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/contact/confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/contact/confirm.tpl	(revision 23103)
@@ -70,5 +70,5 @@
             <ul class="btn_btm">
                 <li><input type="submit" value="送信" class="btn data-role-none" name="send" id="send" /></li>
-                <li><a class="btn_back" href="?" onClick="fnModeSubmit('return', '', ''); return false;">戻る</a></li>
+                <li><a class="btn_back" href="?" onClick="eccube.setModeAndSubmit('return', '', ''); return false;">戻る</a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/entry/confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/entry/confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/entry/confirm.tpl	(revision 23103)
@@ -111,5 +111,5 @@
             <ul class="btn_btm">
                 <li><input type="submit" value="完了ページへ" class="btn data-role-none" name="send" id="send" /></li>
-                <li><a href="#" onclick="fnModeSubmit('return', '', ''); return false;" class="btn_back">戻る</a></li>
+                <li><a href="#" onclick="eccube.setModeAndSubmit('return', '', ''); return false;" class="btn_back">戻る</a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/frontparts/bloc/login_footer.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/frontparts/bloc/login_footer.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/frontparts/bloc/login_footer.tpl	(revision 23103)
@@ -23,5 +23,5 @@
 <section class="footer_status_area">
     <!--{if $tpl_login}-->
-        <form name="login_form_footer" id="login_form_footer" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_form_footer')">
+        <form name="login_form_footer" id="login_form_footer" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return eccube.checkLoginFormInputted('login_form_footer')">
             <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="mode" value="logout" />
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/frontparts/bloc/login.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/frontparts/bloc/login.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/frontparts/bloc/login.tpl	(revision 23103)
@@ -37,5 +37,5 @@
 </nav>
 
-<form name="login_form_bloc" id="login_form_bloc" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return fnCheckLogin('login_form_bloc')">
+<form name="login_form_bloc" id="login_form_bloc" method="post" action="<!--{$smarty.const.HTTPS_URL}-->frontparts/login_check.php" onsubmit="return eccube.checkLoginFormInputted('login_form_bloc')">
     <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
     <input type="hidden" name="mode" value="logout" />
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/frontparts/form_personal_input.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/frontparts/form_personal_input.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/frontparts/form_personal_input.tpl	(revision 23103)
@@ -56,5 +56,5 @@
     <p><input type="tel" name="<!--{$key1}-->" value="<!--{$arrForm[$key1].value|h}-->" maxlength="<!--{$arrForm[$key1].length}-->" class="boxShort text data-role-none" />&nbsp;－&nbsp;<input type="tel" name="<!--{$key2}-->" value="<!--{$arrForm[$key2].value|h}-->" maxlength="<!--{$arrForm[$key2].length}-->" class="boxShort text data-role-none" />&nbsp;&nbsp;<a href="http://search.post.japanpost.jp/zipcode/" target="_blank" rel="external"><span class="fn">郵便番号検索</span></a></p>
 
-    <a href="javascript:fnCallAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->');" class="btn_sub btn_inputzip">郵便番号から住所自動入力</a>
+    <a href="javascript:eccube.getAddress('<!--{$smarty.const.INPUT_ZIP_URLPATH}-->', '<!--{$key1}-->', '<!--{$key2}-->', '<!--{$key3}-->', '<!--{$key4}-->');" class="btn_sub btn_inputzip">郵便番号から住所自動入力</a>
 </dd>
 
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/products/review_confirm.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/products/review_confirm.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/products/review_confirm.tpl	(revision 23103)
@@ -66,5 +66,5 @@
             <ul class="btn_btm">
                 <li><input type="submit" value="完了ページへ" class="btn data-role-none" name="complete" id="complete" /></li>
-                <li><a class="btn_back" href="Javascript:fnModeSubmit('return', '', '');" rel="external">戻る</a></li>
+                <li><a class="btn_back" href="Javascript:eccube.setModeAndSubmit('return', '', '');" rel="external">戻る</a></li>
             </ul>
         </div>
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/products/detail.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/products/detail.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/products/detail.tpl	(revision 23103)
@@ -29,5 +29,5 @@
         var $sele1 = $form.find('select[name=classcategory_id1]');
         var $sele2 = $form.find('select[name=classcategory_id2]');
-        setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);
+        eccube.setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);
     }
     $(function(){
@@ -302,5 +302,5 @@
                     <!--{if !$is_favorite}-->
                         <div class="btn_favorite">
-                            <p><a rel="external" href="javascript:void(0);" onclick="fnAddFavoriteSphone(<!--{$arrProduct.product_id|h}-->); return false;" class="btn_sub">お気に入りに追加</a></p>
+                            <p><a rel="external" href="javascript:void(0);" onclick="eccube.addFavoriteSphone(<!--{$arrProduct.product_id|h}-->); return false;" class="btn_sub">お気に入りに追加</a></p>
                         </div>
                     <!--{else}-->
Index: /branches/version-2_13_0/data/Smarty/templates/sphone/products/list.tpl
===================================================================
--- /branches/version-2_13_0/data/Smarty/templates/sphone/products/list.tpl	(revision 23071)
+++ /branches/version-2_13_0/data/Smarty/templates/sphone/products/list.tpl	(revision 23103)
@@ -24,13 +24,13 @@
     // 並び順を変更
     function fnChangeOrderby(orderby) {
-        fnSetVal('orderby', orderby);
-        fnSetVal('pageno', 1);
-        fnSubmit();
+        eccube.setValue('orderby', orderby);
+        eccube.setValue('pageno', 1);
+        eccube.submitForm();
     }
     // 表示件数を変更
     function fnChangeDispNumber(dispNumber) {
-        fnSetVal('disp_number', dispNumber);
-        fnSetVal('pageno', 1);
-        fnSubmit();
+        eccube.setValue('disp_number', dispNumber);
+        eccube.setValue('pageno', 1);
+        eccube.submitForm();
     }
 //]]></script>
