var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581157&x=839',
		'title': '',
		'imageId': '70581157',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581153&x=839',
		'title': '',
		'imageId': '70581153',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581155&x=839',
		'title': '',
		'imageId': '70581155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581163&x=839',
		'title': '',
		'imageId': '70581163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581154&x=839',
		'title': '',
		'imageId': '70581154',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581165&x=839',
		'title': '',
		'imageId': '70581165',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581161&x=839',
		'title': '',
		'imageId': '70581161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581156&x=839',
		'title': '',
		'imageId': '70581156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581159&x=839',
		'title': '',
		'imageId': '70581159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581162&x=839',
		'title': '',
		'imageId': '70581162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034647&docid=70581158&x=839',
		'title': '',
		'imageId': '70581158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4034647';

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