var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481520&x=435',
		'title': '',
		'imageId': '71481520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481531&x=435',
		'title': '',
		'imageId': '71481531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481535&x=435',
		'title': '',
		'imageId': '71481535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481530&x=435',
		'title': '',
		'imageId': '71481530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481527&x=435',
		'title': '',
		'imageId': '71481527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481521&x=435',
		'title': '',
		'imageId': '71481521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481537&x=435',
		'title': '',
		'imageId': '71481537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481528&x=435',
		'title': '',
		'imageId': '71481528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481536&x=435',
		'title': '',
		'imageId': '71481536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481523&x=435',
		'title': '',
		'imageId': '71481523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481524&x=435',
		'title': '',
		'imageId': '71481524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481522&x=435',
		'title': '',
		'imageId': '71481522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481526&x=435',
		'title': '',
		'imageId': '71481526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481532&x=435',
		'title': '',
		'imageId': '71481532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481533&x=435',
		'title': '',
		'imageId': '71481533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481525&x=435',
		'title': '',
		'imageId': '71481525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481529&x=435',
		'title': '',
		'imageId': '71481529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071061&docid=71481534&x=435',
		'title': '',
		'imageId': '71481534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071061';

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