var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68443639&x=338',
		'title': '',
		'imageId': '68443639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68437224&x=338',
		'title': '',
		'imageId': '68437224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68437223&x=338',
		'title': '',
		'imageId': '68437223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68437225&x=338',
		'title': '',
		'imageId': '68437225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68437219&x=338',
		'title': '',
		'imageId': '68437219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68437222&x=338',
		'title': '',
		'imageId': '68437222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68437218&x=338',
		'title': '',
		'imageId': '68437218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68437217&x=338',
		'title': '',
		'imageId': '68437217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68437220&x=338',
		'title': '',
		'imageId': '68437220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943866&docid=68437221&x=338',
		'title': '',
		'imageId': '68437221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943866';

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