728     
onclick=”changeFont(this,'{!$Component.thePanel}’);”/>
  Change me!
 
      
 VISUALFORCE and JS CODE:
 onclick=”changeFont(this,'{!$Component.thePanel}’);”/>
Note:
 ‘{!$Component.idName}‘ : This is the way of passing particular visualforce component id into the javascript.