var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935015&x=4954',
		'title': '',
		'imageId': '71935015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935030&x=4954',
		'title': '',
		'imageId': '71935030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935019&x=4954',
		'title': '',
		'imageId': '71935019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935018&x=4954',
		'title': '',
		'imageId': '71935018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935020&x=4954',
		'title': '',
		'imageId': '71935020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935031&x=4954',
		'title': '',
		'imageId': '71935031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935017&x=4954',
		'title': '',
		'imageId': '71935017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935016&x=4954',
		'title': '',
		'imageId': '71935016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935026&x=4954',
		'title': '',
		'imageId': '71935026',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935033&x=4954',
		'title': '',
		'imageId': '71935033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935025&x=4954',
		'title': '',
		'imageId': '71935025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935024&x=4954',
		'title': '',
		'imageId': '71935024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935029&x=4954',
		'title': '',
		'imageId': '71935029',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935028&x=4954',
		'title': '',
		'imageId': '71935028',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935027&x=4954',
		'title': '',
		'imageId': '71935027',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935021&x=4954',
		'title': '',
		'imageId': '71935021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935023&x=4954',
		'title': '',
		'imageId': '71935023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935032&x=4954',
		'title': '',
		'imageId': '71935032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089857&docid=71935022&x=4954',
		'title': '',
		'imageId': '71935022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089857';

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