var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237213&x=1936',
		'title': '',
		'imageId': '69237213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237224&x=1936',
		'title': '',
		'imageId': '69237224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237215&x=1936',
		'title': '',
		'imageId': '69237215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237221&x=1936',
		'title': '',
		'imageId': '69237221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237214&x=1936',
		'title': '',
		'imageId': '69237214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237217&x=1936',
		'title': '',
		'imageId': '69237217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237225&x=1936',
		'title': '',
		'imageId': '69237225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237219&x=1936',
		'title': '',
		'imageId': '69237219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237218&x=1936',
		'title': '',
		'imageId': '69237218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237222&x=1936',
		'title': '',
		'imageId': '69237222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237220&x=1936',
		'title': '',
		'imageId': '69237220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979093&docid=69237223&x=1936',
		'title': '',
		'imageId': '69237223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979093';

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