﻿// -----------------------------------------------------------------------------------
//
// Atelier Pixel City
// Page developed by Ara Yazedjian
// -----------------------------------------------------------------------------------

document.observe("dom:loaded", function() {
    InitLang( 'langNav', 'fr' );
    initModalWindow('contact', 'contactWindow');
	loadXML('xml/projects_fr.xml');
	setMouseOvers();
	initSlideVertical('bottomHideButton', 'bottomContentSlideBox', 170);
    Effect.centre('pageBox');
	noIEScrollbar();
});
window.onload = function(el){
    SetImagesBoxSize('Images');
	//for safari 3 we repeat centering of main div
	Effect.centre('pageBox');
	noIEScrollbar();
	resizeIconBox('iconBoxContent');
	initSections('info', 'home');
	createProjectNav('projets', false);
    toggleLoading('mainLoading');
	//for ie6 max-height compatibility
	//setMaxHeight('pageBox', 746);
};
Element.observe(window, 'resize', (function() {
	//for ie6 max-height compatibility
	//setMaxHeight('pageBox', 746);
	Effect.centre('pageBox');
	resizeIconBox('iconBoxContent')
	noIEScrollbar();
}));
LightboxOptions.labelImage ="Image";
LightboxOptions.labelOf ="de";
