/**
 * --------------------------------------------------------------------
 * jQuery-Plugin "pngFix"
 * Version: 1.1, 11.09.2007
 * by Andreas Eberhard, andreas.eberhard@gmail.com
 *                      http://jquery.andreaseberhard.de/
 *
 * Copyright (c) 2007 Andreas Eberhard
 * Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
 */
function BuyColor()
{	
	var linkBuy = document.getElementById('linkBuy');
	if (linkBuy){
		var arrayColor = new Array();
		arrayColor[0] = '88';
		arrayColor[1] = '22';
		arrayColor[2] = '99';
		arrayColor[3] = '11';
		arrayColor[4] = 'D0';
		
		var r = arrayColor[Math.floor (4 * Math.random())];
		var g = arrayColor[Math.floor (4 * Math.random())];
		var b = arrayColor[Math.floor (4 * Math.random())];
		
		linkBuy.style.color = '#' + r + g + b;
	}
}

$(function() {
	$("#screen .carusel a").fancybox();
	
	$('#screen').each(function () {
		if ($('.carusel ul li', this).length >= 3) {
		    $(".carusel").jCarouselLite({
		        btnNext: ".next",
		        btnPrev: ".prev"
		    });
		}
	});
});
