var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729753&x=2221',
		'title': '',
		'imageId': '65729753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729756&x=2221',
		'title': '',
		'imageId': '65729756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729757&x=2221',
		'title': '',
		'imageId': '65729757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729749&x=2221',
		'title': '',
		'imageId': '65729749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729752&x=2221',
		'title': '',
		'imageId': '65729752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729755&x=2221',
		'title': '',
		'imageId': '65729755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729754&x=2221',
		'title': '',
		'imageId': '65729754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729748&x=2221',
		'title': '',
		'imageId': '65729748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729751&x=2221',
		'title': '',
		'imageId': '65729751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968617&docid=65729747&x=2221',
		'title': '',
		'imageId': '65729747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968617';

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