var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797849&x=1356',
		'title': '',
		'imageId': '70797849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797851&x=1356',
		'title': '',
		'imageId': '70797851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797852&x=1356',
		'title': '',
		'imageId': '70797852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797853&x=1356',
		'title': '',
		'imageId': '70797853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797854&x=1356',
		'title': '',
		'imageId': '70797854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797855&x=1356',
		'title': '',
		'imageId': '70797855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797857&x=1356',
		'title': '',
		'imageId': '70797857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797864&x=1356',
		'title': '',
		'imageId': '70797864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797865&x=1356',
		'title': '',
		'imageId': '70797865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797866&x=1356',
		'title': '',
		'imageId': '70797866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797867&x=1356',
		'title': '',
		'imageId': '70797867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797868&x=1356',
		'title': '',
		'imageId': '70797868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797869&x=1356',
		'title': '',
		'imageId': '70797869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797858&x=1356',
		'title': '',
		'imageId': '70797858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797859&x=1356',
		'title': '',
		'imageId': '70797859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797860&x=1356',
		'title': '',
		'imageId': '70797860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797861&x=1356',
		'title': '',
		'imageId': '70797861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797862&x=1356',
		'title': '',
		'imageId': '70797862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797863&x=1356',
		'title': '',
		'imageId': '70797863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042585&docid=70797870&x=1356',
		'title': '',
		'imageId': '70797870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4042585';

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