Help with autorun cd and html

i have a flash movie i wanna launch from a cd… i know how to do it normally, but i dont want toolbars and such… i can do this with javascript, but it is usually from a splash page which includes some of the script… who knows how to include all the appropriate code in just the one html file so that when executed it is the proper size and has no scroll, menu, and so forth?

nm ill just use this script… it leaves a small window open… anyone know the function to automatically close a window?

<head>

<script language=“JavaScript”>

window.moveTo(0,0);
window.resizeTo(0,0);

function newWindow(url, height, width) {
nameW=‘feature’
if (navigator.appVersion.indexOf(‘4’) != -1) {
// Vars for centering the new window on Version 4 Browsers
xTop = screen.width/2 - (width/2);
yTop = screen.height/2 - (height/2);
window.open(url, nameW, ‘height=’+height+’,width=’+width+’,scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=’ + xTop + ‘,top=’ + yTop + ‘’);
} else {
window.open(url, nameW, ‘height=’+height+’,width=’+width+’,scrollbars=0,resizable=0,menubar=0,toolbar=0,status=0,location=0,directories=0,left=150,top=200’);
}
}
</script>

</head>

<BODY ONLOAD=“newWindow(‘test2.html’,400,600);”>

</body>

</html>

self.close()

you can call it from flash:
[AS]on(release){
getURL(‘javascript:self.close()’);}[/AS]