var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091430&x=4511',
		'title': '',
		'imageId': '68091430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091423&x=4511',
		'title': '',
		'imageId': '68091423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091421&x=4511',
		'title': '',
		'imageId': '68091421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091428&x=4511',
		'title': '',
		'imageId': '68091428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091419&x=4511',
		'title': '',
		'imageId': '68091419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091438&x=4511',
		'title': '',
		'imageId': '68091438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091435&x=4511',
		'title': '',
		'imageId': '68091435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091437&x=4511',
		'title': '',
		'imageId': '68091437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091422&x=4511',
		'title': '',
		'imageId': '68091422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091424&x=4511',
		'title': '',
		'imageId': '68091424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091425&x=4511',
		'title': '',
		'imageId': '68091425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091420&x=4511',
		'title': '',
		'imageId': '68091420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091436&x=4511',
		'title': '',
		'imageId': '68091436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091426&x=4511',
		'title': '',
		'imageId': '68091426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091429&x=4511',
		'title': '',
		'imageId': '68091429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091433&x=4511',
		'title': '',
		'imageId': '68091433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091432&x=4511',
		'title': '',
		'imageId': '68091432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091431&x=4511',
		'title': '',
		'imageId': '68091431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091434&x=4511',
		'title': '',
		'imageId': '68091434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928294&docid=68091427&x=4511',
		'title': '',
		'imageId': '68091427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928294';

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