var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887027&x=4848',
		'title': '',
		'imageId': '67887027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887028&x=4848',
		'title': '',
		'imageId': '67887028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887029&x=4848',
		'title': '',
		'imageId': '67887029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887030&x=4848',
		'title': '',
		'imageId': '67887030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887031&x=4848',
		'title': '',
		'imageId': '67887031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887032&x=4848',
		'title': '',
		'imageId': '67887032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887033&x=4848',
		'title': '',
		'imageId': '67887033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887034&x=4848',
		'title': '',
		'imageId': '67887034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887035&x=4848',
		'title': '',
		'imageId': '67887035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919074&docid=67887036&x=4848',
		'title': '',
		'imageId': '67887036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919074';

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