var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310587&x=5219',
		'title': '',
		'imageId': '68310587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310594&x=5219',
		'title': '',
		'imageId': '68310594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310599&x=5219',
		'title': '',
		'imageId': '68310599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310605&x=5219',
		'title': '',
		'imageId': '68310605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310606&x=5219',
		'title': '',
		'imageId': '68310606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310609&x=5219',
		'title': '',
		'imageId': '68310609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310612&x=5219',
		'title': '',
		'imageId': '68310612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310617&x=5219',
		'title': '',
		'imageId': '68310617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310620&x=5219',
		'title': '',
		'imageId': '68310620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310628&x=5219',
		'title': '',
		'imageId': '68310628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310632&x=5219',
		'title': '',
		'imageId': '68310632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310593&x=5219',
		'title': '',
		'imageId': '68310593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310590&x=5219',
		'title': '',
		'imageId': '68310590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68310647&x=5219',
		'title': '',
		'imageId': '68310647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68336381&x=5219',
		'title': '',
		'imageId': '68336381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68336449&x=5219',
		'title': '',
		'imageId': '68336449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68336406&x=5219',
		'title': '',
		'imageId': '68336406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68336462&x=5219',
		'title': '',
		'imageId': '68336462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937654&docid=68652862&x=5219',
		'title': '',
		'imageId': '68652862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937654';

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