var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003647&x=3444',
		'title': '',
		'imageId': '71003647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003643&x=3444',
		'title': '',
		'imageId': '71003643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003648&x=3444',
		'title': '',
		'imageId': '71003648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003641&x=3444',
		'title': '',
		'imageId': '71003641',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003651&x=3444',
		'title': '',
		'imageId': '71003651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003646&x=3444',
		'title': '',
		'imageId': '71003646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003650&x=3444',
		'title': '',
		'imageId': '71003650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003649&x=3444',
		'title': '',
		'imageId': '71003649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003642&x=3444',
		'title': '',
		'imageId': '71003642',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003644&x=3444',
		'title': '',
		'imageId': '71003644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050312&docid=71003645&x=3444',
		'title': '',
		'imageId': '71003645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4050312';

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