function Fond()
image = net.loadIMG("1020","GPower/res/fond",3)
fond = paintutils.loadImage(image)
paintutils.drawImage(fond,1,4)

term.setBackgroundColor(colors.gray)
term.setTextColor(colors.white)
titre = "G-POWER GROUP"
longueur = string.len(titre)
Xpos = 51/2 - longueur/2 + 1
Ypos = 6
term.setCursorPos(Xpos,Ypos)
print(titre)

term.setBackgroundColor(colors.blue)
term.setTextColor(colors.white)
soustitre1 = "G-Power"
longueur = string.len(soustitre1)
Xpos = 17/2 - longueur/2 + 1
Ypos = 10
term.setCursorPos(Xpos,Ypos)
print(soustitre1)

term.setBackgroundColor(colors.blue)
term.setTextColor(colors.white)
soustitre2 = "Telecom"
longueur = string.len(soustitre2)
Xpos = 17/2 - longueur/2 + 1
Ypos = 11
term.setCursorPos(Xpos,Ypos)
print(soustitre2)

term.setBackgroundColor(colors.orange)
term.setTextColor(colors.white)
soustitre3 = "G-Power"
longueur = string.len(soustitre3)
Xpos = 51/2 - longueur/2 + 1
Ypos = 10
term.setCursorPos(Xpos,Ypos)
print(soustitre3)

term.setBackgroundColor(colors.orange)
term.setTextColor(colors.white)
soustitre4 = "Oil"
longueur = string.len(soustitre4)
Xpos = 51/2 - longueur/2 + 1
Ypos = 11
term.setCursorPos(Xpos,Ypos)
print(soustitre4)
end

Fond()
return 0
