var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226232&x=3643',
		'title': '',
		'imageId': '68226232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226233&x=3643',
		'title': '',
		'imageId': '68226233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226234&x=3643',
		'title': '',
		'imageId': '68226234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226235&x=3643',
		'title': '',
		'imageId': '68226235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226236&x=3643',
		'title': '',
		'imageId': '68226236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226237&x=3643',
		'title': '',
		'imageId': '68226237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226238&x=3643',
		'title': '',
		'imageId': '68226238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226239&x=3643',
		'title': '',
		'imageId': '68226239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226240&x=3643',
		'title': '',
		'imageId': '68226240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969009&docid=68226241&x=3643',
		'title': '',
		'imageId': '68226241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969009';

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