1 | /* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved. |
---|
5 | * |
---|
6 | * http://www.lockon.co.jp/ |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU General Public License |
---|
10 | * as published by the Free Software Foundation; either version 2 |
---|
11 | * of the License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
21 | */ |
---|
22 | |
---|
23 | function win01(URL,Winname,Wwidth,Wheight){ |
---|
24 | var WIN; |
---|
25 | WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=no,resizable=no,toolbar=no,location=no,directories=no,status=no"); |
---|
26 | WIN.focus(); |
---|
27 | } |
---|
28 | |
---|
29 | function win02(URL,Winname,Wwidth,Wheight){ |
---|
30 | var WIN; |
---|
31 | WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no"); |
---|
32 | WIN.focus(); |
---|
33 | } |
---|
34 | |
---|
35 | function win03(URL,Winname,Wwidth,Wheight){ |
---|
36 | var WIN; |
---|
37 | WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no"); |
---|
38 | WIN.focus(); |
---|
39 | } |
---|
40 | |
---|
41 | function winSubmit(URL,formName,Winname,Wwidth,Wheight){ |
---|
42 | var WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no"); |
---|
43 | document.forms[formName].target = Winname; |
---|
44 | WIN.focus(); |
---|
45 | } |
---|