var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061158&x=396',
		'title': '',
		'imageId': '70061158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061159&x=396',
		'title': '',
		'imageId': '70061159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061160&x=396',
		'title': '',
		'imageId': '70061160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061155&x=396',
		'title': '',
		'imageId': '70061155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061156&x=396',
		'title': '',
		'imageId': '70061156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061162&x=396',
		'title': '',
		'imageId': '70061162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061161&x=396',
		'title': '',
		'imageId': '70061161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061157&x=396',
		'title': '',
		'imageId': '70061157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061164&x=396',
		'title': '',
		'imageId': '70061164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014259&docid=70061163&x=396',
		'title': '',
		'imageId': '70061163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014259';

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