var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160853&x=454',
		'title': '',
		'imageId': '71160853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160854&x=454',
		'title': '',
		'imageId': '71160854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160855&x=454',
		'title': '',
		'imageId': '71160855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160856&x=454',
		'title': '',
		'imageId': '71160856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160861&x=454',
		'title': '',
		'imageId': '71160861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160869&x=454',
		'title': '',
		'imageId': '71160869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160873&x=454',
		'title': '',
		'imageId': '71160873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160870&x=454',
		'title': '',
		'imageId': '71160870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160874&x=454',
		'title': '',
		'imageId': '71160874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160875&x=454',
		'title': '',
		'imageId': '71160875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160878&x=454',
		'title': '',
		'imageId': '71160878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160903&x=454',
		'title': '',
		'imageId': '71160903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160904&x=454',
		'title': '',
		'imageId': '71160904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160908&x=454',
		'title': '',
		'imageId': '71160908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160914&x=454',
		'title': '',
		'imageId': '71160914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160919&x=454',
		'title': '',
		'imageId': '71160919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160920&x=454',
		'title': '',
		'imageId': '71160920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056430&docid=71160852&x=454',
		'title': '',
		'imageId': '71160852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056430';

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