BaseWidth=480;
NewWindowWidth=BaseWidth-5;
NewWindowHeight=Math.floor(BaseWidth*1.2)-5;
MaxWidth=NewWindowWidth-10;
MaxHeight=NewWindowHeight-10;

function Disp(FileName,Wo,Ho){
  Ratio=Math.min(MaxWidth/Wo,MaxHeight/Ho);
    if(Ratio>1)Ratio=1;
  W=Math.floor(Wo*Ratio);
  H=Math.floor(Ho*Ratio);
  mW=window.open("","NewWindow","width="+NewWindowWidth+",Height="+NewWindowHeight);
  mW.focus();
  mW.document.open();
  mW.document.write("<TITLE>Quantum Racing Suspension</TITLE>");
  mW.document.write("<BODY BGCOLOR='#ffffff'>");
  mW.document.write("<TABLE BORDER=0 WIDTH="+MaxWidth+" HEIGHT="+MaxHeight+" CELLSPACING=0>");
  mW.document.write("<TR><TD ALIGN=CENTER VLAIGN=MIDDLE><A HREF='JavaScript:window.close();'>");
  mW.document.write("<IMG SRC="+FileName+" WIDTH="+W+" HEIGHT="+H+" BORDER=0>");  
  mW.document.write("</A><DIV ALIGN=right><A HREF='JavaScript:window.close();' title='Close'><IMG SRC='../images/close.gif' HEIGHT=21 WIDTH=68 BORDER=0></A></DIV></TABLE>");
  mW.document.close();
}
