var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760765&x=374',
		'title': '',
		'imageId': '69760765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760764&x=374',
		'title': '',
		'imageId': '69760764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760770&x=374',
		'title': '',
		'imageId': '69760770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760762&x=374',
		'title': '',
		'imageId': '69760762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760769&x=374',
		'title': '',
		'imageId': '69760769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760763&x=374',
		'title': '',
		'imageId': '69760763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760771&x=374',
		'title': '',
		'imageId': '69760771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760767&x=374',
		'title': '',
		'imageId': '69760767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760772&x=374',
		'title': '',
		'imageId': '69760772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760766&x=374',
		'title': '',
		'imageId': '69760766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760773&x=374',
		'title': '',
		'imageId': '69760773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001911&docid=69760768&x=374',
		'title': '',
		'imageId': '69760768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001911';

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