var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437018&x=5910',
		'title': '',
		'imageId': '71437018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437023&x=5910',
		'title': '',
		'imageId': '71437023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437008&x=5910',
		'title': '',
		'imageId': '71437008',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437024&x=5910',
		'title': '',
		'imageId': '71437024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437025&x=5910',
		'title': '',
		'imageId': '71437025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437015&x=5910',
		'title': '',
		'imageId': '71437015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437017&x=5910',
		'title': '',
		'imageId': '71437017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437022&x=5910',
		'title': '',
		'imageId': '71437022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437012&x=5910',
		'title': '',
		'imageId': '71437012',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437014&x=5910',
		'title': '',
		'imageId': '71437014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437021&x=5910',
		'title': '',
		'imageId': '71437021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437009&x=5910',
		'title': '',
		'imageId': '71437009',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437016&x=5910',
		'title': '',
		'imageId': '71437016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437011&x=5910',
		'title': '',
		'imageId': '71437011',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437010&x=5910',
		'title': '',
		'imageId': '71437010',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437020&x=5910',
		'title': '',
		'imageId': '71437020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437007&x=5910',
		'title': '',
		'imageId': '71437007',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069061&docid=71437013&x=5910',
		'title': '',
		'imageId': '71437013',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069061';

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