/**
 * @author Mikael.moller
 */
// prevent IE6 flicker when hover on links with background-image (http://mister-pixel.com)
try {
	document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}


function popupwindow(windowHeight, windowWidth, windowName, windowUri){
    var centerWidth = (window.screen.width - windowWidth) / 2;
    var centerHeight = (window.screen.height - windowHeight) / 2;

    newWindow = window.open(windowUri, windowName, 'resizable=0,scrollbars=yes,width=' + windowWidth + 
        ',height=' + windowHeight + 
        ',left=' + centerWidth + 
        ',top=' + centerHeight);

    newWindow.focus();
    return newWindow.name;
}

