var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322291&x=2319',
		'title': '',
		'imageId': '68322291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322299&x=2319',
		'title': '',
		'imageId': '68322299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322300&x=2319',
		'title': '',
		'imageId': '68322300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322293&x=2319',
		'title': '',
		'imageId': '68322293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322298&x=2319',
		'title': '',
		'imageId': '68322298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322297&x=2319',
		'title': '',
		'imageId': '68322297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322295&x=2319',
		'title': '',
		'imageId': '68322295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322296&x=2319',
		'title': '',
		'imageId': '68322296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322290&x=2319',
		'title': '',
		'imageId': '68322290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322294&x=2319',
		'title': '',
		'imageId': '68322294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322289&x=2319',
		'title': '',
		'imageId': '68322289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014755&docid=68322292&x=2319',
		'title': '',
		'imageId': '68322292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014755';

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