var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904929&docid=67523944&x=36',
		'title': '',
		'imageId': '67523944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904929&docid=67523939&x=36',
		'title': '',
		'imageId': '67523939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904929&docid=67523943&x=36',
		'title': '',
		'imageId': '67523943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904929&docid=67523942&x=36',
		'title': '',
		'imageId': '67523942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904929&docid=67523945&x=36',
		'title': '',
		'imageId': '67523945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904929&docid=67523941&x=36',
		'title': '',
		'imageId': '67523941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904929&docid=67523940&x=36',
		'title': '',
		'imageId': '67523940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904929';

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