var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=67267919&x=4833',
		'title': '',
		'imageId': '67267919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=67267914&x=4833',
		'title': '',
		'imageId': '67267914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=67267915&x=4833',
		'title': '',
		'imageId': '67267915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=67267920&x=4833',
		'title': '',
		'imageId': '67267920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=67267917&x=4833',
		'title': '',
		'imageId': '67267917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=67267921&x=4833',
		'title': '',
		'imageId': '67267921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=67267916&x=4833',
		'title': '',
		'imageId': '67267916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=67267918&x=4833',
		'title': '',
		'imageId': '67267918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=68210555&x=4833',
		'title': '',
		'imageId': '68210555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927946&docid=68210554&x=4833',
		'title': '',
		'imageId': '68210554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927946';

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