﻿// 損保ジャパン JavaScript Document

/*海外旅行保険*/

var newWindow = window;
function GoTravel(){
	if ((newWindow == window) || newWindow.closed ) {
		newWindow = window.open("travel02.htm","CHECK","menubar=yes,toolbar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes,top=45,left=80,width=700,height=500");
		newWindow.creator = window;
	} else {
		newWindow.focus();
	}
}

/*自動車保険見積り*/

var newWindow = window;
function GoAuto(){
	if ((newWindow == window) || newWindow.closed ) {
		newWindow = window.open("auto02.htm","CHECK","menubar=yes,toolbar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes,top=45,left=80,width=700,height=472");
		newWindow.creator = window;
	} else {
		newWindow.focus();
	}
}

/*バイク自賠責保険*/

var newWindow = window;
function GoJibai(){
	if ((newWindow == window) || newWindow.closed ) {
		newWindow = window.open("jibai01.htm","CHECK","menubar=yes,toolbar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes,top=45,left=80,width=700,height=500");
		newWindow.creator = window;
	} else {
		newWindow.focus();
	}
}

/*Customer Online*/

var newWindow = window;
function GoCustomer(){
	if ((newWindow == window) || newWindow.closed ) {
		newWindow = window.open("customer01.htm","CHECK","menubar=yes,toolbar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes,top=45,left=80,width=700,height=500");
		newWindow.creator = window;
	} else {
		newWindow.focus();
	}
}