Var notationmsg = 'prompt information'; // Define prompt information // Add hidden layer
VAR div = document.createElement ('div "; div.id =' notation '; var str_n ='
VAR Divtop, Divleft, Divwidth, DivHeight, Docheight, DocWidth, Objtimer, i = 0; function getmsg () {//alert (DIV.outerHTML); try {//window.open ("top.aspx", "topmusic " );.. divTop = parseInt (document.getElementById ( "Notation") style.top, 10) divLeft = parseInt (document.getElementById ( "Notation") style.left, 10) divHeight = parseInt (document.getElementById ( "Notation ") .offsetHeight, 10) divWidth = parseInt (document.getElementById (" Notation. ") offsetWidth, 10) docWidth = document.body.clientWidth;. docHeight = document.body.clientHeight; document.getElementById (" Notation ") style .top = parseInt (document.body.scrollTop, 10) docHeight 10; // divHeight document.getElementById ( "Notation") style.left = parseInt (document.body.scrollLeft, 10) docWidth - divWidth-20. Document.GtelementByid ("notation"). style.visibility = 'visible' objtimer = window.setInterval ("Movediv ()", 10)} Catch (e) {Alert (E.DESCRIPTION)}} Function ResizeDIV () {i = 1 if (i> 12 88) closeDiv () try {divHeight = parseInt (document.getElementById ( "Notation") offsetHeight, 10) divWidth = parseInt (document.getElementById ( "Notation") offsetWidth, 10) docWidth = document.body.clientWidth;.. DocHeight = document.body.clientHeight;.. document.getElementById ( "Notation") style.top = docHeight - divHeight parseInt (document.body.scrollTop, 10) document.getElementById ( "Notation") style.left = docWidth - divWidth PARSEINT (Document.Body.Scrollleft, 10)} catch (e) {}}
Function Movediv () {Try {IF (Document.getElementByid ("Notation"). style.top, 10) <= (DocHeight - DivHeight Parseint (Document.Body.Scrolltop, 10))) {WINDOW.CLARINTERVAL Objtimer = Window.setInterval ("ResizeDiv ()", 1)} Divtop = PARSEINT ("Notation"). style.top, 10) Document.getElementByid ("notation"). style.top = Divtop - 1} catch (e) {}} function closediv () {document.getlementByid ('notation'). Style.visibility = 'hidden'; if (objtimer) Window.clearInterval (Objtimer)} //Window.attachevent (' OnLoad ', getmsg; //Window.attachevent (' LONDOW.ARESIZEDIV); getmsg (); window.οnresize = resizediv; //alert(Window.onLoad );function sendNotationData () {Try {var URL = "/ Zhenqing / notation.aspx "; var xmlhttp = new activXObject (" Microsoft.xmlhttp "); XMLHTTP.Open ('POST', URL, FALSE); XMLHttp.send (); if (Xmlhttp.ReadyState == 4) {IF (xmlhttp.status == 200) {// aler T (XMLHTTP.RESPONSETEXT); Switch (XMLHTTP.RESPONSETEXT) {CASE "true": return true; case "false": returnaf false;}}}} catch (e) {Alert Description); return false;}}