var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742219&x=512',
		'title': '',
		'imageId': '68742219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742214&x=512',
		'title': '',
		'imageId': '68742214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742211&x=512',
		'title': '',
		'imageId': '68742211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742215&x=512',
		'title': '',
		'imageId': '68742215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742213&x=512',
		'title': '',
		'imageId': '68742213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742212&x=512',
		'title': '',
		'imageId': '68742212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742221&x=512',
		'title': '',
		'imageId': '68742221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742220&x=512',
		'title': '',
		'imageId': '68742220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742218&x=512',
		'title': '',
		'imageId': '68742218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742216&x=512',
		'title': '',
		'imageId': '68742216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742217&x=512',
		'title': '',
		'imageId': '68742217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742222&x=512',
		'title': '',
		'imageId': '68742222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742225&x=512',
		'title': '',
		'imageId': '68742225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742224&x=512',
		'title': '',
		'imageId': '68742224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742226&x=512',
		'title': '',
		'imageId': '68742226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956610&docid=68742223&x=512',
		'title': '',
		'imageId': '68742223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956610';

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