var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981840&docid=69041935&x=2349',
		'title': '',
		'imageId': '69041935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981840&docid=69041929&x=2349',
		'title': '',
		'imageId': '69041929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981840&docid=69041933&x=2349',
		'title': '',
		'imageId': '69041933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981840&docid=69041931&x=2349',
		'title': '',
		'imageId': '69041931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981840&docid=69041930&x=2349',
		'title': '',
		'imageId': '69041930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981840&docid=69041932&x=2349',
		'title': '',
		'imageId': '69041932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981840&docid=69041934&x=2349',
		'title': '',
		'imageId': '69041934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981840';

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