function swapLook(look) {
	$(document.body).attr('className', look);
}

function getSites(s) {
	var sites = $('#page-clients li');
	var group = new Array();
	var items = 3;
	for(var i = 0; i < items; i ++) {
		var c = sites[s + i];
		if(!c) {
			s = 0;
			c = sites[s];
		}
		group[i] = new Object();
		group[i].name = $(c).find('a:first').html();
		group[i].link = $(c).find('a:first').attr('href');
		group[i].img  = $(c).find('img:first').attr('src');
		group[i].txt  = $(c).find('.text:first').html();
	}
	group[items] = sites.length;
	return group;
}

function getContent(e) {
	return $('#' + e).html();
}

function sendContactForm(o) {
	$.post('/mail.php', o);
}