// JavaScript Document
/********************************************Copyrights RAZ**************************************/

function pageLoad(){
$('div.show-second-hidden a.show').click(function(){
		$(this).parent().parent().find('div.second-hidden-div').slideToggle();
		$(this).toggleClass('on');
		$(this).parent().parent().find('div.tooltip-summary').slideToggle();
	});	
	$('.tooltip-main').hover(function(){
		if($.browser.msie && parseInt($.browser.version+"") < 8) {
		    // FIX FOR A STUPID IE7 BUG
		    $(this).find('div.first-hidden-item').stop(true, true).fadeIn(10); 
		} else {
		    // other sane browsers
		    $(this).find('div.first-hidden-item').stop(true, true).show(); 
		}
		     
	}, function(){
		$(this).find('div.first-hidden-item').stop(true, true).fadeOut(10);
});
// give incremental z-indicies to all relative tooltip divs
var z = 1000;
$(".tooltip-main").each(function() {
    $(this).css("z-index", z--);
});
}

