var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436299&x=2235',
		'title': '',
		'imageId': '68436299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436302&x=2235',
		'title': '',
		'imageId': '68436302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436298&x=2235',
		'title': '',
		'imageId': '68436298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436301&x=2235',
		'title': '',
		'imageId': '68436301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436306&x=2235',
		'title': '',
		'imageId': '68436306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436307&x=2235',
		'title': '',
		'imageId': '68436307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436303&x=2235',
		'title': '',
		'imageId': '68436303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436304&x=2235',
		'title': '',
		'imageId': '68436304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436305&x=2235',
		'title': '',
		'imageId': '68436305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436300&x=2235',
		'title': '',
		'imageId': '68436300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943818&docid=68436297&x=2235',
		'title': '',
		'imageId': '68436297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943818';

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