function popGame(w,h) {
 if(screen.width) {
  x = (screen.width-w)/2 - 10
  y = (screen.height-h)/2 - 20
 }
 else {
  x = 150
  y = 100
 }
 window.open('bubble_trouble_full.htm','games_games','resizable,width='+w+',height='+h+',top='+y+',left='+x)
}
function halfwin(w,h) {
 if(screen.availWidth) {
  x = (screen.availWidth-w)/2
  y = (screen.availHeight-h)/2
 }
 else {
  x = 150
  y = 100
 }
 window.open('bubble_trouble_half.htm','games_games','resizable,width='+w+',height='+h+',top='+y+',left='+x)
}
