var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67974620&x=26',
		'title': '',
		'imageId': '67974620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67974621&x=26',
		'title': '',
		'imageId': '67974621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67974627&x=26',
		'title': '',
		'imageId': '67974627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67974629&x=26',
		'title': '',
		'imageId': '67974629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67974675&x=26',
		'title': '',
		'imageId': '67974675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67974625&x=26',
		'title': '',
		'imageId': '67974625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67965614&x=26',
		'title': '',
		'imageId': '67965614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67965542&x=26',
		'title': '',
		'imageId': '67965542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67974624&x=26',
		'title': '',
		'imageId': '67974624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67974628&x=26',
		'title': '',
		'imageId': '67974628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922001&docid=67974622&x=26',
		'title': '',
		'imageId': '67974622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922001';

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