function getUrlVars()
{
    var vars = [], hash;
    var scVar = "focus";

    var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
    for(var i = 0; i < hashes.length; i++)
    {
        hash = hashes[i].split('=');
        vars.push(hash[i]);
        vars[hash[i]] = hash[i];

        if(hash[0]==scVar){
            return hash[1];
        }

    } 
    
}

function gotoBottom(){
	if(getUrlVars()==1){
		self.location.href="#focus1";
	}
}
