var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896811&x=5348',
		'title': '',
		'imageId': '71896811',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896821&x=5348',
		'title': '',
		'imageId': '71896821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896809&x=5348',
		'title': '',
		'imageId': '71896809',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896810&x=5348',
		'title': '',
		'imageId': '71896810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896803&x=5348',
		'title': '',
		'imageId': '71896803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896817&x=5348',
		'title': '',
		'imageId': '71896817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896819&x=5348',
		'title': '',
		'imageId': '71896819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896804&x=5348',
		'title': '',
		'imageId': '71896804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896816&x=5348',
		'title': '',
		'imageId': '71896816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896807&x=5348',
		'title': '',
		'imageId': '71896807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896812&x=5348',
		'title': '',
		'imageId': '71896812',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896806&x=5348',
		'title': '',
		'imageId': '71896806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896813&x=5348',
		'title': '',
		'imageId': '71896813',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896808&x=5348',
		'title': '',
		'imageId': '71896808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896814&x=5348',
		'title': '',
		'imageId': '71896814',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896815&x=5348',
		'title': '',
		'imageId': '71896815',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896820&x=5348',
		'title': '',
		'imageId': '71896820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896805&x=5348',
		'title': '',
		'imageId': '71896805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4088479&docid=71896818&x=5348',
		'title': '',
		'imageId': '71896818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4088479';

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