var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972442&x=1924',
		'title': '',
		'imageId': '69972442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972445&x=1924',
		'title': '',
		'imageId': '69972445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972449&x=1924',
		'title': '',
		'imageId': '69972449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972453&x=1924',
		'title': '',
		'imageId': '69972453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972456&x=1924',
		'title': '',
		'imageId': '69972456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972459&x=1924',
		'title': '',
		'imageId': '69972459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972462&x=1924',
		'title': '',
		'imageId': '69972462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972465&x=1924',
		'title': '',
		'imageId': '69972465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972468&x=1924',
		'title': '',
		'imageId': '69972468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010557&docid=69972472&x=1924',
		'title': '',
		'imageId': '69972472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010557';

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