﻿document.writeln("<div id=\"m\" style=\"position:absolute;width:716px; z-index:100;background-color: #A7A6AA;right:0;bottom:0;height:430px; overflow: hidden;\">");
document.writeln("	<div style=\"height:20px;FONT-SIZE:12px;line-height:20px;cursor:default;color: #0369cb;\">");
document.writeln("		<div style=\"float:left; cursor:pointer;margin-left:2px\">　<a onclick=\"Go()\">隐藏<\/a>\/<a onclick=\"Po()\">打开<\/a><\/div>");
document.writeln("		<div style=\"float:right;width:630px;text-align:right;\">听音乐 V 1.0<\/div>		");
document.writeln("	<\/div>");
document.writeln("	<div style=\"width:716px;height:auto;overflow: hidden;background-color: #000;float: right;\">");
document.writeln("		<iframe style=\"float: right;\" src=\"http:\/\/www.google.cn\/music\/top100\/player_page\" width=\"716\" height=\"410\" scrolling=\"no\" marginwidth=\"1\" marginheight=\"1\" name=\"music\" border=\"0\" frameborder=\"0\"><\/iframe>");
document.writeln("	<\/div>");
document.writeln("<\/div>")

var O=document.getElementById('m')
var H=parseInt(O.style.height);
var W=parseInt(O.style.width);
var t=H;
var d=W;
var te;



function scall(){
document.getElementById("m").style.top=(document.documentElement.scrollTop+document.documentElement.clientHeight-document.getElementById("m").offsetHeight)+"px";
document.getElementById("m").style.left=(document.documentElement.scrollLeft+document.documentElement.clientWidth-document.getElementById("m").offsetWidth)+"px";
}
window.onscroll=scall;
window.onresize=scall;
window.onload=scall;





function Go()
{
  if(t<=20) { O.style.height="20px"; Go2(); return;}

  clearTimeout(te);
  O.style.height=(--t)+"px";
  te = window.setTimeout("Go()",1);
  scall();
}

function Go2()
{
  if(d<=85) { O.style.width="85px"; return;}
 
  clearTimeout(te);
  O.style.width=(--d)+"px";
  te = window.setTimeout("Go2()",1);
  scall();
}

function Po()
{
  O.style.display="";
  if(d>=W) {Po2(); return;}
  clearTimeout(te);
  O.style.width=(++d)+"px";
  te = window.setTimeout("Po()",1);
  scall();
}

function Po2()
{
  O.style.display="";
  if(t>=H) {return;}
  clearTimeout(te);
  O.style.height=(++t)+"px";
  te = window.setTimeout("Po2()",1);
  scall();
}
