var hash = location.hash.substr(1);
if(hash != ''){
var goto_div_id = '';
switch(hash) {
case 'reduce_cost':
goto_div_id = 'themo_html_2';
break;
case 'improve_efficiency':
goto_div_id = 'themo_html_3';
break;
case 'manage_risk':
goto_div_id = 'themo_html_4';
break;
}
$('html, body').animate({
scrollTop: $("#"+goto_div_id).offset().top - 100
}, 2000);
}

Advertisements