var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561092&x=5949',
		'title': '',
		'imageId': '69561092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561097&x=5949',
		'title': '',
		'imageId': '69561097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561094&x=5949',
		'title': '',
		'imageId': '69561094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561095&x=5949',
		'title': '',
		'imageId': '69561095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561096&x=5949',
		'title': '',
		'imageId': '69561096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561098&x=5949',
		'title': '',
		'imageId': '69561098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561099&x=5949',
		'title': '',
		'imageId': '69561099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561100&x=5949',
		'title': '',
		'imageId': '69561100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561101&x=5949',
		'title': '',
		'imageId': '69561101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561102&x=5949',
		'title': '',
		'imageId': '69561102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993274&docid=69561103&x=5949',
		'title': '',
		'imageId': '69561103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993274';

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