var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617014&x=1531',
		'title': '',
		'imageId': '68617014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617017&x=1531',
		'title': '',
		'imageId': '68617017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617018&x=1531',
		'title': '',
		'imageId': '68617018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617015&x=1531',
		'title': '',
		'imageId': '68617015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617016&x=1531',
		'title': '',
		'imageId': '68617016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617025&x=1531',
		'title': '',
		'imageId': '68617025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617013&x=1531',
		'title': '',
		'imageId': '68617013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617035&x=1531',
		'title': '',
		'imageId': '68617035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617065&x=1531',
		'title': '',
		'imageId': '68617065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617044&x=1531',
		'title': '',
		'imageId': '68617044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617043&x=1531',
		'title': '',
		'imageId': '68617043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617029&x=1531',
		'title': '',
		'imageId': '68617029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617058&x=1531',
		'title': '',
		'imageId': '68617058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617052&x=1531',
		'title': '',
		'imageId': '68617052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617053&x=1531',
		'title': '',
		'imageId': '68617053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617059&x=1531',
		'title': '',
		'imageId': '68617059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617064&x=1531',
		'title': '',
		'imageId': '68617064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617070&x=1531',
		'title': '',
		'imageId': '68617070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617071&x=1531',
		'title': '',
		'imageId': '68617071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617076&x=1531',
		'title': '',
		'imageId': '68617076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951315&docid=68617077&x=1531',
		'title': '',
		'imageId': '68617077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951315';

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