Popup Load Automatically

Hi, i am new here and don;t know much about Javascript. I have the following code which is written in javascript, i want to to run this code automatically after 2 or 3 seconds when my page is fully loaded in browser.
<script type="text/javascript">
var uid = '236690';
var wid = '490105';</script>
<script type="text/javascript" src="//cdn.popcash.net/pop.js">