var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820706&x=314',
		'title': '',
		'imageId': '67820706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820709&x=314',
		'title': '',
		'imageId': '67820709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820712&x=314',
		'title': '',
		'imageId': '67820712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820715&x=314',
		'title': '',
		'imageId': '67820715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820718&x=314',
		'title': '',
		'imageId': '67820718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820722&x=314',
		'title': '',
		'imageId': '67820722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820765&x=314',
		'title': '',
		'imageId': '67820765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820724&x=314',
		'title': '',
		'imageId': '67820724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820813&x=314',
		'title': '',
		'imageId': '67820813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916799&docid=67820705&x=314',
		'title': '',
		'imageId': '67820705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916799';

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