var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131495&x=3535',
		'title': '',
		'imageId': '68131495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131487&x=3535',
		'title': '',
		'imageId': '68131487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131500&x=3535',
		'title': '',
		'imageId': '68131500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131486&x=3535',
		'title': '',
		'imageId': '68131486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131492&x=3535',
		'title': '',
		'imageId': '68131492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131491&x=3535',
		'title': '',
		'imageId': '68131491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131493&x=3535',
		'title': '',
		'imageId': '68131493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131498&x=3535',
		'title': '',
		'imageId': '68131498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131501&x=3535',
		'title': '',
		'imageId': '68131501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131489&x=3535',
		'title': '',
		'imageId': '68131489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131490&x=3535',
		'title': '',
		'imageId': '68131490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131488&x=3535',
		'title': '',
		'imageId': '68131488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131494&x=3535',
		'title': '',
		'imageId': '68131494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131497&x=3535',
		'title': '',
		'imageId': '68131497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131499&x=3535',
		'title': '',
		'imageId': '68131499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131496&x=3535',
		'title': '',
		'imageId': '68131496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131504&x=3535',
		'title': '',
		'imageId': '68131504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131503&x=3535',
		'title': '',
		'imageId': '68131503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930152&docid=68131502&x=3535',
		'title': '',
		'imageId': '68131502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930152';

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