var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874175&x=4124',
		'title': '',
		'imageId': '71874175',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874181&x=4124',
		'title': '',
		'imageId': '71874181',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874225&x=4124',
		'title': '',
		'imageId': '71874225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874237&x=4124',
		'title': '',
		'imageId': '71874237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874246&x=4124',
		'title': '',
		'imageId': '71874246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874250&x=4124',
		'title': '',
		'imageId': '71874250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874263&x=4124',
		'title': '',
		'imageId': '71874263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874279&x=4124',
		'title': '',
		'imageId': '71874279',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874286&x=4124',
		'title': '',
		'imageId': '71874286',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874291&x=4124',
		'title': '',
		'imageId': '71874291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874299&x=4124',
		'title': '',
		'imageId': '71874299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874411&x=4124',
		'title': '',
		'imageId': '71874411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874458&x=4124',
		'title': '',
		'imageId': '71874458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874568&x=4124',
		'title': '',
		'imageId': '71874568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874592&x=4124',
		'title': '',
		'imageId': '71874592',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874603&x=4124',
		'title': '',
		'imageId': '71874603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874621&x=4124',
		'title': '',
		'imageId': '71874621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087416&docid=71874633&x=4124',
		'title': '',
		'imageId': '71874633',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087416';

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