var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481718&x=435',
		'title': '',
		'imageId': '71481718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481717&x=435',
		'title': '',
		'imageId': '71481717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481721&x=435',
		'title': '',
		'imageId': '71481721',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481722&x=435',
		'title': '',
		'imageId': '71481722',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481729&x=435',
		'title': '',
		'imageId': '71481729',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481719&x=435',
		'title': '',
		'imageId': '71481719',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481724&x=435',
		'title': '',
		'imageId': '71481724',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481730&x=435',
		'title': '',
		'imageId': '71481730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481720&x=435',
		'title': '',
		'imageId': '71481720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481725&x=435',
		'title': '',
		'imageId': '71481725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481723&x=435',
		'title': '',
		'imageId': '71481723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481727&x=435',
		'title': '',
		'imageId': '71481727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481728&x=435',
		'title': '',
		'imageId': '71481728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481733&x=435',
		'title': '',
		'imageId': '71481733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481735&x=435',
		'title': '',
		'imageId': '71481735',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481731&x=435',
		'title': '',
		'imageId': '71481731',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481732&x=435',
		'title': '',
		'imageId': '71481732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481734&x=435',
		'title': '',
		'imageId': '71481734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071063&docid=71481726&x=435',
		'title': '',
		'imageId': '71481726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071063';

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