//function openFlyer(flyerPath)

var newWin3 = null
function openFlyer()
{
      //  window.open(flyerPath,'Flyer','width=360,height=540,status=0,toolbar=0,location=0,menubar=0,resizable=0');

      // bring the sub window to focus if already opened and not closed yet

      if(newWin3 && !newWin3.closed) {
         newWin3.focus()
         return true
     }

      newWin3 = window.open("", "", "width=400,height=600,status=0,toolbar=0,location=0,menubar=0,resizable=0");
      var content = "<html> <title> Padala Charitable Trust Flyer </title>"
      content += "<body bgColor='lightblue'>"

      content += "<img border=0 align='center' src='../images/PCT_flyer1.jpg' width='360' height='540'>"
      content += "<br> <center> <form> <input type='button' name='close' "
      content += "value='Close Me' onClick='window.close()'>"
      content += "</center> </form> </body> </html>"

      newWin3.document.write(content)
      newWin3.document.close()		//closes the output steam for newWin3

}
