<!-- Hide script from old browsers
/*omöjliggör högerklickning*/
function hideCode(){
	document.oncontextmenu = function(){return false}
	if(document.layers){
		window.captureEvents(Event.mousedown);
		window.onmousedown = function(e){
		if(e.target==document)return false;
		}
	}
	else{
		document.onmousedown = function(){return false}
	}
}

/*visa dagens datum på sidan*/
function getDate(){
	var now = new Date();
	var month = now.getMonth()+1;
	var date = now.getDate();
	if((month/10) < 1){
		month = "0" + month;
	}
	if((date/10) < 1){
		date= "0" + date;
	}				
	document.write(now.getYear() + "-" + month + "-" + date);
}
//end hiding script from old browsers-->