
function viewer(url,code){
var h = 520
var w = 400
if(url=='video'){
h = 550
w = 510
// Turn off background music
//pause()
}
if(url=='gallery'||url=='video'){
url = url + '.html'+"?="+code
}else{
url = 'words/' + url + '.html'}
thewin=window.open(url,"view","toolbar=no,scrollbars=yes,width="+w+",height="+h)
thewin.moveTo(screen.width/2-(w * .5),10)
// Tune on video window checker
if(url.indexOf('video')!=-1){
//musicOn()
}
}
