var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267216&x=5418',
		'title': '',
		'imageId': '68267216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267214&x=5418',
		'title': '',
		'imageId': '68267214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267215&x=5418',
		'title': '',
		'imageId': '68267215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267208&x=5418',
		'title': '',
		'imageId': '68267208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267212&x=5418',
		'title': '',
		'imageId': '68267212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267218&x=5418',
		'title': '',
		'imageId': '68267218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267217&x=5418',
		'title': '',
		'imageId': '68267217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267209&x=5418',
		'title': '',
		'imageId': '68267209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267210&x=5418',
		'title': '',
		'imageId': '68267210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267213&x=5418',
		'title': '',
		'imageId': '68267213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267211&x=5418',
		'title': '',
		'imageId': '68267211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972932&docid=68267248&x=5418',
		'title': '',
		'imageId': '68267248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972932';

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