var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273926&x=3446',
		'title': '',
		'imageId': '7273926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273925&x=3446',
		'title': '',
		'imageId': '7273925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273927&x=3446',
		'title': '',
		'imageId': '7273927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273930&x=3446',
		'title': '',
		'imageId': '7273930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273936&x=3446',
		'title': '',
		'imageId': '7273936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273935&x=3446',
		'title': '',
		'imageId': '7273935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273939&x=3446',
		'title': '',
		'imageId': '7273939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273942&x=3446',
		'title': '',
		'imageId': '7273942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273948&x=3446',
		'title': '',
		'imageId': '7273948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273945&x=3446',
		'title': '',
		'imageId': '7273945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913690&docid=7273951&x=3446',
		'title': '',
		'imageId': '7273951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #913690';

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