addClass whithout events or commands

addClass whithout events or commands

I have a div that needs to be hidden or not as returned value from the database , suppose when logging into the system is loaded in the user session

index.html

< html>
< head>
<title > test < / title>

< ? php
$ admin = 1;

if ($ admin == 1 ) { ? >

<script type = "text / javascript" >
$ ("# divMeu " ).show () ; // << == How to run this event without using .click events
</ script>

< ? php} else { ? >

<script type = "text / javascript" >
$ ("# divMenu " ).hide () ; // << == How to run this event without using .click events
</ script>

< ? php} ? >

</ head>
< body>
< div class = " menuShow " id = " divMenu ">
< span> Show Menu < / span >
</ div >
</ body >
</ html>

It is possible ?