var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921103&docid=67150191&x=3544',
		'title': '',
		'imageId': '67150191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921103&docid=67150192&x=3544',
		'title': '',
		'imageId': '67150192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921103&docid=67150197&x=3544',
		'title': '',
		'imageId': '67150197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921103&docid=67150200&x=3544',
		'title': '',
		'imageId': '67150200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921103&docid=67150202&x=3544',
		'title': '',
		'imageId': '67150202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921103&docid=67150211&x=3544',
		'title': '',
		'imageId': '67150211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921103&docid=67150222&x=3544',
		'title': '',
		'imageId': '67150222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921103';

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";
	})
}
