var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994301&docid=69588271&x=3535',
		'title': '',
		'imageId': '69588271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994301&docid=69588273&x=3535',
		'title': '',
		'imageId': '69588273',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994301&docid=69588274&x=3535',
		'title': '',
		'imageId': '69588274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994301&docid=69588275&x=3535',
		'title': '',
		'imageId': '69588275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994301&docid=71429709&x=3535',
		'title': '',
		'imageId': '71429709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994301&docid=69588276&x=3535',
		'title': '',
		'imageId': '69588276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994301&docid=69588277&x=3535',
		'title': '',
		'imageId': '69588277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994301&docid=69588278&x=3535',
		'title': '',
		'imageId': '69588278',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994301&docid=69588281&x=3535',
		'title': '',
		'imageId': '69588281',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994301';

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