var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68736279&x=5221',
		'title': '',
		'imageId': '68736279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68736275&x=5221',
		'title': '',
		'imageId': '68736275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68736280&x=5221',
		'title': '',
		'imageId': '68736280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68736277&x=5221',
		'title': '',
		'imageId': '68736277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68736274&x=5221',
		'title': '',
		'imageId': '68736274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68736278&x=5221',
		'title': '',
		'imageId': '68736278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68736272&x=5221',
		'title': '',
		'imageId': '68736272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68736273&x=5221',
		'title': '',
		'imageId': '68736273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68736276&x=5221',
		'title': '',
		'imageId': '68736276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956428&docid=68804711&x=5221',
		'title': '',
		'imageId': '68804711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956428';

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