var varArray = [
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4025156/70331465?x=2340',
		'title': 'Flow rate too high or too low, unstable flow readings, controller unable to maintain setpoint Tank overflows, low liquid level, fluctuating level, inaccurate level indication Pressure too high or too low, pressure oscillations, alarm conditions, poor process stability Reduced extraction efficiency, poor separation, and unexpected product composition ',
		'imageId': '70331465',
		'alt' : 'Flow rate too high or too low, unstable flow readings, controller unable to maintain setpoint Tank overflows, low liquid level, fluctuating level, inaccurate level indication Pressure too high or too low, pressure oscillations, alarm conditions, poor process stability Reduced extraction efficiency, poor separation, and unexpected product composition ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4025156/70331467?x=2340',
		'title': 'Extraction Process\tIncorrect solvent flow rate, emulsion formation, phase separation problems, mixing agitator failure, contaminated solvent',
		'imageId': '70331467',
		'alt' : 'Extraction Process\tIncorrect solvent flow rate, emulsion formation, phase separation problems, mixing agitator failure, contaminated solvent',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4025156/70331466?x=2340',
		'title': 'Flow Control\tFlow control valve stuck open/closed, clogged piping, faulty flow transmitter, air supply failure to control valve, pump malfunction',
		'imageId': '70331466',
		'alt' : 'Flow Control\tFlow control valve stuck open/closed, clogged piping, faulty flow transmitter, air supply failure to control valve, pump malfunction',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4025156/70331464?x=2340',
		'title': 'Pressure Control\tPressure transmitter failure, pressure control valve malfunction, blocked vent line, pump overpressure, leaks in system',
		'imageId': '70331464',
		'alt' : 'Pressure Control\tPressure transmitter failure, pressure control valve malfunction, blocked vent line, pump overpressure, leaks in system',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4025156/70331468?x=2340',
		'title': 'Level Control\tLevel transmitter out of calibration, level control valve sticking, blocked drain line, leaking tank, controller tuning issues',
		'imageId': '70331468',
		'alt' : 'Level Control\tLevel transmitter out of calibration, level control valve sticking, blocked drain line, leaking tank, controller tuning issues',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': 'https://d37qv0n5b4mbzm.cloudfront.net/sms/docviewer/cdnaucdoc/img/4025156/70420495?x=2340',
		'title': 'manuel included',
		'imageId': '70420495',
		'alt' : 'manuel included',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4025156';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
