nphPanTiltControl.htm 2006/04/29

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!-- saved from url=(0130)http://seiwacity.com:8080/nphPanTiltControl?Resolution=640x480&Quality=Standard&Size=STD&PresetOperation=Move&Language=1&RPeriod=0 -->
<HTML><HEAD><TITLE>nphPanTiltControl</TITLE>
<META http-equiv=expires content=0>
<META http-equiv=Pragma content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META content=NONE name=ROBOTS>
<META content=NOINDEX,NOFOLLOW name=ROBOTS>
<META http-equiv=Content-type content="text/html; charset=euc-jp">
<META http-equiv=Refresh
content=300;URL=nphPanTiltControl?Resolution=640x480&amp;Quality=Standard&amp;RPeriod=10&amp;Size=STD&amp;Language=1>
<META http-equiv=Content-Style-Type content=text/css>
<META http-equiv=Content-Script-Type content=text/javascript>
<SCRIPT type=text/javascript>
<!--
var obj;
function doInit() {
if (document.layers) {
objlist = document.layers;
for (i = 0; i < objlist.length; i++) {
if ( (objlist[i].name == "FOCUSFAR") ||
(objlist[i].name == "FOCUSNEAR") ) {
objlist[i].captureEvents(Event.MOUSEDOWN);
objlist[i].onmousedown = onMouseDown;
objlist[i].captureEvents(Event.CLICK);
objlist[i].onclick = onClick;
objlist[i].captureEvents(Event.DBLCLICK);
objlist[i].ondblclick = onDblClick;
objlist[i].captureEvents(Event.MOUSEUP);
objlist[i].onmouseup = onMouseUp;
}
}
} else if( (document.all) || (document.getElementsByTagName) ) {
if (document.all) {
objlist = document.all.tags("SPAN");
} else if (document.getElementsByTagName) {
objlist = document.getElementsByTagName("SPAN");
for (i = 0; i < objlist.length; i++) {
if ( (objlist[i].id == "ZOOMWIDE") ||
(objlist[i].id == "ZOOMTELE") ) {
objlist[i].style.top=114;
} else if( (objlist[i].id == "FOCUSFAR") ||
(objlist[i].id == "FOCUSNEAR") ||
(objlist[i].id == "FOCUSAUTO") ) {
objlist[i].style.top=149;
}
}
}
for (i = 0; i < objlist.length; i++) {
if ( (objlist[i].id == "FOCUSFAR") ||
(objlist[i].id == "FOCUSNEAR") ) {
objlist[i].onclick = onClick;
objlist[i].ondblclick = onDblClick;
}
}
} else {
return;
}
}

function onClick(e) {
obj = this;
if (document.layers) {
if ( (obj.name == "FOCUSNEAR") ||
(obj.name == "FOCUSFAR") ) {
sendCamera(obj.name, 1);
}
} else if ( (document.all) ||
(document.getElementsByTagName) ) {
if ( (obj.id == "FOCUSNEAR") ||
(obj.id == "FOCUSFAR") ) {
sendCamera(obj.id, 1);
}
}
}

function onDblClick(e) {
if (document.layers) {
if (!obj) {
return true;
}
if ( (obj.name == "FOCUSNEAR") ||
(obj.name == "FOCUSFAR") ) {
sendCamera(obj.name, 2);
}
} else if ( (document.all) ||
(document.getElementsByTagName) ) {
if ( (obj.id == "FOCUSNEAR") ||
(obj.id == "FOCUSFAR") ) {
sendCamera(obj.id, 2);
}
}
}

function onMouseDown(e) {
obj = this;
if (document.layers) {
if ( (obj.name == "FOCUSNEAR") ||
(obj.name == "FOCUSFAR") ) {
}
} else {
obj = null;
return false;
}
}

function onMouseUp(e) {
if (!obj) {
return true;
}
if (document.layers) {
if ( (obj.name == "FOCUSNEAR") ||
(obj.name == "FOCUSFAR") ) {
sendCamera(obj.name, 1);
}
}
}

function sendCamera(kind, dist) {
hrefsrc = "http://seiwacity.com:8080/nphControlCamera";
if (document.layers) {
hrefsrc += document.links[document.links.length-1].search;
indexBright = hrefsrc.indexOf("Direction=FocusAuto&");
if( indexBright > 0 ) {
substr1 = hrefsrc.substr(0,indexBright);
substr2 = hrefsrc.substr(
(indexBright+("Direction=FocusAuto&".length)) );
hrefsrc = substr1 + substr2;
}
hrefsrc += "&Sound=Enable";
if (kind == "FOCUSNEAR") {
hrefsrc += "&Direction=FocusNear" + "&Dist=" + dist;
parent.Message.location.href = hrefsrc;
} else if (kind == "FOCUSFAR") {
hrefsrc += "&Direction=FocusFar" + "&Dist=" + dist;
parent.Message.location.href = hrefsrc;
}
if (dist==2) {
obj=null;
}
} else if ( (document.all) ||
(document.getElementsByTagName) ) {
for (i=0; i<document.links.length; ++i) {
if (document.links[i].id == "DUMMY") {
hrefsrc += document.links[i].search;
indexBright = hrefsrc.indexOf("Direction=FocusAuto&");
if (indexBright > 0) {
substr1 = hrefsrc.substr(0,indexBright);
substr2 = hrefsrc.substr(
(indexBright+("Direction=FocusAuto&".length)) );
hrefsrc = substr1 + substr2;
}
break;
}
}
hrefsrc += "&Sound=Enable";
if (kind == "FOCUSNEAR") {
hrefsrc += "&Direction=FocusNear" + "&Dist=" + dist;
parent.Message.location.href = hrefsrc;
} else if (kind == "FOCUSFAR") {
hrefsrc += "&Direction=FocusFar" + "&Dist=" + dist;
parent.Message.location.href = hrefsrc;
}
if (dist==2) {
obj=null;
}
}
}

//-->
</SCRIPT>

<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY text=#ffffff vLink=#ffffff aLink=#ffffff link=#ffffff bgColor=#c4ceef
topMargin=0 onload=doInit() MARGINHEIGHT="0">
<SCRIPT language=JavaScript>
<!--
function ChangeRPeriod(RPeriod) {
top.location.href = "CgiStart?page=Single&Resolution=640x480&Quality=Standard&RPeriod="+RPeriod+"&Size=STD&PresetOperation=Move&Language=1";
}
//-->
</SCRIPT>

<SCRIPT language=JavaScript>
<!--
function alertOutput(a){
document.f.OutputType.value = a;
if(a == 1) {
document.f.OutputName.value = document.f.oButton.value;
} else {
document.f.OutputName.value = document.f.cButton.value;
}
document.f.submit();
return;
}
function ChangePreset(Val) {
var Type = "Preset";
if (Val == "-1") {
return;
} else if (Val == "HomePosition") {
Type = "HomePosition";
Val = "0";
} else if (Val == "Alarm1"){
Type = "Alarm";
Val = "1";
} else if (Val == "Alarm2") {
Type = "Alarm";
Val = "2";
} else if (Val == "Sensor1") {
Type = "Sensor";
Val = "1";
}
var Dir = "Preset";
if (Type == "HomePosition") {
Dir = "HomePosition";
}
parent.Message.location.href = "http://seiwacity.com:8080/nphControlCamera?Direction=" + Dir + "&Data=" + Val + "&Resolution=640x480&Quality=Standard&RPeriod=0&Size=STD&PresetOperation=Move&Language=1&Type=" + Type;
document.pf.presetSelect.selectedIndex = 0;
}
//-->
</SCRIPT>
<!-- ** Pan/Tilt & HomePos. ** -->
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD><FONT style="FONT-SIZE: 11px" face=Arial
color=#000000>&nbsp;パン/チルト</FONT></TD></TR>
<TR>
<TD height=1></TD></TR>
<TR>
<TD align=middle bgColor=#c4ceef><IMG height=98
src="image/pad.gif" width=90 useMap=#pad border=0><MAP
name=pad> <AREA title=パンスキャン shape=CIRCLE target=Message alt=パンスキャン
coords=12,12,10
href="http://seiwacity.com:8080/nphControlCamera?Direction=PanScan&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"><AREA
title=チルトスキャン shape=CIRCLE target=Message alt=チルトスキャン coords=78,12,10
href="http://seiwacity.com:8080/nphControlCamera?Direction=TiltScan&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"><AREA
title=チルトアップ shape=CIRCLE target=Message alt=チルトアップ coords=45,33,10
href="http://seiwacity.com:8080/nphControlCamera?Direction=TiltUp&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"><AREA
title=パンレフト shape=CIRCLE target=Message alt=パンレフト coords=20,58,10
href="http://seiwacity.com:8080/nphControlCamera?Direction=PanLeft&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"><AREA
title=ホームポジション shape=CIRCLE target=Message alt=ホームポジション coords=45,58,10
href="http://seiwacity.com:8080/nphControlCamera?Direction=HomePosition&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"><AREA
title=パンライト shape=CIRCLE target=Message alt=パンライト coords=70,58,10
href="http://seiwacity.com:8080/nphControlCamera?Direction=PanRight&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"><AREA
title=チルトダウン shape=CIRCLE target=Message alt=チルトダウン coords=45,83,10
href="http://seiwacity.com:8080/nphControlCamera?Direction=TiltDown&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"></MAP></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD height=3></TD></TR></TBODY></TABLE><!-- ** Zoom ** -->
<TABLE cellSpacing=0 cellPadding=0 width=94 bgColor=#9aaaca border=0>
<TBODY>
<TR>
<TD height=1></TD></TR>
<TR>
<TD align=left><SPAN id=ZOOMTELE><A
href="http://seiwacity.com:8080/nphControlCamera?Direction=ZoomTele&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"
target=Message><IMG title=テレ alt=テレ
src="image/ZoomTele.gif" border=0
name=zoomTele></A></SPAN></TD>
<TD vAlign=center align=middle height=18><FONT style="FONT-SIZE: 10px"
face=Arial color=#000000><B>ズーム</B></FONT></TD>
<TD align=right><SPAN id=ZOOMWIDE><A
href="http://seiwacity.com:8080/nphControlCamera?Direction=ZoomWide&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"
target=Message><IMG title=ワイド alt=ワイド
src="image/ZoomWide.gif" border=0
name=zoomWide></A></SPAN></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD height=3></TD></TR></TBODY></TABLE><!-- ** Focus ** -->
<TABLE cellSpacing=0 cellPadding=0 width=94 bgColor=#9aaaca border=0>
<TBODY>
<TR>
<TD colSpan=3 height=1></TD></TR>
<TR>
<TD vAlign=top align=middle colSpan=3><FONT style="FONT-SIZE: 10px"
face=Arial color=#000000><B>フォーカス</B></FONT></TD></TR><!-- ** Focus map ** -->
<TR>
<TD align=left><SPAN id=FOCUSNEAR style="CURSOR: pointer"><IMG title=近く
alt=近く src="image/FocusNear.gif" border=0
name=focusNear></SPAN></TD>
<TD align=middle><SPAN id=FOCUSAUTO><A id=DUMMY
href="http://seiwacity.com:8080/nphControlCamera?Direction=FocusAuto&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"
target=Message><IMG title=自動 alt=自動
src="image/FocusAuto.gif" border=0
name=focusAuto></A></SPAN></TD>
<TD align=right><SPAN id=FOCUSFAR style="CURSOR: pointer"><IMG title=遠く
alt=遠く src="image/focusFar.gif" border=0
name=FocusFar></SPAN></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD height=3></TD></TR></TBODY></TABLE><!-- ** Preset ** -->
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD vAlign=center align=left height=11><FONT style="FONT-SIZE: 11px"
face=Arial color=#000000>&nbsp;プリセット</FONT></TD></TR></TBODY></TABLE><!-- ** Preset Control ** -->
<TABLE cellSpacing=0 cellPadding=2 width=94 bgColor=#9aaaca border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle width=18 height=18><A
href="http://seiwacity.com:8080/nphControlCamera?Direction=Preset&amp;PresetOperation=Move&amp;Data=1&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;Language=1"
target=Message><IMG title=内部温度 height=18 alt=内部温度
src="image/PresetOFF01.gif" width=18 border=0></A></TD>
<TD vAlign=center align=middle width=18 height=18><A
href="http://seiwacity.com:8080/nphControlCamera?Direction=Preset&amp;PresetOperation=Move&amp;Data=2&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;Language=1"
target=Message><IMG title=JR奈良方面 height=18 alt=JR奈良方面
src="image/PresetOFF02.gif" width=18 border=0></A></TD>
<TD vAlign=center align=middle width=18 height=18><A
href="http://seiwacity.com:8080/nphControlCamera?Direction=Preset&amp;PresetOperation=Move&amp;Data=3&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;Language=1"
target=Message><IMG title=JR大阪方面 height=18 alt=JR大阪方面
src="image/PresetOFF03.gif" width=18 border=0></A></TD>
<TD vAlign=center align=middle width=18 height=18><IMG title="" height=18
alt="" src="image/PresetON04.gif" width=18
border=0></TD></TR>
<TR>
<TD vAlign=center align=middle width=18 height=18><IMG title="" height=18
alt="" src="image/PresetON05.gif" width=18 border=0></TD>
<TD vAlign=center align=middle width=18 height=18><IMG title="" height=18
alt="" src="image/PresetON06.gif" width=18 border=0></TD>
<TD vAlign=center align=middle width=18 height=18><IMG title="" height=18
alt="" src="image/PresetON07.gif" width=18 border=0></TD>
<TD vAlign=center align=middle width=18 height=18><IMG title="" height=18
alt="" src="image/PresetON08.gif" width=18
border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD style="WIDTH: 94px" bgColor=#9aaaca>
<DIV align=center>
<FORM style="MARGIN: 0px" name=pf action=# method=post><SELECT
style="FONT-SIZE: 12px; BACKGROUND: #1961df; WIDTH: 113px; COLOR: #ffffff"
onchange=ChangePreset(this.value) name=presetSelect> <OPTION
selected>-プリセット-</OPTION> <OPTION value=HomePosition>ホームポジション</OPTION>
<OPTION value=1>1.内部温度</OPTION> <OPTION value=2>2.JR奈良方面</OPTION>
<OPTION value=3>3.JR大阪方面</OPTION></SELECT>
</FORM></DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD height=3></TD></TR></TBODY></TABLE><!-- ** Brightness ** -->
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD vAlign=center align=left><FONT style="FONT-SIZE: 11px" face=Arial
color=#000000>&nbsp;明るさ</FONT></TD></TR>
<TR>
<TD><!-- ** Brightness map ** -->
<TABLE cellSpacing=1 cellPadding=0 width=92 border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle width=28 bgColor=#1961df height=17><A
style="WIDTH: 28px; TEXT-DECORATION: none"
href="http://seiwacity.com:8080/nphControlCamera?Direction=Darker&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"
target=Message><FONT style="FONT-SIZE: 11px"
face=Impact>&nbsp;<B>-</B>&nbsp;</FONT></A></TD>
<TD vAlign=center align=middle width=28 bgColor=#1961df height=17><A
style="WIDTH: 28px; TEXT-DECORATION: none"
href="http://seiwacity.com:8080/nphControlCamera?Direction=DefaultBrightness&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"
target=Message><FONT style="FONT-SIZE: 11px"
face=Arial>標準</FONT></A></TD>
<TD vAlign=center align=middle width=28 bgColor=#1961df height=17><A
style="WIDTH: 28px; TEXT-DECORATION: none"
href="http://seiwacity.com:8080/nphControlCamera?Direction=Brighter&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"
target=Message><FONT style="FONT-SIZE: 11px"
face=Arial>&nbsp;<B>+</B>&nbsp;</FONT></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!-- ** Resolution ** -->
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD colSpan=2><FONT style="FONT-SIZE: 11px" face=Arial
color=#000000>&nbsp;解像度</FONT></TD></TR>
<TR>
<TD colSpan=2 height=1></TD></TR>
<TR>
<TD vAlign=center align=middle width=18 bgColor=#cc6666 height=17>*</TD>
<TD vAlign=center width=72 bgColor=#34769c height=17><A
style="WIDTH: 72px; TEXT-DECORATION: none"
target=_top><FONT style="FONT-SIZE: 11px"
face=Arial>&nbsp;640x480&nbsp;&nbsp;&nbsp;</FONT></A></TD></TR>
<TR>
<TD colSpan=2 height=3></TD></TR>
<TR>
<TD vAlign=center align=middle width=18 bgColor=#34769c
height=17>&nbsp;</TD>
<TD vAlign=center width=72 bgColor=#34769c height=17><A
style="WIDTH: 72px; TEXT-DECORATION: none"
href="http://seiwacity.com/live_main_s.html"
target=_top><FONT style="FONT-SIZE: 11px"
face=Arial>&nbsp;320x240&nbsp;&nbsp;&nbsp;</FONT></A></TD></TR>
<TR>
<TD colSpan=2 height=1></TD></TR></TBODY></TABLE><!-- ** Image quality ** -->
<!--
<TABLE cellSpacing=0 cellPadding=0 width=94 border=0>
<TBODY>
<TR>
<TD vAlign=center colSpan=2><FONT style="FONT-SIZE: 11px" face=Arial
color=#000000>&nbsp;画質 </FONT></TD></TR>
<TR>
<TD colSpan=2 height=1></TD></TR>
<TR>
<TD vAlign=center align=middle width=18 bgColor=#34769c
height=17>&nbsp;</TD>
<TD vAlign=center width=72 bgColor=#34769c height=17><A
style="WIDTH: 72px; TEXT-DECORATION: none"
href="http://seiwacity.com:8080/CgiStart?page=Single&amp;Resolution=640x480&amp;Quality=Clarity&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"
target=_top><FONT style="FONT-SIZE: 11px"
face=Arial>&nbsp;画質優先</FONT></A></TD></TR>
<TR>
<TD colSpan=2 height=3></TD></TR>
<TR>
<TD vAlign=center align=middle width=18 bgColor=#cc6666 height=17>*</TD>
<TD vAlign=center width=72 bgColor=#34769c height=17><A
style="WIDTH: 72px; TEXT-DECORATION: none"
href="http://seiwacity.com:8080/CgiStart?page=Single&amp;Resolution=640x480&amp;Quality=Standard&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"
target=_top><FONT style="FONT-SIZE: 11px"
face=Arial>&nbsp;標準</FONT></A></TD></TR>
<TR>
<TD colSpan=2 height=3></TD></TR>
<TR>
<TD vAlign=center align=middle width=18 bgColor=#34769c
height=17>&nbsp;</TD>
<TD vAlign=center width=72 bgColor=#34769c height=17><A
style="WIDTH: 72px; TEXT-DECORATION: none"
href="http://seiwacity.com:8080/CgiStart?page=Single&amp;Resolution=640x480&amp;Quality=Motion&amp;RPeriod=0&amp;Size=STD&amp;PresetOperation=Move&amp;Language=1"
target=_top><FONT style="FONT-SIZE: 11px"
face=Arial>&nbsp;動き優先</FONT></A></TD></TR> -->
<TR>
<TD colSpan=2 height=1></TD></TR></TBODY></TABLE></BODY></HTML>