var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403762&x=145',
		'title': '',
		'imageId': '69403762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403763&x=145',
		'title': '',
		'imageId': '69403763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403764&x=145',
		'title': '',
		'imageId': '69403764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403765&x=145',
		'title': '',
		'imageId': '69403765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403766&x=145',
		'title': '',
		'imageId': '69403766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403767&x=145',
		'title': '',
		'imageId': '69403767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403768&x=145',
		'title': '',
		'imageId': '69403768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403769&x=145',
		'title': '',
		'imageId': '69403769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403770&x=145',
		'title': '',
		'imageId': '69403770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403771&x=145',
		'title': '',
		'imageId': '69403771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985961&docid=69403772&x=145',
		'title': '',
		'imageId': '69403772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985961';

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