var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474043&x=1117',
		'title': '',
		'imageId': '68474043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474044&x=1117',
		'title': '',
		'imageId': '68474044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474045&x=1117',
		'title': '',
		'imageId': '68474045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474050&x=1117',
		'title': '',
		'imageId': '68474050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474053&x=1117',
		'title': '',
		'imageId': '68474053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474054&x=1117',
		'title': '',
		'imageId': '68474054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474057&x=1117',
		'title': '',
		'imageId': '68474057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474060&x=1117',
		'title': '',
		'imageId': '68474060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474063&x=1117',
		'title': '',
		'imageId': '68474063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954019&docid=68474066&x=1117',
		'title': '',
		'imageId': '68474066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954019';

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