var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931885&x=4934',
		'title': '',
		'imageId': '67931885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931877&x=4934',
		'title': '',
		'imageId': '67931877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931883&x=4934',
		'title': '',
		'imageId': '67931883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931879&x=4934',
		'title': '',
		'imageId': '67931879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931881&x=4934',
		'title': '',
		'imageId': '67931881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931876&x=4934',
		'title': '',
		'imageId': '67931876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931884&x=4934',
		'title': '',
		'imageId': '67931884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931878&x=4934',
		'title': '',
		'imageId': '67931878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931882&x=4934',
		'title': '',
		'imageId': '67931882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920923&docid=67931880&x=4934',
		'title': '',
		'imageId': '67931880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920923';

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