var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842815&x=4718',
		'title': '',
		'imageId': '68842815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842818&x=4718',
		'title': '',
		'imageId': '68842818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842813&x=4718',
		'title': '',
		'imageId': '68842813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842814&x=4718',
		'title': '',
		'imageId': '68842814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842820&x=4718',
		'title': '',
		'imageId': '68842820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842817&x=4718',
		'title': '',
		'imageId': '68842817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842816&x=4718',
		'title': '',
		'imageId': '68842816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842811&x=4718',
		'title': '',
		'imageId': '68842811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842819&x=4718',
		'title': '',
		'imageId': '68842819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976690&docid=68842812&x=4718',
		'title': '',
		'imageId': '68842812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976690';

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