var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681792&x=4945',
		'title': '',
		'imageId': '66681792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681796&x=4945',
		'title': '',
		'imageId': '66681796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681795&x=4945',
		'title': '',
		'imageId': '66681795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681794&x=4945',
		'title': '',
		'imageId': '66681794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681791&x=4945',
		'title': '',
		'imageId': '66681791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681798&x=4945',
		'title': '',
		'imageId': '66681798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681793&x=4945',
		'title': '',
		'imageId': '66681793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681800&x=4945',
		'title': '',
		'imageId': '66681800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681797&x=4945',
		'title': '',
		'imageId': '66681797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900772&docid=66681799&x=4945',
		'title': '',
		'imageId': '66681799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3900772';

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