var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692509&x=3653',
		'title': '',
		'imageId': '67692509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692510&x=3653',
		'title': '',
		'imageId': '67692510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692513&x=3653',
		'title': '',
		'imageId': '67692513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692512&x=3653',
		'title': '',
		'imageId': '67692512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692514&x=3653',
		'title': '',
		'imageId': '67692514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692521&x=3653',
		'title': '',
		'imageId': '67692521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692522&x=3653',
		'title': '',
		'imageId': '67692522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692523&x=3653',
		'title': '',
		'imageId': '67692523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692526&x=3653',
		'title': '',
		'imageId': '67692526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692531&x=3653',
		'title': '',
		'imageId': '67692531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692532&x=3653',
		'title': '',
		'imageId': '67692532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692535&x=3653',
		'title': '',
		'imageId': '67692535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692538&x=3653',
		'title': '',
		'imageId': '67692538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692543&x=3653',
		'title': '',
		'imageId': '67692543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692546&x=3653',
		'title': '',
		'imageId': '67692546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912374&docid=67692511&x=3653',
		'title': '',
		'imageId': '67692511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912374';

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