var imgheightR,imgLeftR;
var imgheightL,imgleftL;
var ads_agt=navigator.userAgent.toLowerCase();
var ads_is_major = parseInt(navigator.appVersion);
var layerNameR,layerNameL;
var ads_is_ie=((ads_agt.indexOf("msie") != -1) && (window.screen.width>800));

function myloadR(_layerName)
{
  if (ads_is_ie)
    {
      var screen_w = document.body.offsetWidth;
      var xw = parseInt((screen_w -770)/2);
	  var ileft=xw-imgLeftR-16;
	  layerNameR=eval("document.all."+_layerName)
      layerNameR.style.top=document.body.scrollTop+document.body.offsetHeight-imgheightR;
      layerNameR.style.right=ileft;
      mymoveR();
    }
}

 function mymoveR()
 {
   if (ads_is_ie){
	   var screen_w = document.body.offsetWidth;
       var xw = parseInt((screen_w -770)/2);
	   var ileft=xw-imgLeftR-16;
       layerNameR.style.top=document.body.scrollTop+document.body.offsetHeight-imgheightR;
       layerNameR.style.right=ileft;
       setTimeout("mymoveR();",500)
     }
 }

 function myloadL(_layerNames)
{
  if (ads_is_ie)
    {
	  var screen_w = document.body.offsetWidth;
      var xw = parseInt((screen_w -770)/2);
	  var ileft=xw-imgLeftL-16;
	  layerNameL=eval("document.all."+_layerNames)
      layerNameL.style.top=document.body.scrollTop+document.body.offsetHeight-imgheightL;
      layerNameL.style.left=ileft;
      mymoveL();
    }
}

 function mymoveL()
 {
   if (ads_is_ie){
	   var screen_w = document.body.offsetWidth;
       var xw = parseInt((screen_w -770)/2);
	   var ileft=xw-imgLeftL-16;
       layerNameL.style.top=document.body.scrollTop+document.body.offsetHeight-imgheightL;
       layerNameL.style.left=ileft;
       setTimeout("mymoveL();",500)
     }
 }

var dltop,div_true_w;
var dllayerL,dllayerR;
//¾²Ö¹¶ÔÁª
function winloadoub(_dlxL,_dlxR)
{if (ads_is_ie){
   dllayerL=eval("document.all."+_dlxL)
   dllayerR=eval("document.all."+_dlxR)
   moveloadoub()
}
}

function moveloadoub(){
   var div_w,div_h;
   var screen_w = document.body.offsetWidth;
   var xw = parseInt((screen_w -770)/2);
   div_w = xw - div_true_w - 16;
   dllayerL.style.top=dltop;
   dllayerL.style.left=div_w;
   dllayerR.style.top=dltop;
   dllayerR.style.right=div_w;
   setTimeout("moveloadoub();",500)
}