var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860154&x=1231',
		'title': '',
		'imageId': '68860154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860156&x=1231',
		'title': '',
		'imageId': '68860156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860157&x=1231',
		'title': '',
		'imageId': '68860157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860161&x=1231',
		'title': '',
		'imageId': '68860161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860155&x=1231',
		'title': '',
		'imageId': '68860155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860159&x=1231',
		'title': '',
		'imageId': '68860159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860153&x=1231',
		'title': '',
		'imageId': '68860153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860158&x=1231',
		'title': '',
		'imageId': '68860158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860152&x=1231',
		'title': '',
		'imageId': '68860152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860162&x=1231',
		'title': '',
		'imageId': '68860162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860165&x=1231',
		'title': '',
		'imageId': '68860165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860163&x=1231',
		'title': '',
		'imageId': '68860163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860164&x=1231',
		'title': '',
		'imageId': '68860164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860166&x=1231',
		'title': '',
		'imageId': '68860166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860160&x=1231',
		'title': '',
		'imageId': '68860160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961253&docid=68860167&x=1231',
		'title': '',
		'imageId': '68860167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961253';

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