var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4063346&docid=71327485&x=3459',
		'title': '',
		'imageId': '71327485',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063346&docid=71327481&x=3459',
		'title': '',
		'imageId': '71327481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063346&docid=71327486&x=3459',
		'title': '',
		'imageId': '71327486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063346&docid=71327483&x=3459',
		'title': '',
		'imageId': '71327483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063346&docid=71327487&x=3459',
		'title': '',
		'imageId': '71327487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063346&docid=71327482&x=3459',
		'title': '',
		'imageId': '71327482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063346&docid=71327484&x=3459',
		'title': '',
		'imageId': '71327484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4063346';

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