var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139211&x=4414',
		'title': '',
		'imageId': '68139211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139218&x=4414',
		'title': '',
		'imageId': '68139218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139221&x=4414',
		'title': '',
		'imageId': '68139221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139224&x=4414',
		'title': '',
		'imageId': '68139224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139227&x=4414',
		'title': '',
		'imageId': '68139227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139230&x=4414',
		'title': '',
		'imageId': '68139230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139233&x=4414',
		'title': '',
		'imageId': '68139233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139236&x=4414',
		'title': '',
		'imageId': '68139236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139239&x=4414',
		'title': '',
		'imageId': '68139239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943266&docid=68139208&x=4414',
		'title': '',
		'imageId': '68139208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943266';

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