﻿function doSharePricePos(document_p, bRightCol_p)
{
    if (bRightCol_p)
    {
        if (-1 != document_p.getElementById('rightColContent').innerHTML.indexOf('staff1'))
        {
            document_p.getElementById('rightColSharePrice').style.top="-183px";
            document_p.getElementById('rightColSharePrice').style.left="35px";
            document_p.getElementById('rightColSharePriceDateTime').style.top="-183px";
            document_p.getElementById('rightColSharePriceDateTime').style.left="4px";                           
        }  
        else if (-1 != document_p.getElementById('rightColContent').innerHTML.indexOf('staff2'))
        {
            document_p.getElementById('rightColSharePrice').style.top="-98px";
            document_p.getElementById('rightColSharePrice').style.left="15px";
            document_p.getElementById('rightColSharePriceDateTime').style.top="-98px";
            document_p.getElementById('rightColSharePriceDateTime').style.left="-19px";                         
        }         
        else if (-1 != document_p.getElementById('rightColContent').innerHTML.indexOf('staff3'))
        {
            document_p.getElementById('rightColSharePrice').style.top="-143px";
            document_p.getElementById('rightColSharePrice').style.left="30px";
            document_p.getElementById('rightColSharePriceDateTime').style.top="-141px";
            document_p.getElementById('rightColSharePriceDateTime').style.left="-7px";                          
        }    
        else if (-1 != document_p.getElementById('rightColContent').innerHTML.indexOf('staff4'))
        {
            document_p.getElementById('rightColSharePrice').style.top="-83px";
            document_p.getElementById('rightColSharePrice').style.left="28px";
            document_p.getElementById('rightColSharePriceDateTime').style.top="-81px";
            document_p.getElementById('rightColSharePriceDateTime').style.left="-5px";                      
        } 
                     
    }
    else
    {
        if (-1 != document_p.getElementById('leftColContent').innerHTML.indexOf('staff1'))
        {
            document_p.getElementById('leftColSharePrice').style.top="-185px";
            document_p.getElementById('leftColSharePrice').style.left="35px";
            document_p.getElementById('leftColSharePriceDateTime').style.top="-185px";
            document_p.getElementById('leftColSharePriceDateTime').style.left="9px";                            
        } 
        else if (-1 != document_p.getElementById('leftColContent').innerHTML.indexOf('staff2'))
        {
            document_p.getElementById('leftColSharePrice').style.top="-100px";
            document_p.getElementById('leftColSharePrice').style.left="15px";
            document_p.getElementById('leftColSharePriceDateTime').style.top="-100px";
            document_p.getElementById('leftColSharePriceDateTime').style.left="-14px";                          
        } 
        else if (-1 != document_p.getElementById('leftColContent').innerHTML.indexOf('staff3'))
        {
            document_p.getElementById('leftColSharePrice').style.top="-145px";
            document_p.getElementById('leftColSharePrice').style.left="30px";
            document_p.getElementById('leftColSharePriceDateTime').style.top="-143px";
            document_p.getElementById('leftColSharePriceDateTime').style.left="-2px";                           
        }  
        else if (-1 != document_p.getElementById('leftColContent').innerHTML.indexOf('staff4'))
        {
            document_p.getElementById('leftColSharePrice').style.top="-85px";
            document_p.getElementById('leftColSharePrice').style.left="28px";
            document_p.getElementById('leftColSharePriceDateTime').style.top="-83px";
            document_p.getElementById('leftColSharePriceDateTime').style.left="0px";                            
        }  
                         
    }

}