function popup(id,w,h) { 
var winl = (screen.width - w) / 2; 
var wint = (screen.height - h) / 2; 
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no ,resizable=no' 
window.open('inc/inhalt/popup/index.php?id='+id, 'popup', winprops) 
//if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } 
} 
