var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948509&x=836',
		'title': '',
		'imageId': '68948509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948519&x=836',
		'title': '',
		'imageId': '68948519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948510&x=836',
		'title': '',
		'imageId': '68948510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948518&x=836',
		'title': '',
		'imageId': '68948518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948513&x=836',
		'title': '',
		'imageId': '68948513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948514&x=836',
		'title': '',
		'imageId': '68948514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948511&x=836',
		'title': '',
		'imageId': '68948511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948520&x=836',
		'title': '',
		'imageId': '68948520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948517&x=836',
		'title': '',
		'imageId': '68948517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948512&x=836',
		'title': '',
		'imageId': '68948512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948515&x=836',
		'title': '',
		'imageId': '68948515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965987&docid=68948521&x=836',
		'title': '',
		'imageId': '68948521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965987';

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