var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095474&x=2150',
		'title': '',
		'imageId': '68095474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095475&x=2150',
		'title': '',
		'imageId': '68095475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095476&x=2150',
		'title': '',
		'imageId': '68095476',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095477&x=2150',
		'title': '',
		'imageId': '68095477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095478&x=2150',
		'title': '',
		'imageId': '68095478',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095479&x=2150',
		'title': '',
		'imageId': '68095479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095480&x=2150',
		'title': '',
		'imageId': '68095480',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095481&x=2150',
		'title': '',
		'imageId': '68095481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095482&x=2150',
		'title': '',
		'imageId': '68095482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095472&x=2150',
		'title': '',
		'imageId': '68095472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928564&docid=68095473&x=2150',
		'title': '',
		'imageId': '68095473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928564';

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