var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146151&x=4532',
		'title': '',
		'imageId': '69146151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146157&x=4532',
		'title': '',
		'imageId': '69146157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146156&x=4532',
		'title': '',
		'imageId': '69146156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146161&x=4532',
		'title': '',
		'imageId': '69146161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146158&x=4532',
		'title': '',
		'imageId': '69146158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146159&x=4532',
		'title': '',
		'imageId': '69146159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146155&x=4532',
		'title': '',
		'imageId': '69146155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146162&x=4532',
		'title': '',
		'imageId': '69146162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146167&x=4532',
		'title': '',
		'imageId': '69146167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146169&x=4532',
		'title': '',
		'imageId': '69146169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146166&x=4532',
		'title': '',
		'imageId': '69146166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146168&x=4532',
		'title': '',
		'imageId': '69146168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146172&x=4532',
		'title': '',
		'imageId': '69146172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146170&x=4532',
		'title': '',
		'imageId': '69146170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146173&x=4532',
		'title': '',
		'imageId': '69146173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146163&x=4532',
		'title': '',
		'imageId': '69146163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146171&x=4532',
		'title': '',
		'imageId': '69146171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146164&x=4532',
		'title': '',
		'imageId': '69146164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146160&x=4532',
		'title': '',
		'imageId': '69146160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975026&docid=69146165&x=4532',
		'title': '',
		'imageId': '69146165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975026';

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