var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551937&x=5828',
		'title': '',
		'imageId': '67551937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551934&x=5828',
		'title': '',
		'imageId': '67551934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551946&x=5828',
		'title': '',
		'imageId': '67551946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=68063160&x=5828',
		'title': '',
		'imageId': '68063160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551930&x=5828',
		'title': '',
		'imageId': '67551930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551944&x=5828',
		'title': '',
		'imageId': '67551944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551947&x=5828',
		'title': '',
		'imageId': '67551947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551940&x=5828',
		'title': '',
		'imageId': '67551940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551936&x=5828',
		'title': '',
		'imageId': '67551936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551939&x=5828',
		'title': '',
		'imageId': '67551939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551927&x=5828',
		'title': '',
		'imageId': '67551927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551949&x=5828',
		'title': '',
		'imageId': '67551949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551943&x=5828',
		'title': '',
		'imageId': '67551943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551942&x=5828',
		'title': '',
		'imageId': '67551942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551932&x=5828',
		'title': '',
		'imageId': '67551932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551935&x=5828',
		'title': '',
		'imageId': '67551935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551928&x=5828',
		'title': '',
		'imageId': '67551928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551945&x=5828',
		'title': '',
		'imageId': '67551945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551948&x=5828',
		'title': '',
		'imageId': '67551948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551929&x=5828',
		'title': '',
		'imageId': '67551929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551931&x=5828',
		'title': '',
		'imageId': '67551931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551941&x=5828',
		'title': '',
		'imageId': '67551941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906150&docid=67551933&x=5828',
		'title': '',
		'imageId': '67551933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906150';

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