<!--
function printWin(title,version,txtToPrint)
{
  win = open('','printWin')
  win.document.open()
  win.document.write('<html><head><title>printWin - '+title+'</title><link rel=stylesheet href="../style.css"></head><body><br><br><br><p align="center" style="font-size:36pt"><img src="../images/embedded.gif" border="0" width="540" height="100" ALT="embedded-os.de"><br><br><br><br><i><u>'+title+'</u><br><br>'+version+'</i></p><br><br><br><br><br><br><br><br><br>')
  win.document.write('<dir><p><u>Haftungsausschlu&szlig;</u><br>Der Autor &uuml;bernimmt keinerlei Haftung f&uuml;r durch diesen Code entstandene oder entstehende Sch&auml;den an Hard- und Software. Er versichert lediglich, da&szlig; er den Code vielf&auml;ltigen Testīs auf unterschiedlicher Hardware unterzogen hat, um seinerseits keine Fehler bestehen zu wissen. Sollten dennoch Fehler auftauchen oder Vorschl&auml;ge zur Verbesserung des Codes an den Autor weitergegeben werden, so ist dieser bestrebt, Fehler schnellstm&ouml;glich auszumerzen oder Vorschl&auml;ge einzuarbeiten.<br><br>')
  win.document.write('<u>liability exclusion</u><br>The author takes over no liability for through this code originated or emerging damages to hardware and software. He assures merely that he subjected the code of diverse tests on different hardware, about for his part no mistakes to know exists. Mistakes nevertheless should appear or suggestions are passed on at the author to the improvement of the code, so this is striving, mistakes fastest to wipe out or to incorporate suggestions.<br></dir><h1 style="page-break-before:always"></h1>')
  win.document.write(txtToPrint)
  win.document.write('<h1 style="page-break-before:always"></h1><h1>Comments</h1><hr><br><h1 style="page-break-before:always"></h1><h1>Comments</h1><hr><br>')
  win.document.write('</body></html>')
  win.document.close()
  win.print()
//  win.close()
}

var openiPop = null;

function pCPop(img,imga,w,h,ttl) {
  var toobig=false
  w+=50
  h+=50
  str=location.href
  if(imga=='') { imga=img }
  if(str.indexOf("embedded-os.de")>-1)
    if(browser.r_op7) iPopURL='http://www.embedded-os.de/scripts/ipop_o.html'	// set as WAN location of ipop.html
    else iPopURL='http://www.embedded-os.de/scripts/ipop.html'
  else if(browser.r_op7) iPopURL='../photos/ipop_o.html'			// set as LOC location of ipop.html
       else if(browser.ie || browser.r_op7) iPopURL='../scripts/ipop.html'	 
            else iPopURL='../scripts/ipop.html'	
  url = iPopURL + '?' + img  + '|' + imga + '&' + (ttl ? escape(ttl) : '')
  if(w>screen.width) { w=screen.width-40; h+=20; toobig=true }
  if(h>screen.height) { h=screen.height-40; w+=20; toobig=true }
  l=(screen.width-w)/2
  t=(screen.height-h)/2
  if(browser.r_op7){t-=50; l-=50}
  attribs='width='+(w)+',height='+(h)+',left='+l+',top='+t 
  if(toobig) attribs+=',scrollbars=yes,scrollbars'
  if(openiPop) { if(openiPop.close) openiPop.close(); openiPop=null }
  openiPop=open(url,'imgWin',attribs)
}
//-->
