var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040886&x=473',
		'title': '',
		'imageId': '72040886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040919&x=473',
		'title': '',
		'imageId': '72040919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040924&x=473',
		'title': '',
		'imageId': '72040924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040887&x=473',
		'title': '',
		'imageId': '72040887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040808&x=473',
		'title': '',
		'imageId': '72040808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040805&x=473',
		'title': '',
		'imageId': '72040805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040807&x=473',
		'title': '',
		'imageId': '72040807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040883&x=473',
		'title': '',
		'imageId': '72040883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040885&x=473',
		'title': '',
		'imageId': '72040885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040884&x=473',
		'title': '',
		'imageId': '72040884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040915&x=473',
		'title': '',
		'imageId': '72040915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040918&x=473',
		'title': '',
		'imageId': '72040918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040916&x=473',
		'title': '',
		'imageId': '72040916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040917&x=473',
		'title': '',
		'imageId': '72040917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040920&x=473',
		'title': '',
		'imageId': '72040920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040806&x=473',
		'title': '',
		'imageId': '72040806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093799&docid=72040804&x=473',
		'title': '',
		'imageId': '72040804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4093799';

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