I'm assuming you are talking about serverside VBScript and client side JS, then you can do something like this:
<%@ Language=VBScript %>
<%
Dim myVBVar
myVBVar = "xxx"
%>
<html>
<head>
<title>My Website</title>
<Script language = "Javascript">
<!--Hide from old browsers
var myJSVar = "<% = myVBVar %>";
alert(myJSVar);
//-->
</Script>
</head>
<body>
my page
blah
more of my page
</body>
</html>
"People who think they know everything are a great annoyance to those of us who do."