var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074875&x=3039',
		'title': '',
		'imageId': '67074875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074873&x=3039',
		'title': '',
		'imageId': '67074873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074867&x=3039',
		'title': '',
		'imageId': '67074867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074866&x=3039',
		'title': '',
		'imageId': '67074866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074874&x=3039',
		'title': '',
		'imageId': '67074874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074870&x=3039',
		'title': '',
		'imageId': '67074870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074868&x=3039',
		'title': '',
		'imageId': '67074868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074871&x=3039',
		'title': '',
		'imageId': '67074871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074872&x=3039',
		'title': '',
		'imageId': '67074872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074876&x=3039',
		'title': '',
		'imageId': '67074876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910484&docid=67074869&x=3039',
		'title': '',
		'imageId': '67074869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910484';

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