var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962383&x=5236',
		'title': '',
		'imageId': '6962383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962381&x=5236',
		'title': '',
		'imageId': '6962381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962382&x=5236',
		'title': '',
		'imageId': '6962382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962386&x=5236',
		'title': '',
		'imageId': '6962386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962389&x=5236',
		'title': '',
		'imageId': '6962389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962395&x=5236',
		'title': '',
		'imageId': '6962395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962392&x=5236',
		'title': '',
		'imageId': '6962392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962398&x=5236',
		'title': '',
		'imageId': '6962398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962403&x=5236',
		'title': '',
		'imageId': '6962403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=926157&docid=6962404&x=5236',
		'title': '',
		'imageId': '6962404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #926157';

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