var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604558&x=3111',
		'title': '',
		'imageId': '67604558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604559&x=3111',
		'title': '',
		'imageId': '67604559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604560&x=3111',
		'title': '',
		'imageId': '67604560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604561&x=3111',
		'title': '',
		'imageId': '67604561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604562&x=3111',
		'title': '',
		'imageId': '67604562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604563&x=3111',
		'title': '',
		'imageId': '67604563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604564&x=3111',
		'title': '',
		'imageId': '67604564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604565&x=3111',
		'title': '',
		'imageId': '67604565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604566&x=3111',
		'title': '',
		'imageId': '67604566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920397&docid=67604568&x=3111',
		'title': '',
		'imageId': '67604568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920397';

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