var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786651&x=4558',
		'title': '',
		'imageId': '67786651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786653&x=4558',
		'title': '',
		'imageId': '67786653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786655&x=4558',
		'title': '',
		'imageId': '67786655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786657&x=4558',
		'title': '',
		'imageId': '67786657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786658&x=4558',
		'title': '',
		'imageId': '67786658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786659&x=4558',
		'title': '',
		'imageId': '67786659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786660&x=4558',
		'title': '',
		'imageId': '67786660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786661&x=4558',
		'title': '',
		'imageId': '67786661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786662&x=4558',
		'title': '',
		'imageId': '67786662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786663&x=4558',
		'title': '',
		'imageId': '67786663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786664&x=4558',
		'title': '',
		'imageId': '67786664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915889&docid=67786666&x=4558',
		'title': '',
		'imageId': '67786666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915889';

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