//Deleted show which seems to be obsolete image popup display mechanism

//Deleted show1 which seemes to be obsolete image popup display mechanism

 function show2(pagetoload) {	//Handles color charts and hat sizing popups
  var winleft=(document.width-500)/2;
  var winprops='status=1,scrollbars=1,resizable=1,width=700,height=450,top=100,left=100';
  var win = window.open(pagetoload, 'newWin',winprops);
  if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
 function show3(pagetoload) {
  var winleft=(document.width-500)/2;
  var winprops='status=1,scrollbars=1,resizable=1,width=300,height=500,top=100,left=300';
  var win = window.open(pagetoload, 'newWin',winprops);
  if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
 function show4(pagetoload) {    //Edited by BM on 17 Feb 2011 and on 19 Aug 2011 This shows 500x images in a popup window
  var winleft=(document.width-500)/2;
  var winprops='status=1,scrollbars=0,resizable=1,width=550,height=550,top=200';
  var win = window.open('', 'newWin',winprops);
  var doc = win.document;
  doc.open("text/html", "replace");
  doc.write("<!DOCTYPE HTML><HTML><HEAD><TITLE>Product Image Close-up</TITLE><meta name=\"robots\" content=\"noindex\" /></HEAD><BODY><center><font face=\"arial\"><a HREF=\"javascript:close('')\"><b>Click here to close this window</b></a><br /><font size=\"-1\">Image may take a few moments to load</font><br /><br /><a HREF=\"javascript:close('')\"><img height=\"500\" width=\"500\" style=\"border:0px;\" alt=\"Product Image Close-Up\" src=\"../Merchant2/"+pagetoload+"\" /></a></font></center></BODY></HTML>");
  doc.close();
}
 function show5(pagetoload) {	//Added by BM on 26 July 2011 for the PayPal footer link popup
  var winleft=(document.width-500)/2;
  var winprops='status=1,scrollbars=0,resizable=1, width=410, height=450';
  var win = window.open(pagetoload, 'newWin',winprops);
  if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
