var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114290&x=2810',
		'title': '',
		'imageId': '68114290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114291&x=2810',
		'title': '',
		'imageId': '68114291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114292&x=2810',
		'title': '',
		'imageId': '68114292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114293&x=2810',
		'title': '',
		'imageId': '68114293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114294&x=2810',
		'title': '',
		'imageId': '68114294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114295&x=2810',
		'title': '',
		'imageId': '68114295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114296&x=2810',
		'title': '',
		'imageId': '68114296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114297&x=2810',
		'title': '',
		'imageId': '68114297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114298&x=2810',
		'title': '',
		'imageId': '68114298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114299&x=2810',
		'title': '',
		'imageId': '68114299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114300&x=2810',
		'title': '',
		'imageId': '68114300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929269&docid=68114301&x=2810',
		'title': '',
		'imageId': '68114301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929269';

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