<!--
var isMSold = (navigator.appVersion.indexOf('MSIE 4') != -1);
var isNSold = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) == 4);
var isMSnew = (document.all && document.getElementById); 
var isNSnew = (!document.all && document.getElementById); 
var storeNum = storeNum*4;
var storeLoc=new initArray(0,0,"Null","",
340,122,"F1","Dr. Zheng's Clinic",
351,110,"F2","Dr. Zheng's Clinic",
0,0,"F3","",
375,102,"F3/4","AVAILABLE",
409,120,"F5","AVAILABLE 400 sq. ft.",
422,139,"F6","Golden Wok Plus",
433,171,"F7","Home Sakura Japanese Fast Food",
448,181,"F8","AVAILABLE 650 sq. ft.",
446,222,"F9","U-Haul Service",
427,224,"F10","Wizards Castle Arcade",
404,235,"F11","Captain's Fish & Chips",
375,235,"F12/13","Shefield Gourmet",
349,235,"F13","",
311,215,"C1/3","Kozlov Centre Community Room",
0,0,"C2","",
296,270,"C3","",
0,0,"C4","",
0,0,"C5","",
0,0,"C6","",
0,0,"C7","",
0,0,"C8","",
0,0,"C9","",
0,0,"C10","",
0,0,"C11","",
0,0,"C12","",
0,0,"C13","",
0,0,"C14","",
0,0,"C15","",
0,0,"C16","",
72,277,"C17","AVAILABLE 1,585 sq. ft.",
62,257,"C18","",
60,190,"C19","Ministry of Children & Youth Services",
0,0,"C20","",
97,184,"C21","AVAILABLE 3,600 sq. ft.",
0,0,"C22","",
0,0,"C23","",
0,0,"C24","",
0,0,"C25","",
0,0,"C26","",
0,0,"C27","",
0,0,"C28","",
0,0,"C29","",
0,0,"C30","",
0,0,"C31","",
0,0,"C32","",
0,0,"C33","",
0,0,"C34","",
0,0,"C35","",
0,0,"C36","",
0,0,"C37","",
0,0,"C38","",
0,0,"C39","",
0,0,"C40","",
0,0,"C41","",
0,0,"C42","",
292,109,"C43","Dr. Steve Mocrae - Dental Office",
0,0,"C44","",
310,139,"C45","The Ultimate Cut",
0,0,"C46","",
295,182,"Kiosk 9","",
270,90,"South End","Zellers");
var m=storeLoc.length;

function dotOn(n) {
  if (isMSold) {
    var whichDot = document.all.dot.style;
  } else if (isNSold) { 
    var whichDot = document.dot;
  } else {
    var whichDot = document.getElementById("dot").style;
  }
  if (n < m) {
    whichDot.visibility='visible';
    whichDot.left = storeLoc[n]+194;
    whichDot.top = storeLoc[n+1]+75;
  } else {
    whichDot.visibility='hidden';
  }
}

function initArray() {
  this.length=initArray.arguments.length;
  for (var x=0; x<this.length; x++) {
    this[x]=initArray.arguments[x];
  }
}

function showLocation(onOff) {
  if (isMSold) {
    var popObject = document.all.map.style;
  } else if (isNSold) {
    var popObject = document.map;
  } else {
    var popObject = document.getElementById('map').style;
  }
  if (onOff == 1) {
    popObject.visibility="visible";
    dotOn(storeNum);
  } else {
    popObject.visibility="hidden";
    dotOn(9999);
  }
}

if (storeNum < 9999) {
  document.write('<div class="locationLayer" id="map"><table width=506 cellpadding=3 cellspacing=0 style="border-collapse:collapse; border:1px solid black;"><tr><td align=left bgcolor="#EEEEEE" style="font:13px/15px arial"><b>Mall Layout</b></td><td align=right bgcolor="#EEEEEE" style="font:13px/15px arial"><a href="javascript:showLocation(0)" style="color:red">Close <img src="../images/X.gif" width=15 height=15 border=0 hspace=0 vspace=0 align=absmiddle></a></td></tr>\n<tr><td colspan=2 bgcolor="#FFFFFF"><img src="../images/layout-concourse.gif" width=500 height=319 border=0 vspace=0 hspace=0></td></tr>\n');
  document.write('<tr align=center valign=middle><td width=50% bgcolor="#FFFFFF"><font size=4 color=red><b>'+storeLoc[storeNum+3]+'</b></font></td><td width=50% bgcolor="#FFFFFF">Location: <font color=red>'+storeLoc[storeNum+2]+'</font></td></tr></table>');
  document.write('</div>\n<div class="reddot" ID="dot"><IMG SRC="../images/reddot.gif" width=7 height=7 border=0></div>\n');
} else {
  document.write('<center><table cellpadding=3 cellspacing=0 style="border-collapse:collapse; border:1px solid black; font:9px/11px arial;"><tr>');
  var cols=1;
  for (var x=3; x<=m; x=x+4) {
    if (storeLoc[x] != "") {
      document.write('<td align=right bgcolor="#EEEEEE"><nobr>'+storeLoc[x-1]+'</nobr></td><td align=left bgcolor="#FFFFFF">'+storeLoc[x]+'</td>');
      if (cols==3 && x<(m-4)) {
        document.write('</tr><tr>\n');
        cols=0;
      }
      cols++;
    }
  }
  document.write('</tr></table></center>\n');
}
//-->

