var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68612374&x=4757',
		'title': '',
		'imageId': '68612374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68612377&x=4757',
		'title': '',
		'imageId': '68612377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68612480&x=4757',
		'title': '',
		'imageId': '68612480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68612380&x=4757',
		'title': '',
		'imageId': '68612380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68612383&x=4757',
		'title': '',
		'imageId': '68612383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68697145&x=4757',
		'title': '',
		'imageId': '68697145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68697148&x=4757',
		'title': '',
		'imageId': '68697148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68612494&x=4757',
		'title': '',
		'imageId': '68612494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68612399&x=4757',
		'title': '',
		'imageId': '68612399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68612402&x=4757',
		'title': '',
		'imageId': '68612402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951174&docid=68697173&x=4757',
		'title': '',
		'imageId': '68697173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951174';

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