var ginfoWind;
function fnRetailerTour(htpx,widpx){
var infoWind;
var locationStr;
var htpx,widtx;
if ( htpx == "")
   { htpx = "HEIGHT = 375";}
else
   { htpx = "HEIGHT = " + htpx;}   
if ( widpx == "")
   { widpx = "WIDTH = 400";}   
else
   { widpx = "WIDTH =" + widpx;}
           
if (infoWind)
   {
       infoWind.focus();
       infoWind.location.hash = hashAnchor;
   }
   else
   {
   infoWind = window.open("../index_timet_retail.htm","InfoWindow",htpx+","+widpx+" top=0,left=0,dependent,resizable,alwaysRaised,menubar=0,scrollbars=yes,directories=0");
// this is to declare a global object variable so that the window can be closed using onunload function in the body tag
    ginfoWind = infoWind;
//   infoWind.mainFrame.location="../timet_retail.htm"
   //infoWind.mainFrame.location.refresh();
   infoWind.focus();

   }

}
