var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079408&x=2258',
		'title': '',
		'imageId': '70079408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079398&x=2258',
		'title': '',
		'imageId': '70079398',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079400&x=2258',
		'title': '',
		'imageId': '70079400',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079401&x=2258',
		'title': '',
		'imageId': '70079401',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079402&x=2258',
		'title': '',
		'imageId': '70079402',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079403&x=2258',
		'title': '',
		'imageId': '70079403',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079404&x=2258',
		'title': '',
		'imageId': '70079404',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079405&x=2258',
		'title': '',
		'imageId': '70079405',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079399&x=2258',
		'title': '',
		'imageId': '70079399',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079406&x=2258',
		'title': '',
		'imageId': '70079406',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061476&docid=70079407&x=2258',
		'title': '',
		'imageId': '70079407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061476';

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