var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606335&x=1842',
		'title': '',
		'imageId': '68606335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606318&x=1842',
		'title': '',
		'imageId': '68606318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606323&x=1842',
		'title': '',
		'imageId': '68606323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606313&x=1842',
		'title': '',
		'imageId': '68606313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606321&x=1842',
		'title': '',
		'imageId': '68606321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606324&x=1842',
		'title': '',
		'imageId': '68606324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606310&x=1842',
		'title': '',
		'imageId': '68606310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606314&x=1842',
		'title': '',
		'imageId': '68606314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606316&x=1842',
		'title': '',
		'imageId': '68606316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606317&x=1842',
		'title': '',
		'imageId': '68606317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606315&x=1842',
		'title': '',
		'imageId': '68606315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606319&x=1842',
		'title': '',
		'imageId': '68606319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606312&x=1842',
		'title': '',
		'imageId': '68606312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606330&x=1842',
		'title': '',
		'imageId': '68606330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606331&x=1842',
		'title': '',
		'imageId': '68606331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606327&x=1842',
		'title': '',
		'imageId': '68606327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606326&x=1842',
		'title': '',
		'imageId': '68606326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606329&x=1842',
		'title': '',
		'imageId': '68606329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606334&x=1842',
		'title': '',
		'imageId': '68606334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606311&x=1842',
		'title': '',
		'imageId': '68606311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606322&x=1842',
		'title': '',
		'imageId': '68606322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606333&x=1842',
		'title': '',
		'imageId': '68606333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950900&docid=68606325&x=1842',
		'title': '',
		'imageId': '68606325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950900';

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