var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780258&x=2834',
		'title': '',
		'imageId': '70780258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780261&x=2834',
		'title': '',
		'imageId': '70780261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780274&x=2834',
		'title': '',
		'imageId': '70780274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780279&x=2834',
		'title': '',
		'imageId': '70780279',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780328&x=2834',
		'title': '',
		'imageId': '70780328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780338&x=2834',
		'title': '',
		'imageId': '70780338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780356&x=2834',
		'title': '',
		'imageId': '70780356',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780395&x=2834',
		'title': '',
		'imageId': '70780395',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780365&x=2834',
		'title': '',
		'imageId': '70780365',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780297&x=2834',
		'title': '',
		'imageId': '70780297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780319&x=2834',
		'title': '',
		'imageId': '70780319',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780313&x=2834',
		'title': '',
		'imageId': '70780313',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780479&x=2834',
		'title': '',
		'imageId': '70780479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780399&x=2834',
		'title': '',
		'imageId': '70780399',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780380&x=2834',
		'title': '',
		'imageId': '70780380',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780482&x=2834',
		'title': '',
		'imageId': '70780482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780433&x=2834',
		'title': '',
		'imageId': '70780433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70780449&x=2834',
		'title': '',
		'imageId': '70780449',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041840&docid=70812289&x=2834',
		'title': '',
		'imageId': '70812289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4041840';

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