function keyHandler(e) {
	
	var key = window.event ? e.keyCode : e.which;
switch(key){
		case 27:
		{
		_gaq.push(['_trackEvent', "Keyboard", "Bosskey"]);
		$('body').toggle();
		}
		break;
		case 37:
		if (prev!= ""){
		_gaq.push(['_trackEvent', "Keyboard", "PrevKey"]);
		document.location.href = prev;
		}
		break;
		case 39:
		if (next!= "")
		{
		_gaq.push(['_trackEvent', "Keyboard", "NextKey"]);
		document.location.href = next;
		}
		break;
		case 16:
		{
		if (image_page ==1){
    		_gaq.push(['_trackEvent', "Keyboard", "random"]);
    		document.location.href = "/random";
		}
		}
		break;
	}
}
