this.pushmebabe = function(e, l) {
	$(e).animate({marginTop:'600px'}, 2000, 'swing')
	setTimeout(function(){fuckme(l)}, 500)
	shakeme('img#hide1', 'img#hide2')
}

this.fuckme = function(e) {
	$(e).fadeOut('slow')
}

this.shakeme = function(e1, e2) {
	
	if (!($('div#cache:animated').length)) {
		$(e2).animate({marginTop: '5px'},1000, function(){ kaka = true })
	}
	
	if (kaka) {
		return false;
	}
	
	$(e1).animate({marginTop: '5px'},1000).animate({marginTop: '0'},300)
	$(e2).animate({marginTop: '10px'},500, function (){shakeme(e1, e2)}).animate({marginTop: '0'},200)
}

this.makemebusy = function () {
	var maisnon = setTimeout(function(){ screensaver() }, 15000)
	$(document).mousemove(function(){
		if($('div#saver').length) {
			$('div#saver').remove()
		}
		clearTimeout(maisnon)
		maisnon = setTimeout(function(){ screensaver() }, 15000)
	})
}

this.screensaver = function () {
	$('<div id="saver" style="display:none; text-align: center; position:fixed; top:0; left:0; bottom:0; right:0; background: #000;"></div>').appendTo('body').fadeIn('slow')
	$('<iframe id="meotrix" src="saver.html" style="position: relative; width: 650px; height: 600px; margin:50px 0; background: #000; border:0;"></iframe>').appendTo('div#saver')
}


var kaka = false

$(document).ready(function(){
	makemebusy()
	$('a#neglogo').hover(function(){pushmebabe('div#cache', 'a#neglogo')})
	
})
