function setCSS(){
	if(navigator.userAgent.indexOf('MSIE') == -1){
		document.getElementById('navmenu').style.position = 'fixed';
		document.getElementById('navmenu').style.left = '86px';
	}
}


function moveSiggi(){
	
	if(x>getWindowHeight()-150){
		directionX=1;
	}
	if(x<0){
		directionX=0;
	}
	if(y>getWindowWidth()-150){
		directionY=1;
	}
	if(y<0){
		directionY=0;
	}
	if(directionX<=0){
		x=x+1;
	}else{
	    x=x-1;
	}
	if(directionY<=0){
		y=y+1;
	}else{
	    y=y-1;
	}
	document.getElementById("siggi").style.top = x + "px";
	document.getElementById("siggi").style.left = y + "px";
}

function getWindowWidth() {
	  if (window.innerWidth) {
	    return window.innerWidth;
	  } else if (document.body && document.body.offsetWidth) {
	    return document.body.clientWidth;
	  } else {
	    return 0;
	  }
	}

	function getWindowHeight() {
	  if (window.innerHeight) {
	    return window.innerHeight;
	  } else if (document.body && document.body.offsetHeight) {
	    return document.body.clientHeight;
	  } else {
	    return 0;
	  }
	}