var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563622&x=4044',
		'title': '',
		'imageId': '68563622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563626&x=4044',
		'title': '',
		'imageId': '68563626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563630&x=4044',
		'title': '',
		'imageId': '68563630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563628&x=4044',
		'title': '',
		'imageId': '68563628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563624&x=4044',
		'title': '',
		'imageId': '68563624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563623&x=4044',
		'title': '',
		'imageId': '68563623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563629&x=4044',
		'title': '',
		'imageId': '68563629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563627&x=4044',
		'title': '',
		'imageId': '68563627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563631&x=4044',
		'title': '',
		'imageId': '68563631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976603&docid=68563625&x=4044',
		'title': '',
		'imageId': '68563625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976603';

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