Watch Us Grow!!

<script type="text/javascript">
  var height_array = new Array();
  var width_array = new Array();
  width_array[15] = 640;
  height_array[15] = 480;
</script>
<img src="http://173.201.44.228:4086/loading.jpg" id="webcam15" onmousedown="PTZMouseDown15(event)" width="640" height="480" alt="Live Stream" />
<script type="text/javascript">
<!--
currentCamera15= 15;
errorimg15= 0;
document.images.webcam15.onload = DoIt15;
document.images.webcam15.onerror = ErrorImage15;
function LoadImage15()
{
        uniq15 = Math.random();
        document.images.webcam15.src = "http://173.201.44.228:4086/cam_" + currentCamera15 + ".jpg?uniq="+uniq15;
        document.images.webcam15.onload = DoIt15;
}
function PTZMouseDown15(e)
{
        var IE = document.all?true:false;
        var x,y;
        var myx,myy;
        var myifr = document.getElementById("_iframe-ptz");
        tp = getElPos15();
        myx = tp[0];
        myy = tp[1];
        if(IE){
        var scrollX = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft;
        var scrollY = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop;
        x = event.clientX - myx + scrollX;
        y = event.clientY - myy + scrollY;
        } else {
        x = e.pageX - myx;
        y = e.pageY - myy;
        }
        if ((width_array[currentCamera15] != null) && (width_array[currentCamera15] > 0)) x = Math.round((x * 400) / width_array[currentCamera15]);
        if ((height_array[currentCamera15] != null) && (height_array[currentCamera15] > 0)) y = Math.round((y * 300) / height_array[currentCamera15]);
        if (x > 400) x = 400;
        if (y > 300) y = 300;
        if (myifr != null) myifr.src = "http://173.201.44.228:4086/ptz?src=" + currentCamera15 + "&moveto_x=" + x + "&moveto_y=" + y +"";
        return true;
}
function getElPos15()
{
            el = document.images.webcam15;
            x = el.offsetLeft;
            y = el.offsetTop;
            elp = el.offsetParent;
            while(elp!=null)
              { x+=elp.offsetLeft;
                y+=elp.offsetTop;
                elp=elp.offsetParent;
              }
            return new Array(x,y);
}
function ErrorImage15()
{
        errorimg15++;
        if (errorimg15>3){
              document.images.webcam15.onload = "";
              document.images.webcam15.onerror = "";
              document.images.webcam15.src = "offline.jpg";
              }else{
                uniq15 = Math.random();
            document.images.webcam15.src = "http://173.201.44.228:4086/cam_" + currentCamera15 + ".jpg?uniq="+uniq15;
              }
}
function DoIt15()
{
        errorimg15=0;
        window.setTimeout("LoadImage15();", 40);
}
//-->
</script>