var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442046&x=754',
		'title': '',
		'imageId': '71442046',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442045&x=754',
		'title': '',
		'imageId': '71442045',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442052&x=754',
		'title': '',
		'imageId': '71442052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442042&x=754',
		'title': '',
		'imageId': '71442042',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442054&x=754',
		'title': '',
		'imageId': '71442054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442047&x=754',
		'title': '',
		'imageId': '71442047',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442051&x=754',
		'title': '',
		'imageId': '71442051',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442041&x=754',
		'title': '',
		'imageId': '71442041',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442048&x=754',
		'title': '',
		'imageId': '71442048',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442049&x=754',
		'title': '',
		'imageId': '71442049',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442044&x=754',
		'title': '',
		'imageId': '71442044',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442053&x=754',
		'title': '',
		'imageId': '71442053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442043&x=754',
		'title': '',
		'imageId': '71442043',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442050&x=754',
		'title': '',
		'imageId': '71442050',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442055&x=754',
		'title': '',
		'imageId': '71442055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442059&x=754',
		'title': '',
		'imageId': '71442059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442056&x=754',
		'title': '',
		'imageId': '71442056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442057&x=754',
		'title': '',
		'imageId': '71442057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442061&x=754',
		'title': '',
		'imageId': '71442061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069329&docid=71442060&x=754',
		'title': '',
		'imageId': '71442060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069329';

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