// holds all of the divs
var imgDivs = null;

// loadup the doc and give things events:
window.onload = function() {
	// init the array of elements
	currentElement = new Array();
	
	// get all the image divs
	imgDivs = document.getElementsByTagName('div');
	
	// loop the divs and give events to the list
	for(var i = 0; i < imgDivs.length; i++) {
		// check if it needs an event:
		if(imgDivs[i].className == 'indexImage') {
			// get this element's list items
			providers = imgDivs[i].getElementsByTagName('li');
			
			// loop the provider list and hand out events
			for(var j = 0; j < providers.length; j++) {
				// set the default height
				providers[j].style.height = "50px";
				
				// create a larger click area
				providers[j].onclick = function() {
					location.href = this.getElementsByTagName('a')[0].href;
				}
			}
		}
	}
}