var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198298&x=469',
		'title': '',
		'imageId': '69198298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198300&x=469',
		'title': '',
		'imageId': '69198300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198297&x=469',
		'title': '',
		'imageId': '69198297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198304&x=469',
		'title': '',
		'imageId': '69198304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198303&x=469',
		'title': '',
		'imageId': '69198303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198302&x=469',
		'title': '',
		'imageId': '69198302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198372&x=469',
		'title': '',
		'imageId': '69198372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198373&x=469',
		'title': '',
		'imageId': '69198373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198376&x=469',
		'title': '',
		'imageId': '69198376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198377&x=469',
		'title': '',
		'imageId': '69198377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198379&x=469',
		'title': '',
		'imageId': '69198379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971943&docid=69198378&x=469',
		'title': '',
		'imageId': '69198378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971943';

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