var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742707&x=453',
		'title': '',
		'imageId': '68742707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742713&x=453',
		'title': '',
		'imageId': '68742713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742709&x=453',
		'title': '',
		'imageId': '68742709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742714&x=453',
		'title': '',
		'imageId': '68742714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742719&x=453',
		'title': '',
		'imageId': '68742719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742710&x=453',
		'title': '',
		'imageId': '68742710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742711&x=453',
		'title': '',
		'imageId': '68742711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742712&x=453',
		'title': '',
		'imageId': '68742712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742722&x=453',
		'title': '',
		'imageId': '68742722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742721&x=453',
		'title': '',
		'imageId': '68742721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742718&x=453',
		'title': '',
		'imageId': '68742718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742720&x=453',
		'title': '',
		'imageId': '68742720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742717&x=453',
		'title': '',
		'imageId': '68742717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742716&x=453',
		'title': '',
		'imageId': '68742716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742715&x=453',
		'title': '',
		'imageId': '68742715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742723&x=453',
		'title': '',
		'imageId': '68742723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956649&docid=68742708&x=453',
		'title': '',
		'imageId': '68742708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956649';

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