Facility
18,500 sq. ft. of Office and Mfg. space, approx. 15 yrs old. Located in Rockford, Michigan. On 2 acres ready for expansion as needed
<script type=”text/javascript”>
var height_array = new Array();
var width_array = new Array();
</script>
<img src=”http://108.195.145.104:8080/loading.jpg” class=”webcam” id=”webcam6″ onmousedown=”PTZMouseDown6(event)” width=”0″ height=”0″ alt=”Live Stream” />
<script type=”text/javascript”>
<!–
currentCamera6= 6;
errorimg6= 0;
document.images.webcam6.onload = DoIt6;
document.images.webcam6.onerror = ErrorImage6;
function LoadImage6()
{
uniq6 = Math.random();
document.images.webcam6.src = “http://108.195.145.104:8080/cam_” + currentCamera6 + “.jpg?uniq=”+uniq6;
document.images.webcam6.onload = DoIt6;
}
function PTZMouseDown6(e)
{
var IE = document.all?true:false;
var x,y;
var myx,myy;
var myifr = document.getElementById(“_iframe-ptz”);
tp = getElPos6();
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[currentCamera6] != null) && (width_array[currentCamera6] > 0)) x = Math.round((x * 400) / width_array[currentCamera6]);
if ((height_array[currentCamera6] != null) && (height_array[currentCamera6] > 0)) y = Math.round((y * 300) / height_array[currentCamera6]);
if (x > 400) x = 400;
if (y > 300) y = 300;
if (myifr != null) myifr.src = “http://108.195.145.104:8080/ptz?src=” + currentCamera6 + “&moveto_x=” + x + “&moveto_y=” + y +”";
return true;
}
function getElPos6()
{
el = document.images.webcam6;
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 ErrorImage6()
{
errorimg6++;
if (errorimg6>3){
document.images.webcam6.onload = “”;
document.images.webcam6.onerror = “”;
document.images.webcam6.src = “offline.jpg”;
}else{
uniq6 = Math.random();
document.images.webcam6.src = “http://108.195.145.104:8080/cam_” + currentCamera6 + “.jpg?uniq=”+uniq6;
}
}
function DoIt6()
{
errorimg6=0;
window.setTimeout(“LoadImage6();”, 40);
}
//–>
</script>
