Index: /branches/version-2_13-dev/html/js/eccube.js
===================================================================
--- /branches/version-2_13-dev/html/js/eccube.js	(revision 23063)
+++ /branches/version-2_13-dev/html/js/eccube.js	(revision 23064)
@@ -21,160 +21,4 @@
  */
 
-// ページナビで使用する。
-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
-        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 = [];
-
-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 = [];
-
-    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;
-    }
-}
-
-start_time = new Date();
-
-//親ウィンドウのページを変更する.
-function fnUpdateParent(url) {
-    // 親ウィンドウの存在確認
-    if(eccube.common.isOpener()) {
-        window.opener.location.href = url;
-    } else {
-        window.close();
-    }
-}
-
-//文字数をカウントする。
-//引数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選択時
@@ -512,4 +356,168 @@
     };
 
+    // ページナビで使用する。
+    common.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();
+    };
+
+    common.submitForm = function(form){
+        if (typeof form !== 'undefined') {
+            form = 'form1';
+        }
+        document.forms[form].submit();
+    }
+
+    // ポイント入力制限。
+    common.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;
+                }
+            }
+        }
+    }
+
+    // 別のお届け先入力制限。
+    common.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.common.changeDisabled(list, '#dddddd');
+            } else {
+                eccube.common.changeDisabled(list, '');
+            }
+        }
+    };
+
+    // 最初に設定されていた色を保存しておく。
+    common.savedColor = [];
+
+    common.changeDisabled = function(list, color) {
+        var 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 = eccube.common.savedColor[list[i]];
+                } else {
+                    // 無効にする。
+                    document.form1[list[i]].disabled = true;
+                    eccube.common.savedColor[list[i]] = document.form1[list[i]].style.backgroundColor;
+                    document.form1[list[i]].style.backgroundColor = color;//"#f0f0f0";
+                }
+            }
+        }
+    };
+
+    // ログイン時の入力チェック
+    common.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;
+        }
+    };
+
+    //親ウィンドウのページを変更する.
+    common.changeParentUrl = function(url) {
+        // 親ウィンドウの存在確認
+        if(eccube.common.isOpener()) {
+            window.opener.location.href = url;
+        } else {
+            window.close();
+        }
+    };
+
+    //文字数をカウントする。
+    //引数1：フォーム名称
+    //引数2：文字数カウント対象
+    //引数3：カウント結果格納対象
+    common.countChars = function(form,sch,cnt) {
+        document.forms[form][cnt].value= document.forms[form][sch].value.length;
+    };
+
+    // テキストエリアのサイズを変更する.
+    common.toggleRows = function(buttonSelector, textAreaSelector, max, min) {
+        if ($(textAreaSelector).attr('rows') <= min) {
+            $(textAreaSelector).attr('rows', max);
+            $(buttonSelector).text('縮小');
+        } else {
+            $(textAreaSelector).attr('rows', min);
+            $(buttonSelector).text('拡大');
+        }
+    };
+
     // 名前空間の重複を防ぐ
     if (window.eccube === undefined) {
Index: /branches/version-2_13-dev/html/user_data/packages/admin/js/admin.js
===================================================================
--- /branches/version-2_13-dev/html/user_data/packages/admin/js/admin.js	(revision 23063)
+++ /branches/version-2_13-dev/html/user_data/packages/admin/js/admin.js	(revision 23064)
@@ -20,14 +20,4 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
-
-//親ウィンドウのページを変更する。
-function fnUpdateParent(url) {
-    // 親ウィンドウの存在確認
-    if(eccube.common.isOpener()) {
-        window.opener.location.href = url;
-    } else {
-        window.close();
-    }
-}
 
 // 親ウィンドウをポストさせる。
@@ -198,8 +188,8 @@
             );
         if(document.form1['stock_unlimited'].checked) {
-            fnChangeDisabled(list, icolor);
+            eccube.common.changeDisabled(list, icolor);
             document.form1['stock'].value = "";
         } else {
-            fnChangeDisabled(list, '');
+            eccube.common.changeDisabled(list, '');
         }
     }
@@ -330,9 +320,9 @@
             );
         if(document.form1[elem2].checked) {
-            fnChangeDisabled(list, icolor);
+            eccube.common.changeDisabled(list, icolor);
             document.form1[elem1].value = "";
         } else {
-            fnChangeDisabled(list, '');
-        }
-    }
-}
+            eccube.common.changeDisabled(list, '');
+        }
+    }
+}
Index: /branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_List.php
===================================================================
--- /branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_List.php	(revision 23055)
+++ /branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_List.php	(revision 23064)
@@ -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.common.movePage', NAVI_PMAX, $urlParam, SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE);
         $this->arrProducts  = $this->lfGetProductsList($arrSearchCondition, $this->disp_number, $this->objNavi->start_row, $objProduct);
 
Index: /branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php
===================================================================
--- /branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php	(revision 23057)
+++ /branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php	(revision 23064)
@@ -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.common.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.common.changeParentUrl('". $this->getLocation($_POST['ParentPage']) ."'); window.close();";
                     } else {
                         SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR);
Index: /branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php
===================================================================
--- /branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php	(revision 23038)
+++ /branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage_Favorite.php	(revision 23064)
@@ -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.common.movePage', NAVI_PMAX);
         $this->tpl_strnavi = $objNavi->strnavi; // 表示文字列
         $startno        = $objNavi->start_row;
Index: /branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage.php
===================================================================
--- /branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage.php	(revision 23055)
+++ /branches/version-2_13-dev/data/class/pages/mypage/LC_Page_Mypage.php	(revision 23064)
@@ -86,5 +86,5 @@
                                             $this->lfGetOrderHistory($customer_id),
                                             SEARCH_PMAX,
-                                            'fnNaviPage',
+                                            'eccube.common.movePage',
                                             NAVI_PMAX,
                                             'pageno=#page#',
Index: /branches/version-2_13-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php
===================================================================
--- /branches/version-2_13-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php	(revision 23055)
+++ /branches/version-2_13-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php	(revision 23064)
@@ -47,5 +47,5 @@
     {
         parent::init();
-        $this->tpl_onload = 'fnCheckInputPoint();';
+        $this->tpl_onload = 'eccube.common.togglePointForm();';
         $this->tpl_title = 'お支払方法・お届け時間等の指定';
         $masterData = new SC_DB_MasterData_Ex();
Index: /branches/version-2_13-dev/data/class/pages/shopping/LC_Page_Shopping.php
===================================================================
--- /branches/version-2_13-dev/data/class/pages/shopping/LC_Page_Shopping.php	(revision 23055)
+++ /branches/version-2_13-dev/data/class/pages/shopping/LC_Page_Shopping.php	(revision 23064)
@@ -47,5 +47,5 @@
         $this->arrSex = $masterData->getMasterData('mtb_sex');
         $this->arrJob = $masterData->getMasterData('mtb_job');
-        $this->tpl_onload = 'fnCheckInputDeliv();';
+        $this->tpl_onload = 'eccube.common.toggleDeliveryForm();';
 
         $objDate = new SC_Date_Ex(BIRTH_YEAR, date('Y',strtotime('now')));
Index: /branches/version-2_13-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php
===================================================================
--- /branches/version-2_13-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php	(revision 22926)
+++ /branches/version-2_13-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php	(revision 23064)
@@ -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.common.movePage', NAVI_PMAX);
         $startno = $objNavi->start_row;
         $this->tpl_start_row = $objNavi->start_row;
Index: /branches/version-2_13-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php
===================================================================
--- /branches/version-2_13-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php	(revision 22926)
+++ /branches/version-2_13-dev/data/class/pages/admin/system/LC_Page_Admin_System_Input.php	(revision 23064)
@@ -92,5 +92,5 @@
                     // 親ウィンドウを更新後、自ウィンドウを閉じる。
                     $url = ADMIN_SYSTEM_URLPATH . '?pageno=' . $this->arrForm['pageno'];
-                    $this->tpl_onload = "fnUpdateParent('".$url."'); window.close();";
+                    $this->tpl_onload = "eccube.common.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.common.changeParentUrl('".$url."'); window.close();";
                 } else {
                     // 入力された値を保持する
Index: /branches/version-2_13-dev/data/class/SC_PageNavi.php
===================================================================
--- /branches/version-2_13-dev/data/class/SC_PageNavi.php	(revision 22856)
+++ /branches/version-2_13-dev/data/class/SC_PageNavi.php	(revision 23064)
@@ -28,10 +28,15 @@
         $objPage->tpl_pageno = $_POST['pageno'];
     ・$func_nameに指定するJavaScriptの例
-        // ページナビで使用する
-        function fnNaviPage(pageno)
-        {
-            document.form1['pageno'].value = pageno;
-            document.form1.submit();
-        }
+        // ページナビで使用する。
+        eccube.common.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-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login.tpl	(revision 23064)
@@ -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.common.checkLoginFormInputted('login_form')">
                 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
                 <input type="hidden" name="mode" value="login" />
Index: /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login_header.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login_header.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/frontparts/bloc/login_header.tpl	(revision 23064)
@@ -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.common.checkLoginFormInputted('header_login_form')">
                 <input type="hidden" name="mode" value="login" />
                 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
Index: /branches/version-2_13-dev/data/Smarty/templates/default/products/list.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/products/list.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/products/list.tpl	(revision 23064)
@@ -33,5 +33,5 @@
         eccube.common.setValue('orderby', orderby);
         eccube.common.setValue('pageno', 1);
-        fnSubmit();
+        eccube.common.submitForm();
     }
     // 表示件数を変更
@@ -39,5 +39,5 @@
         eccube.common.setValue('disp_number', dispNumber);
         eccube.common.setValue('pageno', 1);
-        fnSubmit();
+        eccube.common.submitForm();
     }
     // カゴに入れる
Index: /branches/version-2_13-dev/data/Smarty/templates/default/mypage/login.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/mypage/login.tpl	(revision 23062)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/mypage/login.tpl	(revision 23064)
@@ -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.common.checkLoginFormInputted('login_mypage')">
             <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="mode" value="login" />
Index: /branches/version-2_13-dev/data/Smarty/templates/default/shopping/nonmember_input.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/shopping/nonmember_input.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/shopping/nonmember_input.tpl	(revision 23064)
@@ -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.common.toggleDeliveryForm();" <!--{$arrForm[$key].value|sfGetChecked:1}--> id="deliv_label" />
                     <label for="deliv_label"><span class="attention">お届け先を指定</span>　※上記に入力された住所と同一の場合は省略可能です。</label>
                     </th>
Index: /branches/version-2_13-dev/data/Smarty/templates/default/shopping/index.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/shopping/index.tpl	(revision 23062)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/shopping/index.tpl	(revision 23064)
@@ -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.common.checkLoginFormInputted('member_form')">
             <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
             <input type="hidden" name="mode" value="login" />
Index: /branches/version-2_13-dev/data/Smarty/templates/default/shopping/payment.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/default/shopping/payment.tpl	(revision 23062)
+++ /branches/version-2_13-dev/data/Smarty/templates/default/shopping/payment.tpl	(revision 23064)
@@ -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.common.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.common.togglePointForm();" /><label for="point_off">ポイントを使用しない</label></li>
                             </ul>
                     </div>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/basis/index.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/basis/index.tpl	(revision 23062)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/basis/index.tpl	(revision 23064)
@@ -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.common.submitForm(); return false;"><span class="btn-next">確認ページへ</span></a></li>
             </ul>
         </div>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/basis/confirm.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/basis/confirm.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/basis/confirm.tpl	(revision 23064)
@@ -162,5 +162,5 @@
         <ul>
             <li><a class="btn-action" href="javascript:;" onclick="eccube.common.setModeAndSubmit('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.common.submitForm(); return false;"><span class="btn-next">この内容で登録する</span></a></li>
         </ul>
     </div>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/basis/mail.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/basis/mail.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/basis/mail.tpl	(revision 23064)
@@ -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.common.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.common.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" />
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/design/bloc.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/design/bloc.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/design/bloc.tpl	(revision 23064)
@@ -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.common.toggleRows('#resize-btn', '#bloc_html', 50, 13); return false;">拡大</a>
                     </div>
                 </td>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/design/css.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/design/css.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/design/css.tpl	(revision 23064)
@@ -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.common.toggleRows('#resize-btn', '#css', 50, 30); return false;">拡大</a>
                     </div>
                 </td>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/design/header.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/design/header.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/design/header.tpl	(revision 23064)
@@ -42,5 +42,5 @@
         <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.common.toggleRows('#header-area-resize-btn', '#header-area', 50, 13); $('input[name=header_row]').val($('#header-area').attr('rows'));return false;"><span>拡大</span></a>
         </div>
 
@@ -65,5 +65,5 @@
         <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.common.toggleRows('#footer-area-resize-btn', '#footer-area', 50, 13); $('input[name=footer_row]').val($('#footer-area').attr('rows'));return false;"><span>拡大</span></a>
         </div>
 
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/design/main_edit.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/design/main_edit.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/design/main_edit.tpl	(revision 23064)
@@ -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.common.toggleRows('#resize-btn', '#tpl_data', 50, 13); return false;"><span>拡大</span></a>
                 </div>
             </td>
Index: /branches/version-2_13-dev/data/Smarty/templates/admin/mail/template_input.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/admin/mail/template_input.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/admin/mail/template_input.tpl	(revision 23064)
@@ -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.common.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>
Index: /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/payment.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/payment.tpl	(revision 23002)
+++ /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/payment.tpl	(revision 23064)
@@ -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.common.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.common.togglePointForm();" class="data-role-none" />
                             <label for="point_off">ポイントを使用しない</label>
                         </div>
Index: /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl	(revision 23064)
@@ -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.common.toggleDeliveryForm();" <!--{$arrForm[$key].value|sfGetChecked:1}--> id="deliv_label" />
                 <label for="deliv_label"><span class="fb">お届け先を指定</span></label>
             </dt>
Index: /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/index.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/index.tpl	(revision 23002)
+++ /branches/version-2_13-dev/data/Smarty/templates/sphone/shopping/index.tpl	(revision 23064)
@@ -23,5 +23,5 @@
 <script>
     function ajaxLogin() {
-        var checkLogin = fnCheckLogin('member_form');
+        var checkLogin = eccube.common.checkLoginFormInputted('member_form');
 
         if (checkLogin == false) {
Index: /branches/version-2_13-dev/data/Smarty/templates/sphone/frontparts/bloc/login.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/sphone/frontparts/bloc/login.tpl	(revision 22788)
+++ /branches/version-2_13-dev/data/Smarty/templates/sphone/frontparts/bloc/login.tpl	(revision 23064)
@@ -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.common.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-dev/data/Smarty/templates/sphone/frontparts/bloc/login_footer.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/sphone/frontparts/bloc/login_footer.tpl	(revision 22788)
+++ /branches/version-2_13-dev/data/Smarty/templates/sphone/frontparts/bloc/login_footer.tpl	(revision 23064)
@@ -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.common.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-dev/data/Smarty/templates/sphone/products/list.tpl
===================================================================
--- /branches/version-2_13-dev/data/Smarty/templates/sphone/products/list.tpl	(revision 23063)
+++ /branches/version-2_13-dev/data/Smarty/templates/sphone/products/list.tpl	(revision 23064)
@@ -26,5 +26,5 @@
         eccube.common.setValue('orderby', orderby);
         eccube.common.setValue('pageno', 1);
-        fnSubmit();
+        eccube.common.submitForm();
     }
     // 表示件数を変更
@@ -32,5 +32,5 @@
         eccube.common.setValue('disp_number', dispNumber);
         eccube.common.setValue('pageno', 1);
-        fnSubmit();
+        eccube.common.submitForm();
     }
 //]]></script>
