var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494720&x=5656',
		'title': '',
		'imageId': '67494720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494722&x=5656',
		'title': '',
		'imageId': '67494722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494721&x=5656',
		'title': '',
		'imageId': '67494721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494724&x=5656',
		'title': '',
		'imageId': '67494724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494723&x=5656',
		'title': '',
		'imageId': '67494723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494737&x=5656',
		'title': '',
		'imageId': '67494737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494738&x=5656',
		'title': '',
		'imageId': '67494738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494736&x=5656',
		'title': '',
		'imageId': '67494736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494739&x=5656',
		'title': '',
		'imageId': '67494739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903833&docid=67494743&x=5656',
		'title': '',
		'imageId': '67494743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3903833';

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