<P> A mashrabiya (مشربية), also either shanshūl (شنشول) or rūshān (روشان), is a type of projecting oriel window enclosed with carved wood latticework located on the second storey of a building or higher, often lined with stained glass . The mashrabiya is an element of traditional Arabic architecture used since the Middle Ages up to the mid-20th century . It is mostly used on the street side of the building; however, it may also be used internally on the sahn (courtyard) side . </P> <P> Mashrabiyas were mostly used in houses and palaces although sometimes in public buildings such as hospitals, inns, schools and government buildings . They are found mostly in the Mashriq--i.e. the eastern part of the Arab world, but some types of similar windows are also found in the Maghreb (the western part of the Arab world). They are very prevalent in Iraq, the Levant, Hejaz and Egypt . They are mostly found in urban settings and rarely in rural areas . Basra is often called "the city of Shanasheel". </P>

Windows covered in lattice in islamic spain were called