function scroll_history(e){
e = e || window.event;
var dir = e.wheelDelta || e.detail;
if(dir > 0){
scroll_history_id --;
}
else{
if(dir < 17){
scroll_history_id ++;
}
}
//console.log($("history_holder").scrollTop);
var current_screen_width = document.body.clientWidth;
if($("history_holder").scrollTop<1722 / max_screen_width * current_screen_width){
$("history_year").innerHTML = "2016
|
2011";
}
if($("history_holder").scrollTop>1722 / max_screen_width * current_screen_width && $("history_holder").scrollTop<2622 / max_screen_width * current_screen_width){
$("history_year").innerHTML = "2010
|
2006";
}
if($("history_holder").scrollTop>2622 / max_screen_width * current_screen_width && $("history_holder").scrollTop<3522 / max_screen_width * current_screen_width){
$("history_year").innerHTML = "2005
|
2001";
}
if($("history_holder").scrollTop>3522 / max_screen_width * current_screen_width){
$("history_year").innerHTML = "2000
|
1994";
}
//location.hash = "#event_" + scroll_history_id;
}
function highlight_intro_map_button(obj){
obj.style.borderColor = "#084271";
}
function dehighlight_intro_map_button(obj){
obj.style.borderColor = "#eaeaea";
}
function show_map(id){
$("intro_map").style.backgroundImage = "url('images/intro_map_" + id + ".jpg')";
}
function init(){
}