var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728031&x=2910',
		'title': '',
		'imageId': '68728031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728035&x=2910',
		'title': '',
		'imageId': '68728035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728038&x=2910',
		'title': '',
		'imageId': '68728038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728029&x=2910',
		'title': '',
		'imageId': '68728029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728037&x=2910',
		'title': '',
		'imageId': '68728037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728030&x=2910',
		'title': '',
		'imageId': '68728030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728036&x=2910',
		'title': '',
		'imageId': '68728036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728032&x=2910',
		'title': '',
		'imageId': '68728032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728034&x=2910',
		'title': '',
		'imageId': '68728034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728040&x=2910',
		'title': '',
		'imageId': '68728040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956096&docid=68728033&x=2910',
		'title': '',
		'imageId': '68728033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956096';

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