/**********/
/* jQuery */
/**********/

$(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'fade',
		pause: 0,
		timeout: 4000
	});
});

$(function() {
	$('#recentcommentslist').jScrollPane();
});


/*************/
/* Publicité */
/*************/

sas_tmstp=Math.round(Math.random()*10000000000);sas_masterflag=1;
function SmartAdServer(sas_pageid,sas_formatid,sas_target) {
 if (sas_masterflag==1) {sas_masterflag=0;sas_master='M';} else {sas_master='S';};
 document.write('<SCR'+'IPT SRC="http://www.smartadserver.com/call/pubj/' + sas_pageid + '/' + sas_formatid + '/'+sas_master + '/' + sas_tmstp + '/' + escape(sas_target) + '?"></SCR'+'IPT>');
}


/**********/
/* Konami */
/**********/

if(window.addEventListener){var kkeys=[],konami="38,38,40,40,37,39,37,39,66,65";window.addEventListener("keydown",function(e){kkeys.push(e.keyCode);if(kkeys.toString().indexOf(konami)>=0){alert('ALL YOU BASE ARE BELONG TO US');window.location="http://www.geekandhype.com/all-your-base-are-belong-to-us/";}},true);}
