﻿function initEcVOnline() {
document.all.AdLayerVOnline.style.visibility = 'visible';
document.all.AdLayerVOnline.style.posTop =-200;//window.screen.availHeight;
setTimeout("MoveRightLayerVOnline('AdLayerVOnline');",10);
}

function MoveRightLayerVOnline(layerName) {

var x=0;//document.body.scrollWidth/2-document.body.scrollWidth/2;
var y =window.screen.availHeight/3+40;
var diff = (document.documentElement.scrollTop + y - document.all.AdLayerVOnline.style.posTop)*.80;
var y = document.documentElement.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");

setTimeout("MoveRightLayerVOnline('AdLayerVOnline');", 100);	
}

function hiddVOnline()
{	
document.all.AdLayerVOnline.style.visibility = 'hidden';
}

var str="";
        str+="<div id=\"AdLayerVOnline\"  style='position: absolute;visibility:hiddVOnlineen;z-index:2'>";
        str += "<img  src='ImageGet.ashx?/images/GotoVOnline.jpg' border='0' onclick='javascript:OPERVOnline()' style='cursor:hand'/>";
//            str+="<map name='MapOnline' id='MapOnline'>";
//            str+="<area shape='rect' coords='5,20,120,120' href='#' onclick='OPERVOnline()'/>";
//            str+="<area shape='rect' coords='30,124,95,142' href='#' onclick='OPERVOnline()'/>";
//            str+="<area shape='rect' coords='102,4,120,20' href='#' onclick='hiddVOnline()'/>";
//            str+="</map>";
            str+="</div>";
document.write(str);

initEcVOnline();// JavaScript Document

function OPERVOnline()
{	
	//hiddVOnline();
    openOnline();	
}


