var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843968&x=397',
		'title': '',
		'imageId': '69843968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843964&x=397',
		'title': '',
		'imageId': '69843964',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843972&x=397',
		'title': '',
		'imageId': '69843972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843973&x=397',
		'title': '',
		'imageId': '69843973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843974&x=397',
		'title': '',
		'imageId': '69843974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843967&x=397',
		'title': '',
		'imageId': '69843967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843971&x=397',
		'title': '',
		'imageId': '69843971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843970&x=397',
		'title': '',
		'imageId': '69843970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843966&x=397',
		'title': '',
		'imageId': '69843966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843965&x=397',
		'title': '',
		'imageId': '69843965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005225&docid=69843969&x=397',
		'title': '',
		'imageId': '69843969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005225';

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