var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653518&x=1530',
		'title': '',
		'imageId': '67653518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653519&x=1530',
		'title': '',
		'imageId': '67653519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653520&x=1530',
		'title': '',
		'imageId': '67653520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653522&x=1530',
		'title': '',
		'imageId': '67653522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653521&x=1530',
		'title': '',
		'imageId': '67653521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653524&x=1530',
		'title': '',
		'imageId': '67653524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653526&x=1530',
		'title': '',
		'imageId': '67653526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653527&x=1530',
		'title': '',
		'imageId': '67653527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653528&x=1530',
		'title': '',
		'imageId': '67653528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653531&x=1530',
		'title': '',
		'imageId': '67653531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653529&x=1530',
		'title': '',
		'imageId': '67653529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653532&x=1530',
		'title': '',
		'imageId': '67653532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653530&x=1530',
		'title': '',
		'imageId': '67653530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653535&x=1530',
		'title': '',
		'imageId': '67653535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653533&x=1530',
		'title': '',
		'imageId': '67653533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653523&x=1530',
		'title': '',
		'imageId': '67653523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910643&docid=67653534&x=1530',
		'title': '',
		'imageId': '67653534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910643';

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