var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433973&x=4728',
		'title': '',
		'imageId': '67433973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433978&x=4728',
		'title': '',
		'imageId': '67433978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433971&x=4728',
		'title': '',
		'imageId': '67433971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433976&x=4728',
		'title': '',
		'imageId': '67433976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433970&x=4728',
		'title': '',
		'imageId': '67433970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433983&x=4728',
		'title': '',
		'imageId': '67433983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433969&x=4728',
		'title': '',
		'imageId': '67433969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433972&x=4728',
		'title': '',
		'imageId': '67433972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433982&x=4728',
		'title': '',
		'imageId': '67433982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433974&x=4728',
		'title': '',
		'imageId': '67433974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433975&x=4728',
		'title': '',
		'imageId': '67433975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433977&x=4728',
		'title': '',
		'imageId': '67433977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433979&x=4728',
		'title': '',
		'imageId': '67433979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433980&x=4728',
		'title': '',
		'imageId': '67433980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433981&x=4728',
		'title': '',
		'imageId': '67433981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901462&docid=67433984&x=4728',
		'title': '',
		'imageId': '67433984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3901462';

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