var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596146&x=520',
		'title': '',
		'imageId': '71596146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596143&x=520',
		'title': '',
		'imageId': '71596143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596141&x=520',
		'title': '',
		'imageId': '71596141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596144&x=520',
		'title': '',
		'imageId': '71596144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596147&x=520',
		'title': '',
		'imageId': '71596147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596139&x=520',
		'title': '',
		'imageId': '71596139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596140&x=520',
		'title': '',
		'imageId': '71596140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596148&x=520',
		'title': '',
		'imageId': '71596148',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596145&x=520',
		'title': '',
		'imageId': '71596145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596142&x=520',
		'title': '',
		'imageId': '71596142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072943&docid=71596149&x=520',
		'title': '',
		'imageId': '71596149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072943';

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