var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514394&x=147',
		'title': '',
		'imageId': '68514394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514399&x=147',
		'title': '',
		'imageId': '68514399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514397&x=147',
		'title': '',
		'imageId': '68514397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514395&x=147',
		'title': '',
		'imageId': '68514395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514401&x=147',
		'title': '',
		'imageId': '68514401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514402&x=147',
		'title': '',
		'imageId': '68514402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514405&x=147',
		'title': '',
		'imageId': '68514405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514407&x=147',
		'title': '',
		'imageId': '68514407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514406&x=147',
		'title': '',
		'imageId': '68514406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514400&x=147',
		'title': '',
		'imageId': '68514400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947173&docid=68514408&x=147',
		'title': '',
		'imageId': '68514408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947173';

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