var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975675&docid=68911725&x=2939',
		'title': '',
		'imageId': '68911725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975675&docid=68911729&x=2939',
		'title': '',
		'imageId': '68911729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975675&docid=68911723&x=2939',
		'title': '',
		'imageId': '68911723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975675&docid=68911726&x=2939',
		'title': '',
		'imageId': '68911726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975675&docid=68911724&x=2939',
		'title': '',
		'imageId': '68911724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975675&docid=68911727&x=2939',
		'title': '',
		'imageId': '68911727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975675&docid=68911728&x=2939',
		'title': '',
		'imageId': '68911728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975675';

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