var tid;
var step;
var lid;
//==================================Запуск прокрутки =========================
function go_move (y,y1) {
 step=y;
 lid=y1;
 tid = setInterval('scrollText(step)', 40);
}
//=========================Прокрутка============================
function scrollText (x) {
 if (document.layers) {
    var st = document.scrollContainer.document.scrollingText;
    var sk = document.scrollContainer;
    var st1 = document.scrollContainer1.document.scrollingText1;
    var sk1 = document.scrollContainer1;
    if (lid==1) {
     if (x<0) {if (st.top+st.clip.height-sk.clip.height>0) { st.top += x;}}
     if (x>0) {if (st.top<=0) { st.top += x;}}
    } else {
     if (x<0) {if (st1.top+st1.clip.height-sk1.clip.height>0) { st1.top += x;}}
     if (x>0) {if (st1.top<=0) { st1.top += x;}}
    }
 }
 else if (document.all) {
    var st = document.all.scrollingText;
    var sk = document.all.scrollContainer;
    var st1 = document.all.scrollingText1;
    var sk1 = document.all.scrollContainer1;
    if (lid==1) {
     if (x<0) {if (st.style.pixelLeft+st.offsetWidth-sk.offsetWidth>0) { st.style.pixelLeft += x;}}
     if (x>0) {if (st.style.pixelLeft<=0) { st.style.pixelLeft += x;}}
    } else {
     if (x<0) {if (st1.style.pixelLeft+st.offsetWidth-sk1.offsetWidth>0) { st1.style.pixelLeft += x;}}
     if (x>0) {if (st1.style.pixelLeft<=0) { st1.style.pixelLeft += x;}}
    }
 }
}
function hiLite(imgDocID,imgObjName) {
   document.images[imgDocID].src = eval(imgObjName + ".src");
}


//===================================================================
//function init() {
//cw=document.body.clientWidth; 
//x=(cw-641)/2+25;
//alert(x);
//s="<div style='left:100px;top:100px></div>'>
//}