$(function () {$('a[rel*=external]').click(function () {window.open(this.href); return false;});});
$(document).ready( function(){
    $(window).scroll(function() {
        return;
        var st=0;
        if(typeof pageYOffset!= 'undefined'){
            //most browsers
            st = pageYOffset;
        } else {
            var B = document.body; //IE 'quirks'
            var D = document.documentElement; //IE with doctype
            D = (D.clientHeight)? D: B;
            st = D.scrollTop;
        }

        if (st > 270) {
            var newmargin= (st-270 + 30) + "px"
            $(".scrollable").stop(false,false).animate({marginTop: newmargin}, 500);
        } else {
            $(".scrollable").stop(false,false).animate({marginTop: "20px"}, 500);
        }
    });
});
