var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115643&x=1216',
		'title': '',
		'imageId': '69115643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115647&x=1216',
		'title': '',
		'imageId': '69115647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115641&x=1216',
		'title': '',
		'imageId': '69115641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115639&x=1216',
		'title': '',
		'imageId': '69115639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115642&x=1216',
		'title': '',
		'imageId': '69115642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115648&x=1216',
		'title': '',
		'imageId': '69115648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115646&x=1216',
		'title': '',
		'imageId': '69115646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115644&x=1216',
		'title': '',
		'imageId': '69115644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115640&x=1216',
		'title': '',
		'imageId': '69115640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973394&docid=69115645&x=1216',
		'title': '',
		'imageId': '69115645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973394';

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