var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920392&docid=67601929&x=4715',
		'title': '',
		'imageId': '67601929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920392&docid=67601930&x=4715',
		'title': '',
		'imageId': '67601930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920392&docid=67601931&x=4715',
		'title': '',
		'imageId': '67601931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920392&docid=67601932&x=4715',
		'title': '',
		'imageId': '67601932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920392&docid=67601933&x=4715',
		'title': '',
		'imageId': '67601933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920392&docid=67601934&x=4715',
		'title': '',
		'imageId': '67601934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920392&docid=67601935&x=4715',
		'title': '',
		'imageId': '67601935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920392&docid=67601936&x=4715',
		'title': '',
		'imageId': '67601936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920392&docid=67601937&x=4715',
		'title': '',
		'imageId': '67601937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920392';

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