var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255754&x=2825',
		'title': '',
		'imageId': '71255754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255758&x=2825',
		'title': '',
		'imageId': '71255758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255770&x=2825',
		'title': '',
		'imageId': '71255770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255771&x=2825',
		'title': '',
		'imageId': '71255771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255782&x=2825',
		'title': '',
		'imageId': '71255782',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255785&x=2825',
		'title': '',
		'imageId': '71255785',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255788&x=2825',
		'title': '',
		'imageId': '71255788',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255795&x=2825',
		'title': '',
		'imageId': '71255795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255796&x=2825',
		'title': '',
		'imageId': '71255796',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255810&x=2825',
		'title': '',
		'imageId': '71255810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255806&x=2825',
		'title': '',
		'imageId': '71255806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255811&x=2825',
		'title': '',
		'imageId': '71255811',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255815&x=2825',
		'title': '',
		'imageId': '71255815',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255827&x=2825',
		'title': '',
		'imageId': '71255827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255816&x=2825',
		'title': '',
		'imageId': '71255816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255829&x=2825',
		'title': '',
		'imageId': '71255829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255828&x=2825',
		'title': '',
		'imageId': '71255828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255747&x=2825',
		'title': '',
		'imageId': '71255747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059981&docid=71255756&x=2825',
		'title': '',
		'imageId': '71255756',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4059981';

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