var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064040&x=3127',
		'title': '',
		'imageId': '69064040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064028&x=3127',
		'title': '',
		'imageId': '69064028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064029&x=3127',
		'title': '',
		'imageId': '69064029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064030&x=3127',
		'title': '',
		'imageId': '69064030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064031&x=3127',
		'title': '',
		'imageId': '69064031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064033&x=3127',
		'title': '',
		'imageId': '69064033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064039&x=3127',
		'title': '',
		'imageId': '69064039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064035&x=3127',
		'title': '',
		'imageId': '69064035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064034&x=3127',
		'title': '',
		'imageId': '69064034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064037&x=3127',
		'title': '',
		'imageId': '69064037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064036&x=3127',
		'title': '',
		'imageId': '69064036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971965&docid=69064038&x=3127',
		'title': '',
		'imageId': '69064038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971965';

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