write javascript

Avg Bid (AUD)
$15 / hr
Project Budget (AUD)
$5 - $20 / hr

Project Description:
I have an eCommerce site I'm developing. I need a small amount of javascript written. Some of my categories only have one product. I would like to skip over the 'list of products in this category' page and go straight to the ony product in that category.

See 'bookcases' here as an example: http://bevisco.businesscatalyst.com/products/storage

So I think I need to
1. check inside a div class for the number of
2. and if that number is 1, get the href attribute from that product
3. and navigate to that page.

The script can be an external sheet that I include in, or I can paste the script directly into, my products layout template.

I would appreciate the code written in the most efficient way.

Hours of work: 1 Project Duration: < 1 week Skills required:
HTML5, jQuery / Prototype
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

Hire PrajwalShetty
$12 / hr
Hours: 3 hr/ week
$10 / hr
Hours: 48 hr/ week
$20 / hr
Hours: 2 hr/ week
Hire innovation2007
$20 / hr
Hours: 25 hr/ week
$15 / hr
Hours: 4 hr/ week
Hire alethes
$12 / hr
Hours: 3 hr/ week
$18 / hr
Hours: 40 hr/ week