/* functions.js */


function openwin(url, width, height) {
        var name = "popup"; // popup name
        var width = width; // popup width
        var height = height; // popup height
        var left = (screen.width - width) / 2 ;
        var top = (screen.height - height) / 2;
        var windowproperties = "width="+ width +",height="+ height +",left="+ left +",top="+ top +",scrollbars=1";
        window.open(url, name, windowproperties);
}