
/* -----------------------------------------------
JS file toyotahome.
FileName:default.js
----------------------------------------------- */

//NEW WINDOW
function NewWin(targetVal) {
	var targetName;
	targetName = "newwin";
	if(targetVal != undefined){targetName = targetVal;}
	NewWindow=window.open("",targetName,"width=617,height=670,toolbar=0,location=1,status=0,menubar=1,scrollbars=1,resizable=1");
	NewWindow.focus();
}
function ZoomWin(targetVal) {
	var targetName;
	targetName = "zoomplan";
	if(targetVal != undefined){targetName = targetVal;}
	ZoomWindow=window.open("",targetName,"width=617,height=670,toolbar=0,location=0,status=0,menubar=1,scrollbars=1,resizable=1");
	ZoomWindow.focus();
}
function MovWin(targetVal) {
	var targetName;
	targetName = "movie";
	if(targetVal != undefined){targetName = targetVal;}
	MovWindow=window.open("",targetName,"width=617,height=580,toolbar=0,location=0,status=0,menubar=1,scrollbars=1,resizable=1");
	MovWindow.focus();
}
function SimWin(targetVal) {
	var targetName;
	targetName = "simulation";
	if(targetVal != undefined){targetName = targetVal;}
	SimWindow=window.open("",targetName,"width=617,height=670,toolbar=0,location=0,status=0,menubar=1,scrollbars=1,resizable=1");
	SimWindow.focus();
}
function MapWin(targetVal) {
	var targetName;
	targetName = "map";
	if(targetVal != undefined){targetName = targetVal;}
	SimWindow=window.open("",targetName,"width=540,height=600,toolbar=0,location=1,status=0,menubar=1,scrollbars=1,resizable=1");
	SimWindow.focus();
}

function ExteWin(targetVal) {
	var targetName;
	targetName = "zoomexte";
	if(targetVal != undefined){targetName = targetVal;}
	ZoomWindow=window.open("",targetName,"width=617,height=700,toolbar=0,location=0,status=0,menubar=1,scrollbars=1,resizable=1");
	ZoomWindow.focus();
}
function NetWorkWin(targetVal) {
	var targetName;
	targetName = "networkwin";
	if(targetVal != undefined){targetName = targetVal;}
	NewWindow=window.open("",targetName,"width=617,height=670,toolbar=0,location=0,status=0,menubar=1,scrollbars=1,resizable=1");
	NewWindow.focus();
}