var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864897&x=544',
		'title': '',
		'imageId': '70864897',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864903&x=544',
		'title': '',
		'imageId': '70864903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864902&x=544',
		'title': '',
		'imageId': '70864902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864898&x=544',
		'title': '',
		'imageId': '70864898',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864892&x=544',
		'title': '',
		'imageId': '70864892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864907&x=544',
		'title': '',
		'imageId': '70864907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864893&x=544',
		'title': '',
		'imageId': '70864893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864904&x=544',
		'title': '',
		'imageId': '70864904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864900&x=544',
		'title': '',
		'imageId': '70864900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864899&x=544',
		'title': '',
		'imageId': '70864899',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864896&x=544',
		'title': '',
		'imageId': '70864896',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864911&x=544',
		'title': '',
		'imageId': '70864911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864905&x=544',
		'title': '',
		'imageId': '70864905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864901&x=544',
		'title': '',
		'imageId': '70864901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864894&x=544',
		'title': '',
		'imageId': '70864894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864906&x=544',
		'title': '',
		'imageId': '70864906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864908&x=544',
		'title': '',
		'imageId': '70864908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864909&x=544',
		'title': '',
		'imageId': '70864909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864895&x=544',
		'title': '',
		'imageId': '70864895',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044693&docid=70864910&x=544',
		'title': '',
		'imageId': '70864910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044693';

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