var var_brand="<!--#echo var="svr.system.brand" -->";//brand
var var_brandurl="<!--#echo var="svr.system.brandurl" -->";//brand url
var var_modelname="<!--#echo var="svr.system.modelname" -->";//model name
var var_SVRdefaultIP="192.168.101.50";
var var_LogoImageName="Logo.gif";
var var_SupportCamera = new Array();
var var_MediaComName = "Option/Media.CAB#version=1,0,1,19";
var var_MediaComCId = "clsid:6685D182-E710-4193-9678-785C6B7290E5";
var var_IPSearchComName = "SVRFind.CAB#version=1,0,0,15894";
var var_IPSearchComCId = "clsid:D7846376-8A6C-469A-9F51-B009A5519E25";

//不分大小寫
var var_SupportAllBrand = true;
var_SupportCamera[0] = "Axis";
var_SupportCamera[1] = "Sony";
var_SupportCamera[2] = "Panasonic";
var_SupportCamera[3] = "Asoni";
var_SupportCamera[4] = "AVTech";

//網頁用字，網頁上代表NVR的字眼使用以下變數的值取代
var NVRModelName = "NVR";

//Support Language
var SupportLanguage = new Array();
SupportLanguage[1] = true; //English
SupportLanguage[2] = true; //Traditional Chinese
SupportLanguage[3] = true; //Simplified Chinese
SupportLanguage[4] = true; //Japanese
SupportLanguage[5] = true; //Italian
SupportLanguage[6] = true; //Spanish
SupportLanguage[7] = true//portuguese
SupportLanguage[8] = true; //German
SupportLanguage[9] = false; //Danish
SupportLanguage[10] = true; //Czech
SupportLanguage[11] = true; //Polish
SupportLanguage[12] = false; //FRENCH
SupportLanguage[13] = false; //Russian
SupportLanguage[14] = true; //Slovakian
SupportLanguage[15] = false; //Hungarian
SupportLanguage[16] = false; //Korean
SupportLanguage[17] = false; //Turkish
SupportLanguage[18] = false; //Finnish
SupportLanguage[19] = false; //Hebrew
SupportLanguage[20] = false; //Dutch
SupportLanguage[21] = false; //Slovenian
var SupportDIS = false;

var htmlPTZPanelMap = '<tr><td height="29" align="center" valign="middle" bordercolor="#CCCCCC">';
htmlPTZPanelMap += '<img src="Images/PTZ_Panel.gif" width="205" height="150" usemap="#PTZControlPanel" style="cursor:pointer;"/>';
htmlPTZPanelMap += '<map name="PTZControlPanel">';
htmlPTZPanelMap += '<area shape="POLYGON" coords="35,22,35,57,76,58,76,22" id="ptzUp" alt="move up" onclick="ptzFunction(3,3);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="79,23,79,58,114,58,112,22" id="ptzUpRight" alt="move up right" onclick="ptzFunction(3,6);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="116,60,77,59,78,96,114,95" id="ptzRight" alt="move right" onclick="ptzFunction(3,2);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="115,97,78,95,78,131,113,131" id="ptzDownRight" alt="right down" onclick="ptzFunction(3,8);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="39,132,39,94,76,94,75,133" id="ptzDown" alt="move down" onclick="ptzFunction(3,4);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="37,133,37,96,5,96,5,134" id="ptzLeftDown" alt="left down" onclick="ptzFunction(3,7);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="36,93,38,57,2,59,4,93" id="ptzLeft" alt="move left" onclick="ptzFunction(3,1);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="3,57,36,57,35,22,3,22" id="ptzLeftUp" alt="left up" onclick="ptzFunction(3,5);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="39,93,39,58,74,59,75,91" id="ptzHome" alt="Home" onclick="ptzFunction(3,0);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="116,21,155,21,155,60,118,58" id="ptzZoomIn" alt="Zoom in" onclick="ptzFunction(0,0);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="200,21,200,59,159,61,156,21" id="ptzZoomOut" alt="Zoom out" onclick="ptzFunction(0,1);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="116,60,115,92,157,93,156,59" id="ptzFocusOut" alt="focus out" onclick="ptzFunction(1,1);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="159,64,159,94,202,95,202,63" id="ptzFocusIn" alt="focus in" onclick="ptzFunction(1,0);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="115,98,114,130,155,131,154,97" id="ptzFocusAuto" alt="focus auto" onclick="ptzFunction(1,4);" />';
htmlPTZPanelMap += '<area shape="POLYGON" coords="160,98,159,130,200,131,199,97" id="ptzFocusAutoOff" alt="focus auto off" onclick="ptzFunction(1,5);" />';
htmlPTZPanelMap += '</map></td></tr>';