var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328660&x=3416',
		'title': '',
		'imageId': '71328660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328635&x=3416',
		'title': '',
		'imageId': '71328635',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328649&x=3416',
		'title': '',
		'imageId': '71328649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328640&x=3416',
		'title': '',
		'imageId': '71328640',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328643&x=3416',
		'title': '',
		'imageId': '71328643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328636&x=3416',
		'title': '',
		'imageId': '71328636',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328638&x=3416',
		'title': '',
		'imageId': '71328638',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328637&x=3416',
		'title': '',
		'imageId': '71328637',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328639&x=3416',
		'title': '',
		'imageId': '71328639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328651&x=3416',
		'title': '',
		'imageId': '71328651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328682&x=3416',
		'title': '',
		'imageId': '71328682',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328655&x=3416',
		'title': '',
		'imageId': '71328655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328656&x=3416',
		'title': '',
		'imageId': '71328656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328661&x=3416',
		'title': '',
		'imageId': '71328661',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328664&x=3416',
		'title': '',
		'imageId': '71328664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328672&x=3416',
		'title': '',
		'imageId': '71328672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328673&x=3416',
		'title': '',
		'imageId': '71328673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328680&x=3416',
		'title': '',
		'imageId': '71328680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328681&x=3416',
		'title': '',
		'imageId': '71328681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063381&docid=71328671&x=3416',
		'title': '',
		'imageId': '71328671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4063381';

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