var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367275&x=2949',
		'title': '',
		'imageId': '68367275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367276&x=2949',
		'title': '',
		'imageId': '68367276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367277&x=2949',
		'title': '',
		'imageId': '68367277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367278&x=2949',
		'title': '',
		'imageId': '68367278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367279&x=2949',
		'title': '',
		'imageId': '68367279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367280&x=2949',
		'title': '',
		'imageId': '68367280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367281&x=2949',
		'title': '',
		'imageId': '68367281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367282&x=2949',
		'title': '',
		'imageId': '68367282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367283&x=2949',
		'title': '',
		'imageId': '68367283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940082&docid=68367284&x=2949',
		'title': '',
		'imageId': '68367284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940082';

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