var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057172&x=322',
		'title': '',
		'imageId': '70057172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057173&x=322',
		'title': '',
		'imageId': '70057173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057174&x=322',
		'title': '',
		'imageId': '70057174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057175&x=322',
		'title': '',
		'imageId': '70057175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057176&x=322',
		'title': '',
		'imageId': '70057176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057177&x=322',
		'title': '',
		'imageId': '70057177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057178&x=322',
		'title': '',
		'imageId': '70057178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057179&x=322',
		'title': '',
		'imageId': '70057179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057180&x=322',
		'title': '',
		'imageId': '70057180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057181&x=322',
		'title': '',
		'imageId': '70057181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057182&x=322',
		'title': '',
		'imageId': '70057182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014049&docid=70057183&x=322',
		'title': '',
		'imageId': '70057183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014049';

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