var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555188&x=1352',
		'title': '',
		'imageId': '69555188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555189&x=1352',
		'title': '',
		'imageId': '69555189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555191&x=1352',
		'title': '',
		'imageId': '69555191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555190&x=1352',
		'title': '',
		'imageId': '69555190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555192&x=1352',
		'title': '',
		'imageId': '69555192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555195&x=1352',
		'title': '',
		'imageId': '69555195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555200&x=1352',
		'title': '',
		'imageId': '69555200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555197&x=1352',
		'title': '',
		'imageId': '69555197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555194&x=1352',
		'title': '',
		'imageId': '69555194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555193&x=1352',
		'title': '',
		'imageId': '69555193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555199&x=1352',
		'title': '',
		'imageId': '69555199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992946&docid=69555198&x=1352',
		'title': '',
		'imageId': '69555198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992946';

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