var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067089&x=936',
		'title': '',
		'imageId': '70067089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067094&x=936',
		'title': '',
		'imageId': '70067094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067092&x=936',
		'title': '',
		'imageId': '70067092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067093&x=936',
		'title': '',
		'imageId': '70067093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067095&x=936',
		'title': '',
		'imageId': '70067095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067096&x=936',
		'title': '',
		'imageId': '70067096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067097&x=936',
		'title': '',
		'imageId': '70067097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067112&x=936',
		'title': '',
		'imageId': '70067112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067111&x=936',
		'title': '',
		'imageId': '70067111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067110&x=936',
		'title': '',
		'imageId': '70067110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067123&x=936',
		'title': '',
		'imageId': '70067123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014481&docid=70067122&x=936',
		'title': '',
		'imageId': '70067122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014481';

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