﻿/*
// 浮動 DIV
function Show(divid) { 
   div_MSG.style.visibility = "visible"; 
   span_MSG.innerHTML = GetMSG(divid.toLowerCase());
} 
function Hide() { 
   div_MSG.style.visibility = "hidden"; 
} 

function init() {
 document.getElementById('flotLayer').style.visibility = 'visible';
 MoveLayer('flotLayer'); 
}
function MoveLayer(layerName) {
 var x = 400;
 var y = 150; 
 var _y = document.documentElement.scrollTop + y;
 //document.body.scrollTop
 var diff =(_y - parseInt(document.getElementById('flotLayer').style.top))*.40;
 var rey=_y-diff;
 document.getElementById('flotLayer').style.top=rey;
 document.getElementById('flotLayer').style.right=x;
 setTimeout("MoveLayer('flotLayer');", 300); 
}
//end 浮動DIV
*/

// 浮動 DIV
function Show(divid) { 
   div_MSG.style.visibility = "visible"; 
   span_MSG.innerHTML = GetMSG(divid.toLowerCase());
} 
function Hide() { 
   div_MSG.style.visibility = "hidden"; 
} 

function init() {
 document.getElementById('flotLayer').style.visibility = 'visible';
 document.getElementById('flotLayer').style.top='10%'
 document.getElementById('flotLayer').style.width='100px';
 MoveLayer('flotLayer'); 
}
function MoveLayer(layerName) {
 var x = 100;
 var y = 150; 
 var _y = document.documentElement.scrollTop + y;
 //document.body.scrollTop
 //document.documentElement.scrollTop
 var diff =(_y - parseInt(document.getElementById('flotLayer').style.top))*.40;
 var rey=_y-diff;

 document.getElementById('flotLayer').style.top=rey;
 document.getElementById('flotLayer').style.right=x;
 setTimeout("MoveLayer('flotLayer');", 300); 
}
//end 浮動DIV


