var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845787&x=4233',
		'title': '',
		'imageId': '67845787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845796&x=4233',
		'title': '',
		'imageId': '67845796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845789&x=4233',
		'title': '',
		'imageId': '67845789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845795&x=4233',
		'title': '',
		'imageId': '67845795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845791&x=4233',
		'title': '',
		'imageId': '67845791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845790&x=4233',
		'title': '',
		'imageId': '67845790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845792&x=4233',
		'title': '',
		'imageId': '67845792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845797&x=4233',
		'title': '',
		'imageId': '67845797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845798&x=4233',
		'title': '',
		'imageId': '67845798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845793&x=4233',
		'title': '',
		'imageId': '67845793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845788&x=4233',
		'title': '',
		'imageId': '67845788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917653&docid=67845794&x=4233',
		'title': '',
		'imageId': '67845794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917653';

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