// useful functions
function findValue(buf, key, seperator) {
  var ary = buf.split(seperator);
  for (var i = 0; i < ary.length; i++) {
    if ((idx = ary[i].indexOf(key)) >= 0) {
      return ary[i].slice(idx + key.length);
    }
  }
  return null;
}

// privacy popup in footer
function popUp(u,n,w,h) {
  var remote = window.open(u, n, 'width=' + w + ',height=' + h +',resizable=yes,scrollbars=yes');
  if (remote != null) {
      remote.opener = self;
    remote.location.href = u;
  }
}

// all default functions should be above this line
// draw_functions.js
document.writeln("<sc" + "ript src=\"http://www.mytelus.com/js/telus_net/draw_functions.js\" language=\"javascript1.2\" type=\"text/javascript\"></scr" + "ipt>");

