var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072766&x=243',
		'title': '',
		'imageId': '70072766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072764&x=243',
		'title': '',
		'imageId': '70072764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072768&x=243',
		'title': '',
		'imageId': '70072768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072765&x=243',
		'title': '',
		'imageId': '70072765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072776&x=243',
		'title': '',
		'imageId': '70072776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072782&x=243',
		'title': '',
		'imageId': '70072782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072783&x=243',
		'title': '',
		'imageId': '70072783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072785&x=243',
		'title': '',
		'imageId': '70072785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072784&x=243',
		'title': '',
		'imageId': '70072784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014880&docid=70072763&x=243',
		'title': '',
		'imageId': '70072763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014880';

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