var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370360&x=3327',
		'title': '',
		'imageId': '67370360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370369&x=3327',
		'title': '',
		'imageId': '67370369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370406&x=3327',
		'title': '',
		'imageId': '67370406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370412&x=3327',
		'title': '',
		'imageId': '67370412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370421&x=3327',
		'title': '',
		'imageId': '67370421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370425&x=3327',
		'title': '',
		'imageId': '67370425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370429&x=3327',
		'title': '',
		'imageId': '67370429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370439&x=3327',
		'title': '',
		'imageId': '67370439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370446&x=3327',
		'title': '',
		'imageId': '67370446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370461&x=3327',
		'title': '',
		'imageId': '67370461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67370469&x=3327',
		'title': '',
		'imageId': '67370469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887615&docid=67401191&x=3327',
		'title': '',
		'imageId': '67401191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887615';

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