function picture_view(url,width,height)
{
    LeftPosition=(screen.availWidth)?parseInt((screen.availWidth-width)/2):100;
    TopPosition=(screen.availHeight)?parseInt((screen.availHeight-height)/2):100;
    javascript:window.open(
        url
        , 'viewPhoto'
        , 'left='+LeftPosition
        +',top='+TopPosition
        +',width='+width
        +',height='+height
        +',toolbar=0'
        +',resizable=1'
        +',scrollbars=0');
}