var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144791&x=5733',
		'title': '',
		'imageId': '71144791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144801&x=5733',
		'title': '',
		'imageId': '71144801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144826&x=5733',
		'title': '',
		'imageId': '71144826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144830&x=5733',
		'title': '',
		'imageId': '71144830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144832&x=5733',
		'title': '',
		'imageId': '71144832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144835&x=5733',
		'title': '',
		'imageId': '71144835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144840&x=5733',
		'title': '',
		'imageId': '71144840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144869&x=5733',
		'title': '',
		'imageId': '71144869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144887&x=5733',
		'title': '',
		'imageId': '71144887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144882&x=5733',
		'title': '',
		'imageId': '71144882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055749&docid=71144789&x=5733',
		'title': '',
		'imageId': '71144789',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055749';

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