var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861734&x=5854',
		'title': '',
		'imageId': '68861734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861736&x=5854',
		'title': '',
		'imageId': '68861736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861739&x=5854',
		'title': '',
		'imageId': '68861739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861732&x=5854',
		'title': '',
		'imageId': '68861732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861733&x=5854',
		'title': '',
		'imageId': '68861733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861737&x=5854',
		'title': '',
		'imageId': '68861737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861729&x=5854',
		'title': '',
		'imageId': '68861729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861735&x=5854',
		'title': '',
		'imageId': '68861735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861730&x=5854',
		'title': '',
		'imageId': '68861730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861731&x=5854',
		'title': '',
		'imageId': '68861731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861738&x=5854',
		'title': '',
		'imageId': '68861738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962240&docid=68861728&x=5854',
		'title': '',
		'imageId': '68861728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962240';

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