var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610558&x=3932',
		'title': '',
		'imageId': '68610558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610560&x=3932',
		'title': '',
		'imageId': '68610560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610547&x=3932',
		'title': '',
		'imageId': '68610547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610555&x=3932',
		'title': '',
		'imageId': '68610555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610552&x=3932',
		'title': '',
		'imageId': '68610552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610556&x=3932',
		'title': '',
		'imageId': '68610556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610553&x=3932',
		'title': '',
		'imageId': '68610553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610562&x=3932',
		'title': '',
		'imageId': '68610562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610561&x=3932',
		'title': '',
		'imageId': '68610561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610548&x=3932',
		'title': '',
		'imageId': '68610548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610550&x=3932',
		'title': '',
		'imageId': '68610550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610549&x=3932',
		'title': '',
		'imageId': '68610549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610546&x=3932',
		'title': '',
		'imageId': '68610546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610559&x=3932',
		'title': '',
		'imageId': '68610559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610551&x=3932',
		'title': '',
		'imageId': '68610551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610564&x=3932',
		'title': '',
		'imageId': '68610564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610565&x=3932',
		'title': '',
		'imageId': '68610565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610557&x=3932',
		'title': '',
		'imageId': '68610557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610563&x=3932',
		'title': '',
		'imageId': '68610563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951042&docid=68610554&x=3932',
		'title': '',
		'imageId': '68610554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951042';

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