var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496715&x=2959',
		'title': '',
		'imageId': '66496715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496667&x=2959',
		'title': '',
		'imageId': '66496667',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496717&x=2959',
		'title': '',
		'imageId': '66496717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496666&x=2959',
		'title': '',
		'imageId': '66496666',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496669&x=2959',
		'title': '',
		'imageId': '66496669',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496668&x=2959',
		'title': '',
		'imageId': '66496668',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496719&x=2959',
		'title': '',
		'imageId': '66496719',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496720&x=2959',
		'title': '',
		'imageId': '66496720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496716&x=2959',
		'title': '',
		'imageId': '66496716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496718&x=2959',
		'title': '',
		'imageId': '66496718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921246&docid=66496665&x=2959',
		'title': '',
		'imageId': '66496665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921246';

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