var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435734&x=1428',
		'title': '',
		'imageId': '71435734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71436603&x=1428',
		'title': '',
		'imageId': '71436603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435746&x=1428',
		'title': '',
		'imageId': '71435746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435735&x=1428',
		'title': '',
		'imageId': '71435735',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435743&x=1428',
		'title': '',
		'imageId': '71435743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435745&x=1428',
		'title': '',
		'imageId': '71435745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435744&x=1428',
		'title': '',
		'imageId': '71435744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435738&x=1428',
		'title': '',
		'imageId': '71435738',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435737&x=1428',
		'title': '',
		'imageId': '71435737',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435739&x=1428',
		'title': '',
		'imageId': '71435739',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069019&docid=71435741&x=1428',
		'title': '',
		'imageId': '71435741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069019';

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