var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694758&x=519',
		'title': '',
		'imageId': '71694758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694711&x=519',
		'title': '',
		'imageId': '71694711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694768&x=519',
		'title': '',
		'imageId': '71694768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694770&x=519',
		'title': '',
		'imageId': '71694770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694772&x=519',
		'title': '',
		'imageId': '71694772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694781&x=519',
		'title': '',
		'imageId': '71694781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694810&x=519',
		'title': '',
		'imageId': '71694810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694785&x=519',
		'title': '',
		'imageId': '71694785',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694817&x=519',
		'title': '',
		'imageId': '71694817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694834&x=519',
		'title': '',
		'imageId': '71694834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694840&x=519',
		'title': '',
		'imageId': '71694840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694890&x=519',
		'title': '',
		'imageId': '71694890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694864&x=519',
		'title': '',
		'imageId': '71694864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694891&x=519',
		'title': '',
		'imageId': '71694891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694852&x=519',
		'title': '',
		'imageId': '71694852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694892&x=519',
		'title': '',
		'imageId': '71694892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694900&x=519',
		'title': '',
		'imageId': '71694900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694902&x=519',
		'title': '',
		'imageId': '71694902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694710&x=519',
		'title': '',
		'imageId': '71694710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089245&docid=71694764&x=519',
		'title': '',
		'imageId': '71694764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089245';

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