<head>

<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">

<meta http-equiv="Content-Style-Type" content="text/css">

<meta http-equiv="Content-Script-Type" content="text/javascript">

<title>魔法使いpapi</title>

<style type="text/css">

<!--

body { margin-left: 1em; margin-right: 1em; 

    color: black; background-color: white; }

h1 { font: bold 10px Verdana; }


#papi { position: absolute; left: 0px; top: 0px; }


#msg { position: absolute; left: 600px; top: 800px;

  white-space: nowrap; font: 2.5em Verdana; }

-->

</style>

<script type="text/javascript">

<!--

function randomMove () {

    if(!document.getElementById) return;

    var obj = document.getElementById("papi");

    var left = Math.ceil(Math.random() *

                 (winWidth() - 36) );

    var top  = Math.ceil(Math.random() *

                 (winHeight() - 43) );

    obj.style.left = scrollLeft() + left + "px";

    obj.style.top  = scrollTop() + top  + "px";

    setTimeout("randomMove();", 5000);

}


function winWidth () {

    if(window.innerWidth)

        return window.innerWidth;

    if(document.compatMode == "CSS1Compat")

        return document.body.parentNode.clientWidth;

    if(document.body.clientWidth)

        return document.body.clientWidth;

    return 600;

}

function winHeight () {

    if(window.innerHeight)

        return window.innerHeight;

    if(document.compatMode == "CSS1Compat")

        return document.body.parentNode.clientHeight;

    if(document.body.clientHeight)

        return document.body.clientHeight;

    return 400;

}

function scrollLeft () {

    if(window.pageXOffset)

        return window.pageXOffset;

    if(document.compatMode == "CSS1Compat")

        return document.body.parentNode.scrollLeft;

    if(document.body.scrollLeft)

        return document.body.scrollLeft;

    return 0;

}

function scrollTop () {

    if(window.pageYOffset)

        return window.pageYOffset;

    if(document.compatMode == "CSS1Compat")

        return document.body.parentNode.scrollTop;

    if(document.body.scrollTop)

        return document.body.scrollTop;

    return 0;

}

//-->

</script>

</head>

<body onload="randomMove();">

<p>

<img id="papi" src="http://blog-imgs-11.fc2.com/h/e/r/herorisa/papi13.gif" width="31" height="39" alt="papi">

</p>

<h1 lang="en"><center><a href="http://herorisa.blog48.fc2.com/" target="_blank"><img src="http://blog-imgs-11.fc2.com/h/e/r/herorisa/herorisa50*50.gif" alt="" border="0"><br>HeroRisa</a>

<br>

<a href="http://www.pata2.jp/index.html" target="_blank"><img src="http://blog2.fc2.com/f/furorisa/file/sky-banner7.gif" alt="ぱたぱたアニメ館" border="0">

<br>GIFアニメ</a></center></h1>

<p id="msg" lang="en">

</p>

</body>