var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653878&x=259',
		'title': '',
		'imageId': '67653878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653879&x=259',
		'title': '',
		'imageId': '67653879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653880&x=259',
		'title': '',
		'imageId': '67653880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653881&x=259',
		'title': '',
		'imageId': '67653881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653877&x=259',
		'title': '',
		'imageId': '67653877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653882&x=259',
		'title': '',
		'imageId': '67653882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653883&x=259',
		'title': '',
		'imageId': '67653883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653884&x=259',
		'title': '',
		'imageId': '67653884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653885&x=259',
		'title': '',
		'imageId': '67653885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910669&docid=67653886&x=259',
		'title': '',
		'imageId': '67653886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910669';

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