I’m trying to make simple image gallery with html/css and a bit of javascript.It’s all up and working, but one function.

I want that when I open the index.html ‘All’ would be already highlighted by my custom style and if pushed on another button highlight would go to that particular button.
html of a button looks like this
<input type='button' value='Design' class="cat-itiem" id='filterDesign'>
edit: I ended up using OnResolve’s method and it worked just fine!(even for someone who doesn’t know any JS) Thank you all for help 🙂
I’ve created an example with jsfiddle for you with simple jQuery. You can see each aspect (markup, css, and jquery).
http://jsfiddle.net/p5ZUv/7/