var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867254&x=4036',
		'title': '',
		'imageId': '69867254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867256&x=4036',
		'title': '',
		'imageId': '69867256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867261&x=4036',
		'title': '',
		'imageId': '69867261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867257&x=4036',
		'title': '',
		'imageId': '69867257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867267&x=4036',
		'title': '',
		'imageId': '69867267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867269&x=4036',
		'title': '',
		'imageId': '69867269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867270&x=4036',
		'title': '',
		'imageId': '69867270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867278&x=4036',
		'title': '',
		'imageId': '69867278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867275&x=4036',
		'title': '',
		'imageId': '69867275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867258&x=4036',
		'title': '',
		'imageId': '69867258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867253&x=4036',
		'title': '',
		'imageId': '69867253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006363&docid=69867255&x=4036',
		'title': '',
		'imageId': '69867255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006363';

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