function is_ie6or7() {
	if ($.browser.version < 8 && $.browser.msie) {
		return true;
	} else {
		return false;
	}
};

/* qtip styles */
/* default qtip styles, other inherit from this */
$.fn.qtip.styles.smories = {
    padding: 5,
    border: {
     width: 7,
     radius: 5
    },
    tip: 'bottomLeft',
    name: 'cream'
};

$.fn.qtip.styles.yellow = {
    color: '#A76511',
    name: 'smories'
};

$.fn.qtip.styles.green = {
    background: '#CF9',
    color: '#1B3F1F',
    border: { color: '#A8DF71' },
    name: 'smories'
};

$.fn.qtip.styles.red = {
    background: '#FFC2CD',
    color: '#B01E29',
    border: { color: '#FF7E7E' },
    name: 'smories'
};

if (is_ie6or7()) {
	y_adjust = 20;
	x_adjust = -10;
} else {
	y_adjust = -64;
	x_adjust = 0;
};

qtip_position = {
	corner: {
		target: 'topRight',
		tooltip: 'bottomLeft'
	},
	adjust: {
		y: y_adjust,
		x: x_adjust
	}
};

/* config for the addthis.com widget */
var addthis_config = {
          services_compact: 'email, facebook, twitter, more',
          services_exclude: 'print'
};

