var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515981&x=2033',
		'title': '',
		'imageId': '68515981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515985&x=2033',
		'title': '',
		'imageId': '68515985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515986&x=2033',
		'title': '',
		'imageId': '68515986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515988&x=2033',
		'title': '',
		'imageId': '68515988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515989&x=2033',
		'title': '',
		'imageId': '68515989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515990&x=2033',
		'title': '',
		'imageId': '68515990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515991&x=2033',
		'title': '',
		'imageId': '68515991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515993&x=2033',
		'title': '',
		'imageId': '68515993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515994&x=2033',
		'title': '',
		'imageId': '68515994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515995&x=2033',
		'title': '',
		'imageId': '68515995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515996&x=2033',
		'title': '',
		'imageId': '68515996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515997&x=2033',
		'title': '',
		'imageId': '68515997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515998&x=2033',
		'title': '',
		'imageId': '68515998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515999&x=2033',
		'title': '',
		'imageId': '68515999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68516000&x=2033',
		'title': '',
		'imageId': '68516000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68516001&x=2033',
		'title': '',
		'imageId': '68516001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68516002&x=2033',
		'title': '',
		'imageId': '68516002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68516003&x=2033',
		'title': '',
		'imageId': '68516003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68516004&x=2033',
		'title': '',
		'imageId': '68516004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68516005&x=2033',
		'title': '',
		'imageId': '68516005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68516006&x=2033',
		'title': '',
		'imageId': '68516006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68516007&x=2033',
		'title': '',
		'imageId': '68516007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68515992&x=2033',
		'title': '',
		'imageId': '68515992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947264&docid=68516008&x=2033',
		'title': '',
		'imageId': '68516008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947264';

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