var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625940&x=73',
		'title': '',
		'imageId': '67625940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625945&x=73',
		'title': '',
		'imageId': '67625945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625941&x=73',
		'title': '',
		'imageId': '67625941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625949&x=73',
		'title': '',
		'imageId': '67625949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625942&x=73',
		'title': '',
		'imageId': '67625942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625943&x=73',
		'title': '',
		'imageId': '67625943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625946&x=73',
		'title': '',
		'imageId': '67625946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625947&x=73',
		'title': '',
		'imageId': '67625947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625950&x=73',
		'title': '',
		'imageId': '67625950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625944&x=73',
		'title': '',
		'imageId': '67625944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909351&docid=67625948&x=73',
		'title': '',
		'imageId': '67625948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909351';

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