var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274428&x=124',
		'title': '',
		'imageId': '69274428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274430&x=124',
		'title': '',
		'imageId': '69274430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274437&x=124',
		'title': '',
		'imageId': '69274437',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274438&x=124',
		'title': '',
		'imageId': '69274438',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274431&x=124',
		'title': '',
		'imageId': '69274431',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274425&x=124',
		'title': '',
		'imageId': '69274425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274427&x=124',
		'title': '',
		'imageId': '69274427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274429&x=124',
		'title': '',
		'imageId': '69274429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274434&x=124',
		'title': '',
		'imageId': '69274434',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274432&x=124',
		'title': '',
		'imageId': '69274432',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274433&x=124',
		'title': '',
		'imageId': '69274433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274435&x=124',
		'title': '',
		'imageId': '69274435',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274440&x=124',
		'title': '',
		'imageId': '69274440',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274441&x=124',
		'title': '',
		'imageId': '69274441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274442&x=124',
		'title': '',
		'imageId': '69274442',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69274443&x=124',
		'title': '',
		'imageId': '69274443',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69391584&x=124',
		'title': '',
		'imageId': '69391584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69391586&x=124',
		'title': '',
		'imageId': '69391586',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69391585&x=124',
		'title': '',
		'imageId': '69391585',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980460&docid=69471503&x=124',
		'title': '',
		'imageId': '69471503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980460';

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