var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045239&x=3954',
		'title': '',
		'imageId': '68045239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045273&x=3954',
		'title': '',
		'imageId': '68045273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045241&x=3954',
		'title': '',
		'imageId': '68045241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045235&x=3954',
		'title': '',
		'imageId': '68045235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045240&x=3954',
		'title': '',
		'imageId': '68045240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045233&x=3954',
		'title': '',
		'imageId': '68045233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045234&x=3954',
		'title': '',
		'imageId': '68045234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045237&x=3954',
		'title': '',
		'imageId': '68045237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045236&x=3954',
		'title': '',
		'imageId': '68045236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925692&docid=68045238&x=3954',
		'title': '',
		'imageId': '68045238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925692';

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