<script languate="javascript" type="text/javascript">
//Get the values from the url variable id
//(getUrlVars Code URL: http://snipplr.com/view/19838/get-url-parameters/)
function getUrlVars()
{
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value){
vars[key] = value;});
return vars;
}
//scroll to the specific div, assuming each div is named "div_(number)"
function scrollToID()
{
document.getElementById("div_" + id).scrollIntoView();
}
var id = getUrlVars()["id"];
window.onload=scrollToID(id);
</script>