var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069552&docid=71526177&x=4144',
		'title': '',
		'imageId': '71526177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069552&docid=71526179&x=4144',
		'title': '',
		'imageId': '71526179',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069552&docid=71526180&x=4144',
		'title': '',
		'imageId': '71526180',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069552&docid=71526181&x=4144',
		'title': '',
		'imageId': '71526181',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069552&docid=71526174&x=4144',
		'title': '',
		'imageId': '71526174',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069552&docid=71526178&x=4144',
		'title': '',
		'imageId': '71526178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069552&docid=71526176&x=4144',
		'title': '',
		'imageId': '71526176',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069552';

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