var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157912&x=5417',
		'title': '',
		'imageId': '68157912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157916&x=5417',
		'title': '',
		'imageId': '68157916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157922&x=5417',
		'title': '',
		'imageId': '68157922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157918&x=5417',
		'title': '',
		'imageId': '68157918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157919&x=5417',
		'title': '',
		'imageId': '68157919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157911&x=5417',
		'title': '',
		'imageId': '68157911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157914&x=5417',
		'title': '',
		'imageId': '68157914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157921&x=5417',
		'title': '',
		'imageId': '68157921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157910&x=5417',
		'title': '',
		'imageId': '68157910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157924&x=5417',
		'title': '',
		'imageId': '68157924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157923&x=5417',
		'title': '',
		'imageId': '68157923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157920&x=5417',
		'title': '',
		'imageId': '68157920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157915&x=5417',
		'title': '',
		'imageId': '68157915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157913&x=5417',
		'title': '',
		'imageId': '68157913',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157907&x=5417',
		'title': '',
		'imageId': '68157907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157908&x=5417',
		'title': '',
		'imageId': '68157908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157909&x=5417',
		'title': '',
		'imageId': '68157909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931611&docid=68157917&x=5417',
		'title': '',
		'imageId': '68157917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931611';

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