function showVideo()
{
	jQuery.post('/index/video', {}, function(data){
			$.facebox(data);
			});
}


function incrementProfiles(value, isEven)
{
	(isEven==1)?isEven=1:isEven=1;
	value = value+isEven;
	$('#numProfiles').html(outputComma(value));
	setTimeout("incrementProfiles("+value+", "+isEven+")", 333);

}
function outputComma(number) {
	str = number.toString();
	i = str.indexOf(".");
	if (i<1) {
		i=str.length;
	}
	while (i>3) {
		i-=3;
		j = str.charAt(i-1);
		if (j>="0" && j<="9") {
			str = str.substr(0,i) + "," + str.substr(i);
		}
	}

	return str;
}


