function setmsg(msg) {   
               window.status = msg;
               return true;
          }
function flipleft(num) {
     if (document.images) {
          document.left.src = "boxes/left_" + num + ".gif";
          }
}



function loadPainting(URL,w,h,name) {
  var width= w;
  var height=h;
  if (navigator.appName == "Microsoft Internet Explorer")
        {
                if (navigator.userAgent.indexOf("Mozilla\/4") != -1)
                {
                height = height +2
                }
        }
  else if (navigator.appName == "Netscape")
        {
                height = height +4
        }
  var newWin = open(URL,name,'width='+width+',height='+height+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
  if (navigator.userAgent.indexOf("Mozilla/2") != -1) {
    if ((navigator.userAgent.indexOf("Mac") != -1) || (navigator.userAgent.indexOf("X11") != -1)) {
      newWin = window.open(URL, name)
    }
  }
//  newWin.creator=self;
}

