var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815476&x=4410',
		'title': '',
		'imageId': '67815476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815500&x=4410',
		'title': '',
		'imageId': '67815500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815477&x=4410',
		'title': '',
		'imageId': '67815477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815478&x=4410',
		'title': '',
		'imageId': '67815478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815501&x=4410',
		'title': '',
		'imageId': '67815501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815479&x=4410',
		'title': '',
		'imageId': '67815479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815480&x=4410',
		'title': '',
		'imageId': '67815480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815481&x=4410',
		'title': '',
		'imageId': '67815481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815502&x=4410',
		'title': '',
		'imageId': '67815502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815484&x=4410',
		'title': '',
		'imageId': '67815484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815487&x=4410',
		'title': '',
		'imageId': '67815487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916698&docid=67815284&x=4410',
		'title': '',
		'imageId': '67815284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916698';

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