<script language="javascript">
function totopbottom() {
// if (document.body.scrollTop == 0) { 오유에는 이렇게 되어 있지만...
if (document.documentElement.scrollTop == 0) {
window.scrollTo(0,document.body.scrollHeight);
} else {
window.scrollTo(0,0);
}
}
function topbottom() {
document.body.ondblclick = totopbottom;
}
</script>

Leave a Reply