title: asp fpdf trying to output a image assigned to a variable
body: <p>this is the code i used to display image in the header. the problem i have is i want to use a variable for the image, when i put the variable name instead of the image name i get an error:</p>
  
  <p>Microsoft JScript runtime error '800a138f'</p>
  
  <p>'undefined' is null or not an object</p>
  
  <p>/EKtestdb/fpdf/fpdf/includes/Basics.asp, line 121 </p>
  
  <pre><code>    this.Header=function Header() 
    { 
    this.SetY (10) 
    this.SetFont ("Times","",10) 
    //this.Cell (45,5, "HEADER", 0, 0, "L") 
    this.SetFont ("Times","b",14) 
    //this.Cell (190,5, this.title, 0, 0, "C") 
    this.Cell (190,20, this.title, 0, 0) 
    this.SetFont ("Times","",10) 
    this.Image('logoSM1.jpg',165,3,33) 
    this.Image( techpic ,165,3,33)
  </code></pre>
  
  <p>this is the code for basics.asp line 121:</p>
  
  <pre><code>this.strrpos=function strrpos(s,ch){ 
   res = s.lastIndexOf(ch) 
   if (res&gt;0-1){return res}else{return false} 
  } 
  this.strpos=function strpos(s,ch,start){ 
   if (arguments.length&lt;3){start=0} 
   res = s.indexOf(ch,start); 
   if (res&gt;-1){return res}else{return false} 
  }
  </code></pre>
  
  <p>if you just want to display an image this line should work:</p>
  
  <pre><code>this.Image('logoSM1.jpg',165,3,33)
  </code></pre>
  
  <p>but for using a variable instead of image name can someone help with this?</p>