var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203448&x=3848',
		'title': '',
		'imageId': '70203448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203554&x=3848',
		'title': '',
		'imageId': '70203554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203538&x=3848',
		'title': '',
		'imageId': '70203538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203539&x=3848',
		'title': '',
		'imageId': '70203539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203540&x=3848',
		'title': '',
		'imageId': '70203540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203541&x=3848',
		'title': '',
		'imageId': '70203541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203545&x=3848',
		'title': '',
		'imageId': '70203545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203546&x=3848',
		'title': '',
		'imageId': '70203546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203547&x=3848',
		'title': '',
		'imageId': '70203547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018948&docid=70203552&x=3848',
		'title': '',
		'imageId': '70203552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018948';

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