All pastes #548418 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-07 18:42 UTC
rendered paste body
<%@ Language=VBScript %> <html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">

<title>TacoBell Natchez Video Server</title>
<script language="JavaScript">
<!--
function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}
// -->
</script>
</head>


<script language="JavaScript">
<!--

function frmConnect(mySite) {

	switch (mySite) {
		case "1":
			Connect('Natchez', '68.213.98.34');
		case "2":
			Connect('Cleveland', '127.0.0.1');
		case default:
			Connect('Natchez', '68.213.98.34');
	}

}

function Connect(myName, myIP)
{  
   try{
     
     document.WebView1.ConnectSite(myName,0,myIP,1001,'','',1,40,0);
   }catch(e){
    alert("ActiveX downloading please refresh");
   }
}

function Disconnect()
{  
     
   try{
     document.WebView1.Disconnect();
   }catch(e){
    alert("ActiveX downloading please refresh");
   }
}

function Control()
{  
     
   try{
     document.WebView1.Control();
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function NextCamera()
{  
     
   try{
     document.WebView1.NextCamera();
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function PrevCamera()
{  
     
   try{
     document.WebView1.PrevCamera();
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function NextSite()
{  
     
   try{
     document.WebView1.NextSite();
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function PrevSite()
{  
     
   try{
     document.WebView1.PrevSite();
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}


function Par1()
{  
     
   try{
     document.WebView1.Partition(0,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par4()
{  
     
   try{
     document.WebView1.Partition(1,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par6()
{  
     
   try{
     document.WebView1.Partition(2,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par8()
{  
     
   try{
     document.WebView1.Partition(3,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par9()
{  
     
   try{
     document.WebView1.Partition(4,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par13()
{  
     
   try{
     document.WebView1.Partition(6,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par16()
{  
     
   try{
     document.WebView1.Partition(7,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par22()
{  
     
   try{
     document.WebView1.Partition(9,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par25()
{  
     
   try{
     document.WebView1.Partition(10,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par32()
{  
     
   try{
     document.WebView1.Partition(12,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par64()
{  
     
   try{
     document.WebView1.Partition(15,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Par100()
{  
     
   try{
     document.WebView1.Partition(17,0);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function Rotate()
{  
     
   try{
     document.WebView1.RSite((document.WebView1.IsRSite() == 1) ? 0 : 1);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function FullSite()
{  
     
   try{
     document.WebView1.SetFullSite((document.WebView1.IsFullSite() == 1) ? 0 : 1);
   }catch(e){
	alert("ActiveX downloading please refresh");
   }
}

function videowidth()
{

	return(screen.width-100);
}

function videoheight()
{
	return(screen.height-100);
}

//-->
</script>


<body bgproperties="fixed" bgcolor="#006699" topmargin="7" leftmargin="12" onLoad="FP_preloadImgs(/*url*/'button131.gif', /*url*/'button132.gif', /*url*/'button14A.gif', /*url*/'button14B.gif', /*url*/'button14D.gif', /*url*/'button14E.gif', /*url*/'button1BD.gif', /*url*/'button1BE.gif')">

<div align="center">
  <center>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber1" bgcolor="#C0C0C0" height=490>
  <tr>
    <td width="112" height="240" bgcolor="#808080" valign="top">
    <div style="width: 111; height: 252; border-style: outset; border-width: 3">
	<br>
      &nbsp;<a href="javascript:Par1()"><img border="0" src="Par1.jpg" width="38" height="27" alt="Full screen"></a>&nbsp; <a href="javascript:Par6()"><img border="0" src="Par6.jpg" width="38" height="27" alt="6 way split"></a><br>
      &nbsp;<a href="javascript:Par4()"><img border="0" src="Par4.jpg" width="38" height="27" alt="4 way split"></a>&nbsp; <a href="javascript:Par8()"><img border="0" src="Par8.jpg" width="38" height="27" alt="8 way split"></a><br>
      &nbsp;<a href="javascript:Par9()"><img border="0" src="Par9.jpg" width="38" height="27" alt="9 way split"></a>&nbsp; <a href="javascript:Par13()"><img border="0" src="Par13.jpg" width="38" height="27" alt="13 way split"></a><br>
      &nbsp;<a href="javascript:Par16()"><img border="0" src="Par16.jpg" width="38" height="27" alt="16 way split"></a>&nbsp; <a href="javascript:Par22()"><img border="0" src="Par22.jpg" width="38" height="27" alt="22 way split"></a><br>
      &nbsp;<a href="javascript:Par25()"><img border="0" src="Par25.jpg" width="38" height="27" alt="25 way split"></a>&nbsp; <a href="javascript:Par32()"><img border="0" src="Par32.jpg" width="38" height="27" alt="32 way split"></a><br>
	<br>
      &nbsp;<a href="javascript:Par64()"><img border="0" src="Par64.jpg" width="38" height="27" alt="64 way split"></a>&nbsp; <a href="javascript:Par100()"><img border="0" src="Par100.jpg" width="38" height="27" alt="100 way split"></a><br>
	<br>
&nbsp;<a href="javascript:Rotate()"><img border="0" src="R.jpg" width="38" height="32" alt="Rotate site"></a>&nbsp;&nbsp;<a href="javascript:PrevCamera()"><img border="0" src="CamLeft.jpg" width="16" height="16" alt="Previous camera"></a>
    <a href="javascript:NextCamera()">
    <img border="0" src="CamRight.jpg" width="16" height="16" alt="Next camera"></a></div>
    </td>
    <td width=88% height=100% bgcolor="#808080" valign="top" rowspan="3" bordercolor="#C0C0C0">
    <div style="border-style: ridge; width:100%; height:100%">
    <object classid="clsid:C298F7C6-958F-47AE-B811-C730070B5BD2"  codebase="cab/Webview.cab#version=2,9,0,0" width=100%	height=100% id="WebView1">
      <param name="_Version" value="131081">
      <param name="_ExtentX" value="2302">
      <param name="_ExtentY" value="12674">
      <param name="_StockProps" value="0">
     </object>
    </div>
    </td>
  </tr>
  <tr>
    <td width="112" height="33%" bgcolor="#C0C0C0" valign="top">
    <div style="width: 112px; height: 140px; ">
    <p align="center"><font face="Arial" size="2"><b>&nbsp;</b></font>&nbsp;&nbsp;&nbsp;
    <a href="javascript:Connect()">
	<img border="0" id="img14" src="button149.gif" height="20" width="99" alt=" Connect" fp-style="fp-btn: Simple Arrow 3; fp-font-style: Bold; fp-font-size: 9; fp-font-color-normal: #0000FF; fp-font-color-hover: #FF0000; fp-justify-horiz: 0; fp-transparent: 1" fp-title=" Connect" onMouseOver="FP_swapImg(1,0,/*id*/'img14',/*url*/'button14A.gif')" onMouseOut="FP_swapImg(0,0,/*id*/'img14',/*url*/'button149.gif')" onMouseDown="FP_swapImg(1,0,/*id*/'img14',/*url*/'button14B.gif')" onMouseUp="FP_swapImg(0,0,/*id*/'img14',/*url*/'button14A.gif')"></a>    
      <label>ConnectMenu
        <select name="select" onChange="javascript:frmConnect(this.options[this.selectedIndex].value);">
		<option value="NA">Connect Site</option>
		<option value="1">Natchez</option>
		<option value="2">Cleveland</option>
        </select>
        </label>
    <br>
        <a href="javascript:Disconnect()">
          <img border="0" id="img15" src="button14C.gif" height="20" width="100" alt=" Disconnect" fp-style="fp-btn: Simple Arrow 3; fp-font-style: Bold; fp-font-color-normal: #0000FF; fp-font-color-hover: #FF0000; fp-justify-horiz: 0; fp-transparent: 1" fp-title=" Disconnect" onMouseOver="FP_swapImg(1,0,/*id*/'img15',/*url*/'button14D.gif')" onMouseOut="FP_swapImg(0,0,/*id*/'img15',/*url*/'button14C.gif')" onMouseDown="FP_swapImg(1,0,/*id*/'img15',/*url*/'button14E.gif')" onMouseUp="FP_swapImg(0,0,/*id*/'img15',/*url*/'button14D.gif')"></a><br>
      &nbsp;<a href="javascript:Control()"><img border="0" id="img13" src="button130.gif" height="21" width="103" alt=" Control Panel" fp-style="fp-btn: Simple Arrow 3; fp-font-style: Bold; fp-font-size: 9; fp-font-color-normal: #0000FF; fp-font-color-hover: #FF0000; fp-justify-horiz: 0; fp-bgcolor: #C0C0C0; fp-transparent: 1" fp-title=" Control Panel" onMouseOver="FP_swapImg(1,0,/*id*/'img13',/*url*/'button131.gif')" onMouseOut="FP_swapImg(0,0,/*id*/'img13',/*url*/'button130.gif')" onMouseDown="FP_swapImg(1,0,/*id*/'img13',/*url*/'button132.gif')" onMouseUp="FP_swapImg(0,0,/*id*/'img13',/*url*/'button131.gif')"></a><a target="_blank" href="help/index.htm"><img border="0" id="img16" src="button1BC.gif" height="20" width="98" alt=" Self Help" fp-style="fp-btn: Simple Arrow 3; fp-font-style: Bold; fp-font-size: 9; fp-font-color-normal: #0000FF; fp-font-color-hover: #FF0000; fp-justify-horiz: 0; fp-transparent: 1" fp-title=" Self Help" onMouseOver="FP_swapImg(1,0,/*id*/'img16',/*url*/'button1BD.gif')" onMouseOut="FP_swapImg(0,0,/*id*/'img16',/*url*/'button1BC.gif')" onMouseDown="FP_swapImg(1,0,/*id*/'img16',/*url*/'button1BE.gif')" onMouseUp="FP_swapImg(0,0,/*id*/'img16',/*url*/'button1BD.gif')"></a><br> 
      &nbsp;<a href="javascript:FullSite()"><img border="0" src="Full.jpg" width="32" height="22" alt="Full site"></a>&nbsp;&nbsp;
        <a href="javascript:NextSite()">
          <img border="0" src="Left.jpg" width="16" height="16" alt="Previous site"></a>&nbsp;<a href="javascript:PrevSite()"><img border="0" src="Right.jpg" width="16" height="16" alt="Next site"></a>
    </div>
    </td>
  </tr>
  <tr>
    <td bgcolor="#C0C0C0" align="center" bordercolor="#FF0000">
    <img border="0" src="wslogo1.jpg" width="60" height="60"></td>
  </tr>
  </table>

  </center>
</div>

<p align="center"><font color="#FFFFFF" size="4">Web Surveillance Cleveland 
Division (440) 260-2879</font></p>

</body>

</html>