var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3941505&docid=68400313&x=2825',
		'title': '',
		'imageId': '68400313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941505&docid=68400316&x=2825',
		'title': '',
		'imageId': '68400316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941505&docid=68400310&x=2825',
		'title': '',
		'imageId': '68400310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941505&docid=68400312&x=2825',
		'title': '',
		'imageId': '68400312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941505&docid=68400314&x=2825',
		'title': '',
		'imageId': '68400314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941505&docid=68400317&x=2825',
		'title': '',
		'imageId': '68400317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941505&docid=68400315&x=2825',
		'title': '',
		'imageId': '68400315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3941505';

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