if you have a div and want to match anything starting with whatever, you can use it like this:

$('[id^="wallpaper"]').live("click", function(){

as you can see, anything that has an id starting with wallpaper will invoke this function: for example:
<div id="wallpaperama">OK</div>
<div id="wallpaperamas">OK</div>
<div id="wallpapeforyou">FAIL</div>

for more info go to:
http://api.jquery.com/attribute-starts-with-selector/