/**
 * @author		Peter Riet
 * @copyright	Copyright (c) Serve it V.O.F. 2009
 * @version		1.0.0
 */
function cWijnEnWijnWijnInfo() {
	this.initLetterHovers = function() {
		$(document).ready(function() {
			var strBGEnter = "#F7F7F7", strBCEnter = "#999999", strFSEnter = "66px";
			var strBGLeave = "#FFFFFF", strBCLeave = "#CCCCCC", strFSLeave = "36px";

			$("div.index div.letter")
				.mouseenter(function() {
					if ($.browser.msie) {
						$(this).css({
							backgroundColor: strBGEnter,
							borderTopColor: strBCEnter, borderRightColor: strBCEnter, borderBottomColor: strBCEnter, borderLeftColor: strBCEnter
						});
						$(this).animate({
							fontSize: strFSEnter
						}, 250);
					}
					else
						$(this).animate({
							backgroundColor: strBGEnter,
							borderTopColor: strBCEnter, borderRightColor: strBCEnter, borderBottomColor: strBCEnter, borderLeftColor: strBCEnter,
							fontSize: strFSEnter
						}, 250);
				})
				.mouseleave(function() {
					if ($.browser.msie) {
						$(this).css({
							backgroundColor: strBGLeave,
							borderTopColor: strBCLeave, borderRightColor: strBCLeave, borderBottomColor: strBCLeave, borderLeftColor: strBCLeave
						});
						$(this).animate({								
							fontSize: strFSLeave
						}, 500);
					}
					else
						$(this).animate({
							backgroundColor: strBGLeave,
							borderTopColor: strBCLeave, borderRightColor: strBCLeave, borderBottomColor: strBCLeave, borderLeftColor: strBCLeave,
							fontSize: strFSLeave
						}, 500);
				});
		});
	}
	
	this.initWijnRelHovers = function() {
		$("div.wijnenwijn_gerelateerd_holder div.wijnenwijn_gerelateerd").click(function() {
			window.location.href = $("a", this).eq(0).attr("href");
		});
	} 
}

var objWijnenWijnWijnInfo = new cWijnEnWijnWijnInfo();	