Why don't you use the javascript above to call the vb script:
<SCRIPT language="JavaScript">
<!--
setTimeout('window.location = "vbscript url here"', 300000);
//-->
</SCRIPT>