var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69817318&x=178',
		'title': '',
		'imageId': '69817318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69817320&x=178',
		'title': '',
		'imageId': '69817320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69817319&x=178',
		'title': '',
		'imageId': '69817319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69817315&x=178',
		'title': '',
		'imageId': '69817315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69817317&x=178',
		'title': '',
		'imageId': '69817317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69818724&x=178',
		'title': '',
		'imageId': '69818724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69818722&x=178',
		'title': '',
		'imageId': '69818722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69818734&x=178',
		'title': '',
		'imageId': '69818734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69818731&x=178',
		'title': '',
		'imageId': '69818731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69818732&x=178',
		'title': '',
		'imageId': '69818732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69818728&x=178',
		'title': '',
		'imageId': '69818728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004371&docid=69818729&x=178',
		'title': '',
		'imageId': '69818729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004371';

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