function imgsendPop(theLink,wid,hei) 
{ 
        var popup = new Array(3);
        var posX = screen.width/2 - wid/2;
        var posY = screen.height/2 - hei/2;
        popup[0] = theLink;
        popup[1] = "Imagen";
        popup[2] = "width="+wid+",height="+hei+",resizable=1,scrollbars=1,toolbar=0,location=0,directories=0,status=1,menubar=0,copyhistory=0,screenX="+posX+",screenY="+posY;
        window.open( popup[0], popup[1], popup[2] );
}
