// Set the BaseURL to the URL of your camera
var BaseURL = "http://81.56.250.37/";

// DisplayWidth & DisplayHeight specifies the displayed width & height of the image.
// You may change these numbers, the effect will be a stretched or a shrunk image
var DisplayWidth = "345";
var DisplayHeight = "190";
var textstring = escape("TREGASTEL.NET --> ")

// This is the path to the image generating file inside the camera itself
var File = "axis-cgi/jpg/image.cgi?resolution=320x240&text=1&textstring=" + textstring + "";
// No changes required below this point
var output = "";
  theDate = new Date();
  output  = '<IMG SRC="';
  output += BaseURL;
  output += File;
  output += '&dummy=' + theDate.getTime().toString(10);
  output += '" HEIGHT="';
  output += DisplayHeight;
  output += '" WIDTH="';
  output += DisplayWidth;
  output += '" ALT="Camera Image">';
document.write(output);
