var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509890&x=4255',
		'title': '',
		'imageId': '70509890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509891&x=4255',
		'title': '',
		'imageId': '70509891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509889&x=4255',
		'title': '',
		'imageId': '70509889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509892&x=4255',
		'title': '',
		'imageId': '70509892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509893&x=4255',
		'title': '',
		'imageId': '70509893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509894&x=4255',
		'title': '',
		'imageId': '70509894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509899&x=4255',
		'title': '',
		'imageId': '70509899',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509901&x=4255',
		'title': '',
		'imageId': '70509901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509903&x=4255',
		'title': '',
		'imageId': '70509903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509909&x=4255',
		'title': '',
		'imageId': '70509909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509921&x=4255',
		'title': '',
		'imageId': '70509921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509911&x=4255',
		'title': '',
		'imageId': '70509911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509912&x=4255',
		'title': '',
		'imageId': '70509912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509915&x=4255',
		'title': '',
		'imageId': '70509915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509918&x=4255',
		'title': '',
		'imageId': '70509918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509929&x=4255',
		'title': '',
		'imageId': '70509929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509932&x=4255',
		'title': '',
		'imageId': '70509932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032246&docid=70509924&x=4255',
		'title': '',
		'imageId': '70509924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4032246';

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