var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254377&x=5723',
		'title': '',
		'imageId': '67254377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254381&x=5723',
		'title': '',
		'imageId': '67254381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254400&x=5723',
		'title': '',
		'imageId': '67254400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254406&x=5723',
		'title': '',
		'imageId': '67254406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254432&x=5723',
		'title': '',
		'imageId': '67254432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254441&x=5723',
		'title': '',
		'imageId': '67254441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254470&x=5723',
		'title': '',
		'imageId': '67254470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254485&x=5723',
		'title': '',
		'imageId': '67254485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254533&x=5723',
		'title': '',
		'imageId': '67254533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67254545&x=5723',
		'title': '',
		'imageId': '67254545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887208&docid=67565140&x=5723',
		'title': '',
		'imageId': '67565140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887208';

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