var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754696&x=3552',
		'title': '',
		'imageId': '69754696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754694&x=3552',
		'title': '',
		'imageId': '69754694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754697&x=3552',
		'title': '',
		'imageId': '69754697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754698&x=3552',
		'title': '',
		'imageId': '69754698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754707&x=3552',
		'title': '',
		'imageId': '69754707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754705&x=3552',
		'title': '',
		'imageId': '69754705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754706&x=3552',
		'title': '',
		'imageId': '69754706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754710&x=3552',
		'title': '',
		'imageId': '69754710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754695&x=3552',
		'title': '',
		'imageId': '69754695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011539&docid=69754693&x=3552',
		'title': '',
		'imageId': '69754693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011539';

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