                                       function setDivHeights() {
if (document.all) {
var iLeftHeight = document.getElementById("c600").offsetHeight;
var iRightHeight = document.getElementById("c300").offsetHeight;
}
else {
var iLeftHeight = document.getElementById("c600").clientHeight;
var iRightHeight = document.getElementById("c300").clientHeight;
}
if (iLeftHeight > iRightHeight) {
document.getElementById("c300").style.height = iLeftHeight + "px";
}
else {
document.getElementById("c600").style.height = iRightHeight + "px";
}
}

$(document).ready(function(){
	
    setDivHeights();
    
	$(".grow").hide();
	$(".grow").slideDown("slow");
	
	$(".fade-in").hide();
	$(".fade-in-slow").fadeIn(2000);
	$(".fade-in-med").fadeIn(1500);
	$(".fade-in-fast").fadeIn(1000);
	
	
	$(".more").hide();
	$(".showmore").click(function(){
			$(".more").slideToggle("slow");
			$(".showmore .choices").toggle();
	});
    
    $('.pod ul ').addClass('clean');
    //$('.pod ul li:even a').addClass('highlight');
    $('#recentcomments').removeClass('clean');
    
    $('#l_a').hover( function() { $(this).css('background-position', '0px 20px'); },
     function() {  $(this).css('background-position', '0 0');  } );
    $('#l_t').hover( function() { $(this).css('background-position', '-1px 20px'); },
     function() {  $(this).css('background-position', '-1px 0');  } );   
    $('#l_p').hover( function() { $(this).css('background-position', '-1px 20px'); },
     function() {  $(this).css('background-position', '-1px 0');  } );       
    $('#l_j').hover( function() { $(this).css('background-position', '-1px 20px'); },
     function() {  $(this).css('background-position', '-1px 0');  } );          
    $('#l_n').hover( function() { $(this).css('background-position', '-1px 20px'); },
     function() {  $(this).css('background-position', '-1px 0');  } );   
    $('#l_c').hover( function() { $(this).css('background-position', '-1px 20px'); },
     function() {  $(this).css('background-position', '-1px 0');  } );    
 
     $('#l_h').hover( function() { $(this).css('background-position', '0px 14px'); },
     function() {  $(this).css('background-position', '0px 0');  } );    
     
     s600 =  $('.column600').css('height');
     s300 = $('.column300').css('height');
     s600.replace('px', '');
     s300.replace('px', '');
    // alert('test'+s600);
    // alert('test'+s300);
     if ( s600 >   s300 )  {
   //   alert(s600);   
    //$('.column300').css('height', s600+'px' ) ;
     }
   // $('.column300 .pod:eq(2) h6' ).before('<a class="rss right" href="http://blog.indexventures.com/feed/" ></a>');
});

/* Contact Form Validation */
function validate(form)
{
	if( form.cfName.value == "" || form.cfEmail.value == "" || form.cfComments.value == "" ) 
   { 
	  document.getElementById('message').innerHTML = 'Please fill out name, email and a message.';
	  document.getElementById('message').style.display = 'block';
	  return false; 
   }
}