well.. .. this should work .. unless you have not modified the header.html template. please check your header.html whether following code exist or not..
function opendetailwindow() {
window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
}