/*--- Avanquest WebEasy Document Script ---*/

IE=(navigator.appName.indexOf('Microsoft') >= 0);
NS=(navigator.appName.indexOf('Netscape') >= 0);
SF=(navigator.appName.indexOf('Safari') >= 0);
FF=(navigator.userAgent.indexOf('Firefox') >= 0);
OP=(navigator.userAgent.indexOf('Opera') >= 0);
GK=(navigator.userAgent.indexOf('Gecko') >= 0);
V4=(parseInt(navigator.appVersion) >= 4);
if((V5=navigator.appVersion.indexOf('MSIE '))<0) V5=-5;
V5=(parseInt(navigator.appVersion.charAt(V5+5))>=5);
MAC=(navigator.userAgent.indexOf('Mac')!=-1);

var coefficient_reduction = 2; 
var largeur_max = 250; 
var hauteur_max = 46; 

function agrandir(img, coef) { 
	window.status ="Hellow";
	if (img.width < largeur_max) { 
		img.width = Math.round(img.width*coef); 
		img.height = Math.round(img.height*coef); 
		chang=window.setTimeout('agrandir(img);',1000);//vitesse de l'effet 
	} 
	else { 
		window.clearTimeout(chang); 
	} 
} 

function reduire(img, width, height) {
	img.width = width; 
	img.height = height; 

}

/*--- EndOfFile ---*/
