var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114415&x=3724',
		'title': '',
		'imageId': '68114415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114417&x=3724',
		'title': '',
		'imageId': '68114417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114418&x=3724',
		'title': '',
		'imageId': '68114418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114419&x=3724',
		'title': '',
		'imageId': '68114419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114420&x=3724',
		'title': '',
		'imageId': '68114420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114421&x=3724',
		'title': '',
		'imageId': '68114421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114422&x=3724',
		'title': '',
		'imageId': '68114422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114423&x=3724',
		'title': '',
		'imageId': '68114423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114424&x=3724',
		'title': '',
		'imageId': '68114424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929279&docid=68114425&x=3724',
		'title': '',
		'imageId': '68114425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929279';

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