var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229891&x=4638',
		'title': '',
		'imageId': '68229891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229892&x=4638',
		'title': '',
		'imageId': '68229892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229890&x=4638',
		'title': '',
		'imageId': '68229890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229893&x=4638',
		'title': '',
		'imageId': '68229893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229894&x=4638',
		'title': '',
		'imageId': '68229894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229895&x=4638',
		'title': '',
		'imageId': '68229895',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229908&x=4638',
		'title': '',
		'imageId': '68229908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229911&x=4638',
		'title': '',
		'imageId': '68229911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229910&x=4638',
		'title': '',
		'imageId': '68229910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229909&x=4638',
		'title': '',
		'imageId': '68229909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933967&docid=68229886&x=4638',
		'title': '',
		'imageId': '68229886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933967';

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