var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442762&x=1256',
		'title': '',
		'imageId': '66442762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442764&x=1256',
		'title': '',
		'imageId': '66442764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442765&x=1256',
		'title': '',
		'imageId': '66442765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442766&x=1256',
		'title': '',
		'imageId': '66442766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442767&x=1256',
		'title': '',
		'imageId': '66442767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442768&x=1256',
		'title': '',
		'imageId': '66442768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442769&x=1256',
		'title': '',
		'imageId': '66442769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442770&x=1256',
		'title': '',
		'imageId': '66442770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442771&x=1256',
		'title': '',
		'imageId': '66442771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442772&x=1256',
		'title': '',
		'imageId': '66442772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442773&x=1256',
		'title': '',
		'imageId': '66442773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946479&docid=66442774&x=1256',
		'title': '',
		'imageId': '66442774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946479';

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