var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190964&x=1344',
		'title': '',
		'imageId': '68190964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190966&x=1344',
		'title': '',
		'imageId': '68190966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190957&x=1344',
		'title': '',
		'imageId': '68190957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190963&x=1344',
		'title': '',
		'imageId': '68190963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190962&x=1344',
		'title': '',
		'imageId': '68190962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190958&x=1344',
		'title': '',
		'imageId': '68190958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190956&x=1344',
		'title': '',
		'imageId': '68190956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190965&x=1344',
		'title': '',
		'imageId': '68190965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190959&x=1344',
		'title': '',
		'imageId': '68190959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932574&docid=68190960&x=1344',
		'title': '',
		'imageId': '68190960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932574';

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