var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688122&x=3822',
		'title': '',
		'imageId': '68688122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688125&x=3822',
		'title': '',
		'imageId': '68688125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688124&x=3822',
		'title': '',
		'imageId': '68688124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688126&x=3822',
		'title': '',
		'imageId': '68688126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688127&x=3822',
		'title': '',
		'imageId': '68688127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688128&x=3822',
		'title': '',
		'imageId': '68688128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688129&x=3822',
		'title': '',
		'imageId': '68688129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688130&x=3822',
		'title': '',
		'imageId': '68688130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688131&x=3822',
		'title': '',
		'imageId': '68688131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688132&x=3822',
		'title': '',
		'imageId': '68688132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688133&x=3822',
		'title': '',
		'imageId': '68688133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954674&docid=68688134&x=3822',
		'title': '',
		'imageId': '68688134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954674';

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