var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904817&x=3318',
		'title': '',
		'imageId': '69904817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904814&x=3318',
		'title': '',
		'imageId': '69904814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904812&x=3318',
		'title': '',
		'imageId': '69904812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904810&x=3318',
		'title': '',
		'imageId': '69904810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904815&x=3318',
		'title': '',
		'imageId': '69904815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904818&x=3318',
		'title': '',
		'imageId': '69904818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904820&x=3318',
		'title': '',
		'imageId': '69904820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904811&x=3318',
		'title': '',
		'imageId': '69904811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904819&x=3318',
		'title': '',
		'imageId': '69904819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904813&x=3318',
		'title': '',
		'imageId': '69904813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007776&docid=69904816&x=3318',
		'title': '',
		'imageId': '69904816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007776';

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