function showPano(filename) { var swidth = screen.width var widthleft = swidth - 510 var codestr codestr = 'window.open(' + '"' + filename + '"' + ',' + '"' + 'TransInfo' + '"' + ',' + '"' + 'height=409,width=495,menubar=no,top=5,scrollbars=no,resizable=yes,left=' + widthleft + '"' + ')' eval(codestr); } function showPanofull(filename) { var codestr var swidth = screen.width if (swidth>=800) { codestr = 'window.open("' + filename + '&big=true","TransInfo","height=470,width=796,menubar=no,top=5,scrollbars=no,resizable=no,left=0")'; } else { codestr = 'window.open("http://display.maxvr.com/mapviewer/popnc.asp?ident=AA371-131&nc=1","TransInfo","height=409,width=495,menubar=no,top=5,scrollbars=no,resizable=yes,left=' + widthleft + '")'; } eval(codestr); } var popupcode popupcode = ''; document.write(popupcode);