I need to open modal dialog box when my html page opens.
my dialog opens on clicking a link.

this is the script.

//initializes object utilities
myutil= new my_utilities();
myutil.mydialog('modaldialog1',{top:165, width:110});

<a href="#" class="dialog-modaldialog1" >click dialog</a>

<div id="modaldialog1">
place content here

this is the code i have i html page. how do i make my modal dialog appear when i open my html page.
Please........help me out

I am new to this area of technology, i have been doing lot of google...but everything has href tag.
i just don't get this javascript part. I got to submit my page.