var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077053&x=2329',
		'title': '',
		'imageId': '68077053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077051&x=2329',
		'title': '',
		'imageId': '68077051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077049&x=2329',
		'title': '',
		'imageId': '68077049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077057&x=2329',
		'title': '',
		'imageId': '68077057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077054&x=2329',
		'title': '',
		'imageId': '68077054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077056&x=2329',
		'title': '',
		'imageId': '68077056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077055&x=2329',
		'title': '',
		'imageId': '68077055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077052&x=2329',
		'title': '',
		'imageId': '68077052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077050&x=2329',
		'title': '',
		'imageId': '68077050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927412&docid=68077155&x=2329',
		'title': '',
		'imageId': '68077155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927412';

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