From one document inside a frameset, I need to access an element inside another document in the same frame set. By declaring a global variable object within the frameset I should be able to access any element in any document within the frameset.. jsCommon.js contains a function that works fine as long as it is called from the document containing the target element.
I have tried every method I can think of that would create the object
QUESTION: Does anyone know what I need at ???? to create an object of the HTMLdocument named MAIN?

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Poolmann Billiards</title>
<SCRIPT src="JS/jsCommon.js"content[i].text
<script language="JavaScript" type="text/JavaScript">
function jsSetNote()
{ objMAIN = ????;}
<SCRIPT LANGUAGE="JavaScript">jsSetNote()</script>
<frameset cols="*" framespacing="0" border="0" frameborder="0">
<frameset rows="30,*">
<frame name="MENU" src="Home/Index/MENU.htm">
<frame name="MAIN" src="Home/Index/Home.htm">
<body >
<p>This page uses frames, but your browser
doesn't support them.</p>