var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565526&x=1419',
		'title': '',
		'imageId': '69565526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565539&x=1419',
		'title': '',
		'imageId': '69565539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565536&x=1419',
		'title': '',
		'imageId': '69565536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565528&x=1419',
		'title': '',
		'imageId': '69565528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565534&x=1419',
		'title': '',
		'imageId': '69565534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565541&x=1419',
		'title': '',
		'imageId': '69565541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565530&x=1419',
		'title': '',
		'imageId': '69565530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565527&x=1419',
		'title': '',
		'imageId': '69565527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565535&x=1419',
		'title': '',
		'imageId': '69565535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565533&x=1419',
		'title': '',
		'imageId': '69565533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565529&x=1419',
		'title': '',
		'imageId': '69565529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565531&x=1419',
		'title': '',
		'imageId': '69565531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565538&x=1419',
		'title': '',
		'imageId': '69565538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565537&x=1419',
		'title': '',
		'imageId': '69565537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565540&x=1419',
		'title': '',
		'imageId': '69565540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993318&docid=69565532&x=1419',
		'title': '',
		'imageId': '69565532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993318';

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