var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737607&x=4045',
		'title': '',
		'imageId': '68737607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737608&x=4045',
		'title': '',
		'imageId': '68737608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737609&x=4045',
		'title': '',
		'imageId': '68737609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737612&x=4045',
		'title': '',
		'imageId': '68737612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737613&x=4045',
		'title': '',
		'imageId': '68737613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737614&x=4045',
		'title': '',
		'imageId': '68737614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737615&x=4045',
		'title': '',
		'imageId': '68737615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737616&x=4045',
		'title': '',
		'imageId': '68737616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737610&x=4045',
		'title': '',
		'imageId': '68737610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956480&docid=68737611&x=4045',
		'title': '',
		'imageId': '68737611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956480';

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