// JavaScript Document

function preloader(chemin, images)
{
	for(var im_cnt = 0;im_cnt < images.length;im_cnt++){
		preloadedImage = new Image();
		preloadedImage.src = chemin+images[im_cnt];		
	}
}

function popupWindow(url, width, height, destination) {
	width = width;
	height = height;
	window.open(url, 0, 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+width+',height='+height+',left=280,top=100,screenX=280,screenY=100');
}

function popupScrollingWindow(url, width, height, destination) {
	width = width;
	height = height;
	window.open(url, 0, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width='+width+',height='+height+',left=280,top=100,screenX=280,screenY=100');
}

function modalPopupWindow(url, width, height, destination) {
	showModalDialog(url, '', 'dialogHeight:'+height+'px;dialogWidth:'+width+'px;center:1;resizable:0;scroll:0');
}