that is NOT the flag of El Salvador, it is the flag of the Greater Republic of Central America (Republica Mayor de Centroamerica). it was a short lived political union between Honduras, El salvador, and Nicaragua, lasting from 1896 till 1898. According to google. go look it up it's pretty interesting