var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192199&x=586',
		'title': '',
		'imageId': '71192199',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192200&x=586',
		'title': '',
		'imageId': '71192200',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192201&x=586',
		'title': '',
		'imageId': '71192201',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192202&x=586',
		'title': '',
		'imageId': '71192202',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192203&x=586',
		'title': '',
		'imageId': '71192203',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192204&x=586',
		'title': '',
		'imageId': '71192204',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192205&x=586',
		'title': '',
		'imageId': '71192205',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192433&x=586',
		'title': '',
		'imageId': '71192433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192436&x=586',
		'title': '',
		'imageId': '71192436',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192439&x=586',
		'title': '',
		'imageId': '71192439',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192442&x=586',
		'title': '',
		'imageId': '71192442',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192445&x=586',
		'title': '',
		'imageId': '71192445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192448&x=586',
		'title': '',
		'imageId': '71192448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192451&x=586',
		'title': '',
		'imageId': '71192451',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192454&x=586',
		'title': '',
		'imageId': '71192454',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192462&x=586',
		'title': '',
		'imageId': '71192462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071148&docid=71192467&x=586',
		'title': '',
		'imageId': '71192467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071148';

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