var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833948&x=2047',
		'title': '',
		'imageId': '68833948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833955&x=2047',
		'title': '',
		'imageId': '68833955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833957&x=2047',
		'title': '',
		'imageId': '68833957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833954&x=2047',
		'title': '',
		'imageId': '68833954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833951&x=2047',
		'title': '',
		'imageId': '68833951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833949&x=2047',
		'title': '',
		'imageId': '68833949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833950&x=2047',
		'title': '',
		'imageId': '68833950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833956&x=2047',
		'title': '',
		'imageId': '68833956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833958&x=2047',
		'title': '',
		'imageId': '68833958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960867&docid=68833952&x=2047',
		'title': '',
		'imageId': '68833952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960867';

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