how to open a windows based login dialog using javascript