var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187325&x=158',
		'title': '',
		'imageId': '68187325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187328&x=158',
		'title': '',
		'imageId': '68187328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187331&x=158',
		'title': '',
		'imageId': '68187331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187341&x=158',
		'title': '',
		'imageId': '68187341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187344&x=158',
		'title': '',
		'imageId': '68187344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187347&x=158',
		'title': '',
		'imageId': '68187347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187356&x=158',
		'title': '',
		'imageId': '68187356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187359&x=158',
		'title': '',
		'imageId': '68187359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187362&x=158',
		'title': '',
		'imageId': '68187362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187368&x=158',
		'title': '',
		'imageId': '68187368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932428&docid=68187371&x=158',
		'title': '',
		'imageId': '68187371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932428';

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