var bookwin = null;
var noteswin = null;
var subwin = null;
var morph = null;
var whatever1 = screen.width;
var whatever2 = screen.height;

function bkwmilonic(url)
{
bookwin=window.open(url,"bookwin","width="+whatever1 * 0.95+", height="+whatever2 * 0.9+",left=15,top=15,menubar=no,scrollbars=yes,toolbar=no,status=no");
bookwin.focus();
}

function bkw()
{
bookwin=window.open("","bookwin","width="+whatever1 * 0.95+", height="+whatever2 * 0.9+",left=15,top=15,menubar=no,scrollbars=yes,toolbar=no,status=no");
bookwin.focus();
}

function nwmilonic(url)
{
noteswin=window.open(url,"noteswin","width="+whatever1 * 0.5+", height="+whatever2 * 0.5+",left=98,top=45,menubar=no,scrollbars=yes,toolbar=no,status=no");
noteswin.focus();
}

function nw()
{
noteswin=window.open("","noteswin","width="+whatever1 * 0.5+", height="+whatever2 * 0.5+",left=98,top=45,menubar=no,scrollbars=yes,toolbar=no,status=no");
noteswin.focus();
}

function sbwmilonic(url) 
{ 
subwin=window.open(url,"subwin","width="+whatever1 * 0.75+", height="+whatever2 * 0.6+",left=60,top=45,menubar=yes,location=yes,scrollbars=yes,toolbar=yes,status=no"); 
subwin.focus(); 
} 

function sbw() 
{ 
subwin=window.open("","subwin","width="+whatever1 * 0.75+", height="+whatever2 * 0.6+",left=60,top=45,menubar=yes,location=yes,scrollbars=yes,toolbar=yes,status=no"); 
subwin.focus(); 
} 

function sbwhome() 
{ 
subwinhome=window.open("","subwinhome","width="+whatever1 * 0.75+", height="+whatever2 * 0.6+",left=60,top=45,menubar=yes,location=yes,scrollbars=yes,toolbar=yes,status=no"); 
subwinhome.focus(); 
} 

function sbwmain() 
{ 
subwin=window.open("","subwin","width="+whatever1 * 0.75+", height="+whatever2 * 0.6+",left=60,top=45,menubar=yes,location=yes,scrollbars=yes,toolbar=yes,status=no"); 
subwin.focus(); 
} 

function mrw()
{
morph=window.open("","morph","width="+whatever1 * 0.8+", height="+whatever2 * 0.65+",left=70,top=45,menubar=no,location=yes,scrollbars=yes,toolbar=yes,status=yes");
morph.focus();
}

function exitsite()
{
if (bookwin)
{bookwin.close()}
if (noteswin)
{noteswin.close()}
if (subwin)
{subwin.close()}
if (morph)
{morph.close()};
window.open('../../close.htm', '_self');
}

function clearsubs()
{
if (bookwin)
{bookwin.close()}
if (noteswin)
{noteswin.close()}
if (subwin)
{subwin.close()}
if (morph)
{morph.close()};
}



