var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866898&x=2627',
		'title': '',
		'imageId': '67866898',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866899&x=2627',
		'title': '',
		'imageId': '67866899',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866900&x=2627',
		'title': '',
		'imageId': '67866900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866902&x=2627',
		'title': '',
		'imageId': '67866902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866909&x=2627',
		'title': '',
		'imageId': '67866909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866901&x=2627',
		'title': '',
		'imageId': '67866901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866906&x=2627',
		'title': '',
		'imageId': '67866906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866903&x=2627',
		'title': '',
		'imageId': '67866903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866914&x=2627',
		'title': '',
		'imageId': '67866914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866915&x=2627',
		'title': '',
		'imageId': '67866915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866922&x=2627',
		'title': '',
		'imageId': '67866922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866923&x=2627',
		'title': '',
		'imageId': '67866923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866924&x=2627',
		'title': '',
		'imageId': '67866924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866927&x=2627',
		'title': '',
		'imageId': '67866927',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866932&x=2627',
		'title': '',
		'imageId': '67866932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866933&x=2627',
		'title': '',
		'imageId': '67866933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3892873&docid=67866936&x=2627',
		'title': '',
		'imageId': '67866936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3892873';

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