var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924868&x=155',
		'title': '',
		'imageId': '68924868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924867&x=155',
		'title': '',
		'imageId': '68924867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924870&x=155',
		'title': '',
		'imageId': '68924870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924873&x=155',
		'title': '',
		'imageId': '68924873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924869&x=155',
		'title': '',
		'imageId': '68924869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924872&x=155',
		'title': '',
		'imageId': '68924872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924874&x=155',
		'title': '',
		'imageId': '68924874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924871&x=155',
		'title': '',
		'imageId': '68924871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924876&x=155',
		'title': '',
		'imageId': '68924876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924875&x=155',
		'title': '',
		'imageId': '68924875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964804&docid=68924877&x=155',
		'title': '',
		'imageId': '68924877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964804';

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