var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68234240&x=523',
		'title': '',
		'imageId': '68234240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68234242&x=523',
		'title': '',
		'imageId': '68234242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68234239&x=523',
		'title': '',
		'imageId': '68234239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68234236&x=523',
		'title': '',
		'imageId': '68234236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68234238&x=523',
		'title': '',
		'imageId': '68234238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68234241&x=523',
		'title': '',
		'imageId': '68234241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68234237&x=523',
		'title': '',
		'imageId': '68234237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68234235&x=523',
		'title': '',
		'imageId': '68234235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68344695&x=523',
		'title': '',
		'imageId': '68344695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68344694&x=523',
		'title': '',
		'imageId': '68344694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934271&docid=68344696&x=523',
		'title': '',
		'imageId': '68344696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934271';

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