var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317191&x=2727',
		'title': '',
		'imageId': '68317191',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317188&x=2727',
		'title': '',
		'imageId': '68317188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317160&x=2727',
		'title': '',
		'imageId': '68317160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317161&x=2727',
		'title': '',
		'imageId': '68317161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317159&x=2727',
		'title': '',
		'imageId': '68317159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317187&x=2727',
		'title': '',
		'imageId': '68317187',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317189&x=2727',
		'title': '',
		'imageId': '68317189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317186&x=2727',
		'title': '',
		'imageId': '68317186',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317185&x=2727',
		'title': '',
		'imageId': '68317185',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68421195&x=2727',
		'title': '',
		'imageId': '68421195',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937877&docid=68317162&x=2727',
		'title': '',
		'imageId': '68317162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937877';

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