var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288900&x=3853',
		'title': '',
		'imageId': '68288900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288904&x=3853',
		'title': '',
		'imageId': '68288904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288903&x=3853',
		'title': '',
		'imageId': '68288903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288902&x=3853',
		'title': '',
		'imageId': '68288902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288905&x=3853',
		'title': '',
		'imageId': '68288905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288907&x=3853',
		'title': '',
		'imageId': '68288907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288895&x=3853',
		'title': '',
		'imageId': '68288895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288901&x=3853',
		'title': '',
		'imageId': '68288901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288894&x=3853',
		'title': '',
		'imageId': '68288894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288899&x=3853',
		'title': '',
		'imageId': '68288899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288898&x=3853',
		'title': '',
		'imageId': '68288898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288896&x=3853',
		'title': '',
		'imageId': '68288896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288897&x=3853',
		'title': '',
		'imageId': '68288897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288893&x=3853',
		'title': '',
		'imageId': '68288893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288906&x=3853',
		'title': '',
		'imageId': '68288906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288908&x=3853',
		'title': '',
		'imageId': '68288908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288910&x=3853',
		'title': '',
		'imageId': '68288910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=68288909&x=3853',
		'title': '',
		'imageId': '68288909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=59270723&x=3853',
		'title': '',
		'imageId': '59270723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930589&docid=59270722&x=3853',
		'title': '',
		'imageId': '59270722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930589';

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