var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4066454&docid=71400268&x=1054',
		'title': '',
		'imageId': '71400268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066454&docid=71400273&x=1054',
		'title': '',
		'imageId': '71400273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066454&docid=71400267&x=1054',
		'title': '',
		'imageId': '71400267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066454&docid=71400271&x=1054',
		'title': '',
		'imageId': '71400271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066454&docid=71400270&x=1054',
		'title': '',
		'imageId': '71400270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066454&docid=71400274&x=1054',
		'title': '',
		'imageId': '71400274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066454&docid=71400272&x=1054',
		'title': '',
		'imageId': '71400272',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4066454';

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