var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672311&x=4612',
		'title': '',
		'imageId': '69672311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672276&x=4612',
		'title': '',
		'imageId': '69672276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672277&x=4612',
		'title': '',
		'imageId': '69672277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672279&x=4612',
		'title': '',
		'imageId': '69672279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672285&x=4612',
		'title': '',
		'imageId': '69672285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672278&x=4612',
		'title': '',
		'imageId': '69672278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672289&x=4612',
		'title': '',
		'imageId': '69672289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672291&x=4612',
		'title': '',
		'imageId': '69672291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672296&x=4612',
		'title': '',
		'imageId': '69672296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672290&x=4612',
		'title': '',
		'imageId': '69672290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672297&x=4612',
		'title': '',
		'imageId': '69672297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672300&x=4612',
		'title': '',
		'imageId': '69672300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672305&x=4612',
		'title': '',
		'imageId': '69672305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672306&x=4612',
		'title': '',
		'imageId': '69672306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672274&x=4612',
		'title': '',
		'imageId': '69672274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998683&docid=69672275&x=4612',
		'title': '',
		'imageId': '69672275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998683';

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