var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892066&x=520',
		'title': '',
		'imageId': '67892066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892067&x=520',
		'title': '',
		'imageId': '67892067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892068&x=520',
		'title': '',
		'imageId': '67892068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892069&x=520',
		'title': '',
		'imageId': '67892069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892070&x=520',
		'title': '',
		'imageId': '67892070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892071&x=520',
		'title': '',
		'imageId': '67892071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892072&x=520',
		'title': '',
		'imageId': '67892072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892073&x=520',
		'title': '',
		'imageId': '67892073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892074&x=520',
		'title': '',
		'imageId': '67892074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892075&x=520',
		'title': '',
		'imageId': '67892075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892076&x=520',
		'title': '',
		'imageId': '67892076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892077&x=520',
		'title': '',
		'imageId': '67892077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892078&x=520',
		'title': '',
		'imageId': '67892078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892079&x=520',
		'title': '',
		'imageId': '67892079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892080&x=520',
		'title': '',
		'imageId': '67892080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919286&docid=67892081&x=520',
		'title': '',
		'imageId': '67892081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919286';

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