var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689923&x=5554',
		'title': '',
		'imageId': '71689923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71692245&x=5554',
		'title': '',
		'imageId': '71692245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71692246&x=5554',
		'title': '',
		'imageId': '71692246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71692247&x=5554',
		'title': '',
		'imageId': '71692247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71692248&x=5554',
		'title': '',
		'imageId': '71692248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71692249&x=5554',
		'title': '',
		'imageId': '71692249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71692250&x=5554',
		'title': '',
		'imageId': '71692250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689925&x=5554',
		'title': '',
		'imageId': '71689925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689922&x=5554',
		'title': '',
		'imageId': '71689922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689924&x=5554',
		'title': '',
		'imageId': '71689924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689928&x=5554',
		'title': '',
		'imageId': '71689928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689931&x=5554',
		'title': '',
		'imageId': '71689931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689946&x=5554',
		'title': '',
		'imageId': '71689946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689943&x=5554',
		'title': '',
		'imageId': '71689943',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689935&x=5554',
		'title': '',
		'imageId': '71689935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689942&x=5554',
		'title': '',
		'imageId': '71689942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689941&x=5554',
		'title': '',
		'imageId': '71689941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689920&x=5554',
		'title': '',
		'imageId': '71689920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079477&docid=71689921&x=5554',
		'title': '',
		'imageId': '71689921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4079477';

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