var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234626&x=038',
		'title': '',
		'imageId': '67234626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234629&x=038',
		'title': '',
		'imageId': '67234629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234634&x=038',
		'title': '',
		'imageId': '67234634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234637&x=038',
		'title': '',
		'imageId': '67234637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234658&x=038',
		'title': '',
		'imageId': '67234658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234671&x=038',
		'title': '',
		'imageId': '67234671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234680&x=038',
		'title': '',
		'imageId': '67234680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234685&x=038',
		'title': '',
		'imageId': '67234685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234695&x=038',
		'title': '',
		'imageId': '67234695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67234698&x=038',
		'title': '',
		'imageId': '67234698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887196&docid=67565092&x=038',
		'title': '',
		'imageId': '67565092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887196';

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