var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936819&x=5024',
		'title': '',
		'imageId': '71936819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936831&x=5024',
		'title': '',
		'imageId': '71936831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936829&x=5024',
		'title': '',
		'imageId': '71936829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936832&x=5024',
		'title': '',
		'imageId': '71936832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936825&x=5024',
		'title': '',
		'imageId': '71936825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936820&x=5024',
		'title': '',
		'imageId': '71936820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936824&x=5024',
		'title': '',
		'imageId': '71936824',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936821&x=5024',
		'title': '',
		'imageId': '71936821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936823&x=5024',
		'title': '',
		'imageId': '71936823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936833&x=5024',
		'title': '',
		'imageId': '71936833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936828&x=5024',
		'title': '',
		'imageId': '71936828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936834&x=5024',
		'title': '',
		'imageId': '71936834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936818&x=5024',
		'title': '',
		'imageId': '71936818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936815&x=5024',
		'title': '',
		'imageId': '71936815',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936822&x=5024',
		'title': '',
		'imageId': '71936822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936816&x=5024',
		'title': '',
		'imageId': '71936816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936826&x=5024',
		'title': '',
		'imageId': '71936826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936827&x=5024',
		'title': '',
		'imageId': '71936827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936817&x=5024',
		'title': '',
		'imageId': '71936817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090020&docid=71936830&x=5024',
		'title': '',
		'imageId': '71936830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4090020';

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