function step_it(){
the_stepper=null;
in_tour=true;
anima_tour=true;
document.getElementById("tour_state").innerHTML = "Pause Tour" ;
// console.log(document.getElementById("tour_state").style.visability);
the_stepper=setInterval(stepper, 100);
}
function highlight(x){
gviewer.selectedEntity=all_buildings[this_tour[x]];
if (x>0) {
all_buildings[this_tour[x-1]].description=last_description;
all_buildings[this_tour[x-1]].name=last_name;
selected_holder=gviewer.selectedEntity;
last_name=name_desc[this_tour[x]][0];
last_description=name_desc[this_tour[x]][1];
parent.SiteClick(last_description);
gviewer.selectedEntity.description="";
gviewer.selectedEntity.name="";
}
}
function stepper(){
var this_ratio=(present_count-100)/2000;
var increment_long=end_long-start_long;
var increment_lat=end_lat-start_lat;
var this_long;
var this_lat;
var tour_center;
var ipoi;
if (present_count<50) {
this_long=start_long;
this_lat=start_lat;
if (present_count==tour_POIs[0]) {
console.log("position 0");
highlight(0);
}
} else if (present_count