var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953697&x=4932',
		'title': '',
		'imageId': '68953697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953692&x=4932',
		'title': '',
		'imageId': '68953692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953699&x=4932',
		'title': '',
		'imageId': '68953699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953693&x=4932',
		'title': '',
		'imageId': '68953693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953695&x=4932',
		'title': '',
		'imageId': '68953695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953694&x=4932',
		'title': '',
		'imageId': '68953694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953691&x=4932',
		'title': '',
		'imageId': '68953691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953696&x=4932',
		'title': '',
		'imageId': '68953696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953700&x=4932',
		'title': '',
		'imageId': '68953700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966145&docid=68953698&x=4932',
		'title': '',
		'imageId': '68953698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966145';

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