var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252865&x=2725',
		'title': '',
		'imageId': '68252865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252878&x=2725',
		'title': '',
		'imageId': '68252878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252880&x=2725',
		'title': '',
		'imageId': '68252880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252882&x=2725',
		'title': '',
		'imageId': '68252882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252887&x=2725',
		'title': '',
		'imageId': '68252887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252890&x=2725',
		'title': '',
		'imageId': '68252890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252893&x=2725',
		'title': '',
		'imageId': '68252893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252896&x=2725',
		'title': '',
		'imageId': '68252896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252899&x=2725',
		'title': '',
		'imageId': '68252899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252902&x=2725',
		'title': '',
		'imageId': '68252902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935248&docid=68252918&x=2725',
		'title': '',
		'imageId': '68252918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3935248';

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