 
var i=-100;
var timer;
 
function move() {

	document.getElementById('popup').style.top=i+"px";
	i+=10;
	timer=setTimeout("move()",20);
	if(i>=150) {
		clearTimeout(timer);
	}
}
 
function stop(timer) {
	clearTimeout(timer);
}
 
function popup(){
 

	if (location.href.indexOf("?")!=-1){
		var myString = new String(document.location);
		var myArray = myString.split('?'); 
	}else{
		document.getElementById('popup').style.display='block';
		move();
	}
 
}


