var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172802&x=1426',
		'title': '',
		'imageId': '71172802',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172818&x=1426',
		'title': '',
		'imageId': '71172818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172819&x=1426',
		'title': '',
		'imageId': '71172819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172820&x=1426',
		'title': '',
		'imageId': '71172820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172833&x=1426',
		'title': '',
		'imageId': '71172833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172775&x=1426',
		'title': '',
		'imageId': '71172775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172777&x=1426',
		'title': '',
		'imageId': '71172777',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172776&x=1426',
		'title': '',
		'imageId': '71172776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172778&x=1426',
		'title': '',
		'imageId': '71172778',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172779&x=1426',
		'title': '',
		'imageId': '71172779',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172780&x=1426',
		'title': '',
		'imageId': '71172780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172795&x=1426',
		'title': '',
		'imageId': '71172795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172798&x=1426',
		'title': '',
		'imageId': '71172798',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172799&x=1426',
		'title': '',
		'imageId': '71172799',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172800&x=1426',
		'title': '',
		'imageId': '71172800',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172801&x=1426',
		'title': '',
		'imageId': '71172801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056842&docid=71172811&x=1426',
		'title': '',
		'imageId': '71172811',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056842';

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