var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514172&x=1556',
		'title': '',
		'imageId': '70514172',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514174&x=1556',
		'title': '',
		'imageId': '70514174',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514175&x=1556',
		'title': '',
		'imageId': '70514175',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514176&x=1556',
		'title': '',
		'imageId': '70514176',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514177&x=1556',
		'title': '',
		'imageId': '70514177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514178&x=1556',
		'title': '',
		'imageId': '70514178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514179&x=1556',
		'title': '',
		'imageId': '70514179',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514180&x=1556',
		'title': '',
		'imageId': '70514180',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514181&x=1556',
		'title': '',
		'imageId': '70514181',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514182&x=1556',
		'title': '',
		'imageId': '70514182',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032448&docid=70514183&x=1556',
		'title': '',
		'imageId': '70514183',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4032448';

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