var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70488390&x=1915',
		'title': '',
		'imageId': '70488390',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70488393&x=1915',
		'title': '',
		'imageId': '70488393',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70488394&x=1915',
		'title': '',
		'imageId': '70488394',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443714&x=1915',
		'title': '',
		'imageId': '70443714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70488389&x=1915',
		'title': '',
		'imageId': '70488389',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70488392&x=1915',
		'title': '',
		'imageId': '70488392',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443716&x=1915',
		'title': '',
		'imageId': '70443716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443715&x=1915',
		'title': '',
		'imageId': '70443715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443706&x=1915',
		'title': '',
		'imageId': '70443706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443705&x=1915',
		'title': '',
		'imageId': '70443705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443709&x=1915',
		'title': '',
		'imageId': '70443709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443708&x=1915',
		'title': '',
		'imageId': '70443708',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443711&x=1915',
		'title': '',
		'imageId': '70443711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443713&x=1915',
		'title': '',
		'imageId': '70443713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443710&x=1915',
		'title': '',
		'imageId': '70443710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443712&x=1915',
		'title': '',
		'imageId': '70443712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70443707&x=1915',
		'title': '',
		'imageId': '70443707',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70488388&x=1915',
		'title': '',
		'imageId': '70488388',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029558&docid=70488391&x=1915',
		'title': '',
		'imageId': '70488391',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029558';

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