leftcode="<DIV id=division1 style='Z-INDEX:10;LEFT:0px;POSITION:absolute;TOP:20px;width:100;height:300px;'><a href='http://www.u-optics.com/contact/contactus.asp' target='_blank'><img src='images/r2.gif' width='100' height='300' border='0'></a><img align='right' src='images/close_c.gif' onClick='javascript:window.hide1()' border='0' alt='Close' style='cursor:hand'></DIV>"
document.write(leftcode);

rightcode="<DIV id=division2 style='Z-INDEX:10;RIGHT:8px;POSITION:absolute;TOP:20px;width:100;height:300px;'><a href='mailto:lisa@u-optics.com' target='_blank'><img src='images/r1.gif' width='100' height='300' border='0'></a><img align='right' src='images/close_c.gif' onClick='javascript:window.hide2()' border='0' alt='Close' style='cursor:hand'></DIV>"
document.write(rightcode);

lastScrollY=0;
function showdiv(){
diffY=document.body.scrollTop;
percent=.3*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.division1.style.pixelTop+=percent;
document.all.division2.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}

function hide1()  
{   
division1.style.visibility="hidden"; 
}

function hide2()  
{   
division2.style.visibility="hidden";
}

window.setInterval("showdiv()",1);