var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989244&x=5818',
		'title': '',
		'imageId': '69989244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989256&x=5818',
		'title': '',
		'imageId': '69989256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989260&x=5818',
		'title': '',
		'imageId': '69989260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989264&x=5818',
		'title': '',
		'imageId': '69989264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989268&x=5818',
		'title': '',
		'imageId': '69989268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989271&x=5818',
		'title': '',
		'imageId': '69989271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989274&x=5818',
		'title': '',
		'imageId': '69989274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989277&x=5818',
		'title': '',
		'imageId': '69989277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989280&x=5818',
		'title': '',
		'imageId': '69989280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989283&x=5818',
		'title': '',
		'imageId': '69989283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989286&x=5818',
		'title': '',
		'imageId': '69989286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011354&docid=69989289&x=5818',
		'title': '',
		'imageId': '69989289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011354';

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