<!--//
function ShowPop(url)
{
thiswindow=window.open(url,'PopUpWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,Width=250,height=237,screenX=150,screenY=150,top=50,left=50')
thiswindow.focus()
}
//--> 
<!--//
var win= null;
function NewWindow1(url,wname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=no,statusbar=no,menubar=no,toolbar=no,location=no';
  if(win != null) {win.close();};
  win=window.open(url,wname,settings);
  if(win.window.focus){win.window.focus();}
  //if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
function NewWindowI(url,wname,w,h,scroll){
  // This function puts some html around Image only URLs
  NewWindow1('',wname,w,h,scroll);
  if (url.substring(url.length-4) == ".swf")
  {
    tag = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+w+'" height="'+h+'"><param name="movie" value="'+url+'"><param name=quality value=high><embed src="'+url+'" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed></object>'
  } else {
    tag = '<img src="' + url + '" width="'+w+'" height="'+h+'">'
  }
  win.document.writeln('<html>\n<head>\n<title>Zoomed Image'
  + '</title>\n<style>body{margin:0 0 0 0;}</style>\n'
  + '<script language="javascript" type="text/javascript" '
  + 'src="/js/interdict.js"></script>\n</head>\n'
  + '<body bgcolor=\"black\"><center>'
  + tag
  + '</center></body>\n</html>');
  //win.document.close();
}
//--> 
<!--//
function OpenAnotherWin(szhref){ 
        AnotherWin = window.open(szhref,"AnotherWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=570,height=570"); 
} 
//--> 
<!--//
function OpenAnotherWinModify(szhref){ 
        AnotherWin = window.open(szhref,"AnotherWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=580,height=570"); 
} 
//--> 
<!--//
function OpenMainWin(szhref){ 
        mainWin = window.open(szhref,"AnotherWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=800,height=570"); 
} //-->
