var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527217&x=5916',
		'title': '',
		'imageId': '69527217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527219&x=5916',
		'title': '',
		'imageId': '69527219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527220&x=5916',
		'title': '',
		'imageId': '69527220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527212&x=5916',
		'title': '',
		'imageId': '69527212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527216&x=5916',
		'title': '',
		'imageId': '69527216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527211&x=5916',
		'title': '',
		'imageId': '69527211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527221&x=5916',
		'title': '',
		'imageId': '69527221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527218&x=5916',
		'title': '',
		'imageId': '69527218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527214&x=5916',
		'title': '',
		'imageId': '69527214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527210&x=5916',
		'title': '',
		'imageId': '69527210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991432&docid=69527209&x=5916',
		'title': '',
		'imageId': '69527209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991432';

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