var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608184&x=516',
		'title': '',
		'imageId': '68608184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608193&x=516',
		'title': '',
		'imageId': '68608193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608188&x=516',
		'title': '',
		'imageId': '68608188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608187&x=516',
		'title': '',
		'imageId': '68608187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608191&x=516',
		'title': '',
		'imageId': '68608191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608192&x=516',
		'title': '',
		'imageId': '68608192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608194&x=516',
		'title': '',
		'imageId': '68608194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608189&x=516',
		'title': '',
		'imageId': '68608189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608185&x=516',
		'title': '',
		'imageId': '68608185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950178&docid=68608190&x=516',
		'title': '',
		'imageId': '68608190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950178';

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