﻿/* ============================
DotControl copyright 2010
by Anton P.
==============================*/


function applyFixes() {
	$('.news .DCSiteAgendaRecent .Item').equalHeight();

	// Determine if it is new skin
	var empty = $('.news').find('.DCSiteAgendaSingle').length + $('.news').find('.DNNEmptyPane').length;
	if (!empty) {
		$('.Content').addClass('news');
	}
	else {
		$('.Content').addClass('default'); 
	}
}


function GetImage(path) {
	$.get(path + 'RandomImage.ashx', function (data) {
		$('#rotator').hide();
		$('#rotator').attr('src', path + data).fadeIn(1500);
	});
}



