var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703143&x=5513',
		'title': '',
		'imageId': '68703143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703163&x=5513',
		'title': '',
		'imageId': '68703163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703166&x=5513',
		'title': '',
		'imageId': '68703166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703164&x=5513',
		'title': '',
		'imageId': '68703164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703584&x=5513',
		'title': '',
		'imageId': '68703584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703583&x=5513',
		'title': '',
		'imageId': '68703583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703215&x=5513',
		'title': '',
		'imageId': '68703215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703220&x=5513',
		'title': '',
		'imageId': '68703220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703216&x=5513',
		'title': '',
		'imageId': '68703216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703221&x=5513',
		'title': '',
		'imageId': '68703221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703217&x=5513',
		'title': '',
		'imageId': '68703217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703218&x=5513',
		'title': '',
		'imageId': '68703218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703219&x=5513',
		'title': '',
		'imageId': '68703219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703389&x=5513',
		'title': '',
		'imageId': '68703389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703582&x=5513',
		'title': '',
		'imageId': '68703582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=68703585&x=5513',
		'title': '',
		'imageId': '68703585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954929&docid=69270088&x=5513',
		'title': '',
		'imageId': '69270088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954929';

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