var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834965&x=3846',
		'title': '',
		'imageId': '67834965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834962&x=3846',
		'title': '',
		'imageId': '67834962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834967&x=3846',
		'title': '',
		'imageId': '67834967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834963&x=3846',
		'title': '',
		'imageId': '67834963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834959&x=3846',
		'title': '',
		'imageId': '67834959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834964&x=3846',
		'title': '',
		'imageId': '67834964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834960&x=3846',
		'title': '',
		'imageId': '67834960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834961&x=3846',
		'title': '',
		'imageId': '67834961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834968&x=3846',
		'title': '',
		'imageId': '67834968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917321&docid=67834966&x=3846',
		'title': '',
		'imageId': '67834966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917321';

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